From solopreneur
Generates a portable markdown handoff document capturing session state, decisions, and next steps for continuation by another agent or session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/solopreneur:handoffThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Package the current session into a portable, self-contained markdown document
Package the current session into a portable, self-contained markdown document so a fresh agent — in a new Claude Code session, Codex, ChatGPT, or running on another machine — can pick up the work without asking the user clarifying questions.
The document is printed inline AND saved to /tmp/handoff/<YYYY-MM-DD>_<slug>.md (e.g.
/tmp/handoff/2026-06-01_fix-portfolio-cost-basis.md). The user can copy from the
terminal or grab the file directly.
Use it when the user is about to switch sessions, run something on a different machine, or hand off to a teammate's agent, and the new agent needs to know what's done, what's next, what NOT to relitigate, and what dead ends to skip.
Not the right tool when:
worktree-handoff instead.The most load-bearing field in the document is Next step. Three cases:
| Case | What to do |
|---|---|
| User stated the next step explicitly | Use it. Elaborate with concrete commands and absolute paths. |
| The conversation clearly implies it (e.g. just finished phase A, plan defines phase B) | Propose it; mark it as your inference so the user can correct. |
| Unclear, or multiple plausible directions | Ask one focused question first, before generating the doc. Don't guess. |
When asking, present the realistic forks ("Will the next session (a) just analyse the existing results, or (b) run the next iteration end-to-end? Each needs different scope and different env."), not open-ended ("What's next?").
Run the gathering commands in parallel. Collect liberally; filter aggressively in step 3 — only ship what's relevant to continuing.
Environment
pwdgit rev-parse --show-toplevelgit branch --show-currentgit status -sgit log --oneline -10From conversation history
Use the structure below. Omit any section that has nothing meaningful — a missing section is better than a padded one.
# <Concrete task title> — Handoff Context
> For a fresh agent in a new session continuing this work. Read top-down —
> this is intended to be self-contained.
## Goal
<1–3 sentences. What to accomplish and why.>
## Current state
<Where the work stands right now. What infrastructure / data / branches are in place.>
## Next step
<One concrete action. Include exact command, absolute file path, and the
decision the user already made about it.>
## Decisions already made (do not relitigate)
- <decision> — <one-line reason>
## Tried and ruled out
- <approach> — <why it didn't work, so the new agent doesn't repeat it>
## Open questions / awaiting user
- <question> — <why it matters / what it blocks>
## Environment
- **CWD**: `<absolute path>`
- **Repo**: `<owner>/<repo>` @ `<branch>` (last commit: `<sha7> <subject>`)
- **Uncommitted changes**: <none / brief summary>
- **Recent commits** (newest first):
- `<sha7>` <subject>
- **Env / credentials**: <names only — e.g. `OPENROUTER_API_KEY` is in `<repo>/langgraph/.env`>
- **Running services / background processes**: <only if relevant to continuation>
## Relevant files
- `<absolute path>` — [modified] <what was changed>
- `<absolute path>` — [reference] <what's in it, why the new agent will need it>
## References
- `<doc / README / URL / related skill>` — <why it matters>
Derive a slug from the task title (lowercase, hyphens, no special chars).
Ensure the directory exists (mkdir -p /tmp/handoff), then write the document
to /tmp/handoff/<YYYY-MM-DD>_<slug>.md using the Write tool. Then use
SendUserFile to deliver it.
The printed document plus the file delivery is the entire response. Do not add a preamble before the markdown (no "Here's the handoff doc"), a closing line after it (no "ready, copy it"), a summary, or any commentary. The only post-doc output is the file delivery via SendUserFile.
The only exception is step 1: if the next step is unclear, ask the focused question first and wait. After the answer, generate the doc and stop.
The output must pass these checks. Revise before printing if any fails.
run_batch.py" → instead: "langgraph/eval/scripts/run_batch.py —
change MODELS = [...] and THROTTLE_SECONDS (12 for :free models,
0.5 for paid)."User: /handoff
pwd
git -C <cwd> rev-parse --show-toplevel
git -C <cwd> branch --show-current
git -C <cwd> status -s
git -C <cwd> log --oneline -10
/tmp/handoff/<YYYY-MM-DD>_<slug>.md, and deliver via
SendUserFile. Nothing else — no preamble, no closing line, no commentary.npx claudepluginhub p/hanamizuki-solopreneur-plugins-solopreneurCaptures full session context into a handoff document so a fresh agent can resume work with zero prior context. Write a single actionable sentence for the next agent.
Produces a compact handoff document that transfers context, state, and next objective without copying source material. Use when ending a session or passing work to another agent.
Produces a handoff document so a fresh agent can continue work from the current session. Handles both mid-arc continuation and backlog handoffs.