/agents:handofffrom agents
Creates or resumes session handoff documents for seamless context transfer between AI coding sessions. Use when the user asks to hand off, save state, pause, wrap up, resume, load a handoff, or continue previous work. Also suggest it after extensive edits or major architectural decisions.
Ships in agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create or resume session handoff documents so a fresh coding-agent session can continue work with zero ambiguity. Store new handoffs in .agents/handoffs/ at the project root.
.agents/handoffs/YYYY-MM-DD-HHMMSS-<slug>.md. Create the directory if it does not exist.Determine the mode based on the user's request or argument:
git branch --show-current to capture the active branchgit log --oneline -20 to capture recent commit historygit status --short to capture working tree state (staged, unstaged, untracked)git diff --stat to summarize uncommitted changesauth-refactor, fix-payment-bug). Ask the user if the task focus is unclear.# Session Handoff
## Metadata
- **Created**: YYYY-MM-DD HH:MM (local time)
- **Project**: <project path>
- **Branch**: <current branch>
- **Continues from**: <path to previous handoff, if chaining — otherwise remove this line>
## Current State
<One paragraph summarizing where things stand right now. Be specific — what works, what doesn't, what's half-done.>
## Work Completed
- [ ] <task 1 — checked if done, unchecked if partial>
- [ ] <task 2>
### Files Modified
| File | Change |
| ----------------- | --------------------- |
| `path/to/file.ts` | Added auth middleware |
| `path/to/test.ts` | Tests for auth flow |
### Decisions Made
| Decision | Rationale |
| ---------------------- | ----------------------------- |
| Used JWT over sessions | Stateless scaling requirement |
## Pending Work
### Immediate Next Steps
1. <Most important thing to do next — be specific with file paths>
2. <Second priority>
3. <Third priority>
### Blockers / Open Questions
- [ ] <Any unresolved question or dependency>
### Deferred Items
- <Things explicitly punted to later>
## Context for Resuming Agent
### Important Context
<The most critical section. Include anything a fresh session MUST know that is not obvious from the code: architectural constraints, gotchas, non-obvious coupling, user preferences expressed during the session.>
### Assumptions
- <Assumptions made during this session that should be verified>
### Potential Gotchas
- <Things that could trip up a fresh session>
## Environment State
- **Required tools/services**: <anything that must be running>
- **Env vars needed**: <variable names only, never values>
## Related Resources
- <Links to issues, PRs, docs, or external references discussed>
.agents/handoffs/ if it does not exist..agents/handoffs/YYYY-MM-DD-HHMMSS-<slug>.md..agents/handoffs/*.md sorted by most recent. If that directory has no handoffs, also check the legacy .claude/handoffs/*.md location.git log --oneline --since="<handoff date>" to see how many commits have landed sincegit branch --show-current and compare to the branch in the handoffWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub gjtorikian/agent-plugins --plugin agents