一键导入
handoff
Generate a handoff prompt to pass context to another agent thread. Use when switching repos, handing off work, or sharing context between agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a handoff prompt to pass context to another agent thread. Use when switching repos, handing off work, or sharing context between agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | handoff |
| description | Generate a handoff prompt to pass context to another agent thread. Use when switching repos, handing off work, or sharing context between agents. |
| tags | ["personal"] |
Generate a structured prompt capturing the current conversation context so it can be pasted into another agent thread or saved for session continuity.
$ARGUMENTS - Optional: specific instructions about what to emphasize or who the target isgit rev-parse --show-toplevel 2>/dev/null | xargs basename 2>/dev/null | head -1git branch --show-current 2>/dev/null || echo '(not in a git repo)'git log origin/HEAD..HEAD --oneline 2>/dev/null | head -15git status --short 2>/dev/null | head -20git diff --name-only origin/HEAD..HEAD 2>/dev/null | head -30Review the full conversation history and synthesize a handoff prompt.
Use this format, omitting empty sections:
## Handoff: [brief title]
### Background
[1-3 sentences on what was being worked on and why]
### What Was Done
- [Completed work with specific file paths]
### Current State
[Branch state, what is working, what is not]
### Key Decisions
- [Decision]: [Rationale]
### Remaining Work
- [ ] [Specific actionable items]
### Important Context
- [Gotchas, constraints, or patterns the next agent needs]
- [Specific file paths, function names, code patterns]
### Files to Read First
- [Ordered list of files to get up to speed]
Keep it concise but complete enough that the receiving agent can continue without re-discovering context.
Print the handoff inside a fenced code block so the user can review it. Then automatically copy it to the clipboard using pbcopy:
cat <<'HANDOFF_EOF' | pbcopy
[the full handoff document content]
HANDOFF_EOF
This ensures the handoff is immediately ready to paste into a new session without manual selection.
If a persistent memory system is available in this session, save a one- or two-sentence summary of the handoff (branch, repo, remaining items, key files) so the context survives beyond the clipboard. Skip this step if no memory system is present — the clipboard copy from Step 2 is the primary deliverable.
Use when the user wants to do a QA session or report multiple bugs — interactive session where bugs are reported conversationally and agents fix them in parallel
Use when executing implementation plans with independent tasks — orchestration pattern for worktree isolation, TDD discipline, and two-stage review. Referenced by execute-plan, fixit, and bugbash.
Use when the user reports a bug or issue that can be fixed without blocking their current work — backgrounds an agent in a worktree to fix and merge back without breaking stride
Use after implementing changes in an OpenSpec project to review implementation against the active change's deltas — auto-fixes confident issues, parks questions for the user
Install the anutron (claude-skills) kit into the current project — symlinks or copies skills, registers hooks, compiles CLAUDE.md from snippets.
Uninstall the anutron (claude-skills) kit from the current project — reverses everything /anutron-install did.