用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/genomewalker/chitta --skill resume命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | resume |
| description | Resume a thread by loading its ~800-token context capsule |
Use the shared chitta-mcp/resume_selector.py; do not read the global newest
transcript and do not use .current_thread_id. Claude and Codex may be live in
the same project on different threads, but only one live session may own a
given thread.
Resolve this plugin's chitta-mcp directory as described by the recap skill.
Determine the invoking client from its CODEX_* or CLAUDE_* session
environment. Run:
python3 "$_MCP_DIR/resume_selector.py" --project-dir "$PWD" --client "$CLIENT"
For /resume <thread id prefix or title>, add --thread <argument>. Always
show the returned live Claude/Codex sessions so the user can see parallel work
and ownership.
locked, report the owner session/client/model/thread and stop.registry_unavailable, stop and retry after Chitta responds; do not infer
that no session is live.ambiguous, show the candidates and ask which thread/session to use.none, say no resumable project-exact thread was found and offer /tasks.selected, rerun the identical command with --claim.Continue only if the atomic claim returns claimed: true. Never pass --force
unless the user explicitly requests takeover of a known live owner.
Use the claimed selected.thread_id:
python3 "$_MCP_DIR/resume_capsule.py" build --thread-id <thread_id>
Display the capsule's summary verbatim. It includes active tasks, job IDs,
branches, environments, blockers, completed work, failures, artifacts, and
next actions. Then orient to its realm, branch, environment, and active files.
If capsule construction fails, fall back to the selected exact transcript via the recap procedure. Do not fall back to another session by recency.
The successful lease and session-to-thread binding are the durable current context. No global marker file is required. Prompt and Stop heartbeats from either frontend keep the lease alive; SessionEnd releases it.