remvisual/claude-handoff/handoffplan
Claude Code and agent skill by remvisual/claude-handoff
- community
Checking that the SKILL.md file is still in the repository.
Run /handoff to capture session data, then write a phased implementation plan that references it. Creates beads for tracking.
Install
npx vskill@latest install remvisual/claude-handoff/handoffplanSKILL.md
Handoff Plan
IMPORTANT: This skill writes files. You MUST NOT be in Claude Code's built-in plan mode. If you are currently in plan mode, exit plan mode first (use ExitPlanMode) before proceeding. This skill produces plan files — it does not use Claude Code's plan mode feature. They are different things.
Step 1: Run `/handoff` to create the data file — FULL TWO-PHASE PROCESS.
Execute the full /handoff skill first, including the mandatory two-phase write process:
- Phase 1: Write the handoff file (all sections, narrative + evidence)
- Phase 2 (MANDATORY for Deep and Chunked passes): Read it back, scan conversation for uncaptured data, use Edit to expand toward the ceiling (800 lines for 1M context)
This is not optional. The handoff is the data store — a thin handoff produces a thin plan. Follow the handoff skill's mining-pass detection, line count checks, and gap research pass exactly as specified.
Do NOT skip or abbreviate the handoff. Do NOT skip Phase 2. If the handoff is under 500 lines on a Chunked pass, you haven't mined deep enough — go back and expand before writing the plan.
Do NOT ask to close the session after the handoff. Skip Step 8 of the handoff skill — the close prompt happens after the plan is written, not after the handoff.
Do NOT enter Claude Code plan mode at any point. This skill writes files and commits. Plan mode is not used.
This skill creates a plan for the NEXT session to execute. The handoff captures data. The plan defines work. Beads track phases. Then you commit, close, and give the user a paste prompt that tells the next session to start executing Phase 1 immediately — no onboarding, no exploration, just code. The next session gets full clean context because it's a fresh session.
Arguments: $ARGUMENTS
Compact mode. If $ARGUMENTS contains the word compact-mode, the compact-handoff mod started this run and will replace the conversation with the plan when your turn ends. Follow the handoff skill's compact-mode rules: ask nothing in this turn, and take stated defaults. If $ARGUMENTS has context={N}k, the handoff chooses its mining pass from that number. Run Steps 1-6 as normal, but keep Step 5's report to one line (the compaction replaces it seconds later) and skip Step 6 item 3. Print Step 6's paste prompt block exactly as the template has it (header, dashed rules, every line): the mod sends it as the next prompt word for word. End your turn with this exact last line, paths relative to the repo root: COMPACT-HANDOFF-READY: {handoff path} | {plan path} If either file could not be written, end with COMPACT-HANDOFF-FAILED: {reason} instead.
CHECKPOINT before Step 2: Count the handoff's lines and print the handoff skill's Length check line. Check its mining-pass minimum (Quick: 150/250, Deep: 300, Chunked: 500 — see handoff skill's Line Budget table). If the handoff is under its pass minimum, STOP. Run the handoff's Phase 2 gap research pass now — read back what you wrote, scan the conversation for uncaptured data, and Edit to expand. Do not proceed to the plan with a thin handoff. The plan's quality is bounded by the handoff's quality.
Step 2: Write the plan file.
Once the handoff file exists, write the plan. The plan lives in the same directory as the handoff, with the same slug:
- Handoff:
HANDOFF_{chain_tag}_{slug}_{date}.md(already written — orHANDOFF_{slug}_{date}.mdif no beads) - Plan:
PLAN_{chain_tag}_{slug}_{date}.md(write this now — mirror the handoff's naming)
What makes a good plan
If arguments were provided (check $ARGUMENTS above): use them as a soft hint for framing the Problem Statement and phasing. They may suggest the epic scope, priority order, or what the user considers the first phase. Let them shape emphasis, but the handoff data is still the authority on what was actually tried and discovered.
The plan is an action document. It answers "what do we do next and how?" It should be:
- Grounded in the handoff data. Every phase should trace back to evidence. Don't propose approaches that contradict what "What We Tried" showed didn't work.
- Specific enough to execute without the conversation. Someone reading just the plan + handoff should be able to start coding. No vague "investigate X" — say what to investigate, where, and what outcome you expect.
- Honest about what we don't know. If a phase has uncertainty, say so and include how to handle both outcomes.
- Referencing, not duplicating. Data lives in the handoff. The plan points to it: "See Evidence section in {handoff_file}". Don't copy tables or measurement lists into the plan.
Line budget: 120-250 lines
Scale with the number of phases and complexity. A 2-phase plan is shorter than a 5-phase plan.
Plan Structure
Restore full context
cat {handoff_file_path}
Prior context (if OV available)
/memory-recall {topic keywords}
Key source files for Phase 1
{3-5 files to read before starting}
Baseline data to reference
{path to test results / measurement files}
Verify starting state
{test command to confirm things work before changing anything}
First concrete action
{THE specific code change or command to begin Phase 1}
Step 3: Create beads for phases (if available).
If tasks are already in_progress, update their notes:
Step 4: Persist to memory (if available).
Step 5: Report.
Tell the user concisely:
- Both files written and their paths
- Line counts for each
- The "First Action" from Quick Start
- Beads created for each phase (if available)
Step 6: Commit and close.
This skill always closes the session. The next session executes the plan with full clean context.
- Commit all session work:
``bash git status -s git diff --stat ` Stage all changed/new files relevant to this session's work, then commit: `` session: {slug} [{chain_tag}]
{One-line summary of what this session accomplished}
Handoff: {handoff_filename} Plan: {plan_filename} Bead(s): {bead_ids or "none"}
Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com> `` Be surgical — only commit files related to this session's work. If git status` shows unrelated changes from other sessions, mention them but don't commit them.
- Output the ready-to-paste prompt:
```
PASTE THIS INTO YOUR NEXT SESSION:
Read {plan_file_path} and {handoff_file_path} (seq {N}, {chain_tag}). Execute the plan starting at Phase 1. Beads are already created with dependencies.
Your first actions:
- Read the plan file
- Create a task for each phase (TaskCreate) so you can track progress
- Claim Phase 1:
bd update {phase1_bead} --claim - Read the source files listed in the plan's Quick Start
- Start coding Phase 1's first concrete action: {first_action}
For phases the plan marks as parallelizable, use the Agent tool to run them concurrently in worktrees.
Do NOT onboard, explore, or ask questions. The plan has everything. Build.
```
- Tell the user: "Session closed. Paste that into a fresh session to start executing Phase 1 with full context."
Rules
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/handoffplan/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 6
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/remvisual/claude-handoff/handoffplan)