Handoff skill for Claude
Compact the current conversation into a handoff document for another agent to pick up, referencing existing artifacts (PRDs, plans, ADRs, issues, commits, diffs) by path or URL instead of duplicating them.
When Claude uses it
Use whenever the user wants to hand off to a fresh agent, is ending a session mid-task, asks for a handoff doc or a summary of state, decisions and next steps for the next session, or starts a new session that picks up prior work.
Handoff SKILL.md
The full skill file from alirezarezvani/claude-skills (MIT).
Handoff
Derived from Matt Pocock's handoff (MIT). Matt's no-duplication discipline preserved verbatim. Additions: tools + references + cs-* wrapper (see references/companion_tooling.md).
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it to a path produced by mktemp -t handoff-XXXXXX.md (read the file before you write to it).
Suggest the skills to be used, if any, by the next session.
Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Sections
- Goal of next session (from user argument or inferred)
- State of play (what's done, what's blocking)
- Open decisions (what the next agent must decide)
- Skills to use (concrete list)
- Artifacts (paths/URLs to PRDs, plans, ADRs, issues, branches, PRs — do not duplicate)
Tooling
See references/companion_tooling.md. Tools: template + dedup + recommender. Agent: cs-handoff-author. Command: /cs-handoff.
Version: 1.0.0 Derived: Matt Pocock (MIT) + this repo's wrapper
More in this skill
Load these only when the task needs them.
-
references/deduplication_discipline.md — Deduplication Discipline for Handoffs
-
references/handoff_structure.md — Handoff Document Structure
-
references/next_session_skill_matching.md — Skill Matching for the Next Session
-
python3 scripts/artifact_deduplicator.py --help— Detect content in a handoff draft that should be referenced not duplicated -
python3 scripts/handoff_template_generator.py --help— Generate a handoff document scaffold tailored to next-session focus -
python3 scripts/skill_recommender.py --help— Recommend which skills the next session should use
How to install Handoff
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit alirezarezvani/claude-skills/engineering/handoff/skills/handoff#main ~/.claude/skills/handoffCodex
npx degit alirezarezvani/claude-skills/engineering/handoff/skills/handoff#main ~/.codex/skills/handoffClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the Handoff skill do?
Compact the current conversation into a handoff document for another agent to pick up, referencing existing artifacts (PRDs, plans, ADRs, issues, commits, diffs) by path or URL instead of duplicating them. Use whenever the user wants to hand off to a fresh agent, is ending a session mid-task, asks for a handoff doc or a summary of state, decisions and next steps for the next session, or starts a new session that picks up prior work.
+How do I install Handoff in Claude Code?
Copy the skill folder into ~/.claude/skills/handoff, for example with "npx degit alirezarezvani/claude-skills/engineering/handoff/skills/handoff#main ~/.claude/skills/handoff". Claude Code loads it automatically and uses it when a task matches.
+Does Handoff work with ChatGPT or Codex?
Yes. Handoff uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/handoff. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Handoff free?
Handoff is published on GitHub by alirezarezvani under the MIT license, which allows free use.