一键导入
cooldown-resume
Resume an interrupted AI coding session after token exhaustion, rate limiting, or process restart. Use when a session was interrupted mid-task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resume an interrupted AI coding session after token exhaustion, rate limiting, or process restart. Use when a session was interrupted mid-task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Onboard a new client/company onto this platform's real Agentic OS: create the company record, scan its websites/repos, auto-provision specialist agents, activate its 24x7 agency runtime, and know exactly which "OS" building blocks (memory, integrations, dashboard) already exist versus which are roadmap gaps. ADAPTED FROM: a third-party giveaway skill ("agentic-os-installer" by Gennaro Santoro / Operations Heroes) that described a generic vault + Google-suite + skill-pack installer. That skill's product (Obsidian vault, Gmail/Calendar/ Drive wiring, "skill packs") does not exist in this repo and its promotional content (Skool community link) does not belong here. This is a clean-room rewrite that keeps the useful idea — "stand up a working agency OS for a client from a short checklist" — and maps every step to the real module that already implements it in this codebase, per CLAUDE.md architecture rules.
Agile sprint planning, velocity tracking, and burndown metrics for agent-managed projects
Initiative-level portfolio management with dependency tracking and milestone coordination
AI-assisted engineering impact analysis — productivity metrics and code quality insights
Cross-harness agent patterns — standardize agent execution across different coding assistants
Temporal context graph for agent memory — track entity relationships and state changes over time
| name | cooldown-resume |
| description | Resume an interrupted AI coding session after token exhaustion, rate limiting, or process restart. Use when a session was interrupted mid-task. |
| triggers | ["session was interrupted","token limit hit","rate limit / quota exhaustion","resume from where we left off","process restart during an AI coding session","what was I doing?"] |
| references | [".claude/state/agent-state.json",".claude/state/NEXT_ACTION.md",".claude/state/checkpoint.jsonl","docs/runbooks/auto-resume.md","scripts/ai_runner.py"] |
Use this skill immediately after:
# Human-readable next action
cat .claude/state/NEXT_ACTION.md
# Machine-readable full state
cat .claude/state/agent-state.json
# Ordered log of completed steps
cat .claude/state/checkpoint.jsonl
Or use the AI runner:
python scripts/ai_runner.py status
From agent-state.json, determine:
completed_steps — what is already done (do NOT redo these)next_step — what to do nextchanged_files — what files were modified (check their current state)pending_risks — any known issues or blockersFor each file in changed_files, read the current content to confirm
the change was fully applied (not half-written due to interruption).
If a file appears partially written:
pytest -x
If tests fail after resuming:
next_stepExecute only the steps that are NOT in completed_steps.
After each sub-step completes, append to .claude/state/checkpoint.jsonl:
{"ts":"<ISO8601>","step":"<step-id>","status":"done","detail":"<what was done>"}
And update .claude/state/agent-state.json:
completed_stepsnext_step to the following steplast_updatedFor long tasks, start with the AI runner watchdog to get automatic resume:
python scripts/ai_runner.py start --session my-task "instruction here"
The watchdog monitors for interruptions and resumes automatically.
See docs/runbooks/auto-resume.md for full documentation.
completed_steps.git diff to confirm a change was actually needed before applying.agent-state.json was read and current state understoodcheckpoint.jsonl reviewed to confirm which steps are truly doneagent-state.json updated with resumed progressNEXT_ACTION.md updated to reflect current next step