/superbeads:session-handofffrom superbeads
Human-invoked session handoff for resuming unfinished work in a fresh context.
Ships in superbeads. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Apply the shared technical writing policy to the handoff and its user-facing summary.
Write a grounded handoff document — and a one-line continuation memory — so a fresh session can resume exactly where this one left off.
Announce at start: "I'm using the session-handoff skill to write a session handoff."
Human-invoked only. This skill is fired by a human (slash command or explicit ask) — before
/clear,/compact, a context limit, or a teammate handoff. It is intentionally absent from every agent-trigger surface and is never auto-invoked.
/clear or /compact, mid-task, when context is about to be lost.Optional argument: a short description of what the next session will focus on — used to tailor Work In Progress / Loose Threads / Suggested Skills.
Gather (read-only, run the commands — do not recall):
git status -sb, git log --oneline -15, git diff --stat, branch + ahead/behind;
bd ready, bd blocked, bd count --by-status, in-progress beads; list the
spec, plan, and architecture-decision-record files touched this session.
Synthesize into the bundled template (handoff-template.md). Reference
artifacts by path — never paste their bodies (commits, ADRs, specs, plans, diffs).
Duplicating bloats the doc and goes stale.
Write the doc — Default: .internal/handoff/YYYY-MM-DD[-HHMMSS]-<topic>-handoff.md
(-HHMMSS only if a same-day handoff exists).
(The same-day check globs the inbox .internal/handoff/*.md only; archived docs under archive/ are out of scope and do not affect same-day naming.)
If the human names another location,
write there. mkdir -p the target first.
Write the continuation memory —
bd remember "continuation-<date>-<topic>: <one-line pointer to doc path + headline state>"
(episodic continuation record; one-line pointer only).
Verification (externally anchored — output the result block):
git check-ignore <output-path>; if NOT ignored, warn the
human ("⚠️ is not gitignored; a handoff can contain sensitive session
state") and offer to add it to .gitignore before writing.ls <path> confirms the doc exists; bd memories <key> confirms the memory.sk-, ghp_, AKIA, -----BEGIN,
password=) — a backstop, not a guarantee.Output a confirmation block: doc path · memory key · gitignore-safety result · secret-scan result.
bd absent), degrade gracefully and note the gap.| Rationalization | Reality |
|---|---|
| "I'll write it from memory" | Run the gather commands — recollection drifts. |
| "I'll paste the whole diff" | Reference by path; pasted output bloats and leaks. |
| "I'll add it to the skill index so the agent finds it" | Forbidden — human-invoked only. |
| "The output dir is probably gitignored" | Run git check-ignore — secrets to a tracked path is a leak. |
Standalone — human-invoked. This skill is intentionally NOT referenced by any other
skill or hook, and does not appear in any agent routing or trigger surface. Its read-side
counterpart is getting-up-to-speed, which reads this skill's output artifact (the
latest .internal/handoff/ doc) but does not invoke it — there is no skill-to-skill call
in either direction. On read it consumes the doc: it moves the doc it read to
.internal/handoff/archive/ at close, so .internal/handoff/ is an unread inbox and a
stale handoff is not re-read as the last session.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub the-inconvenience-store/superbeads --plugin superbeads23 skills in this plugin
/brainstormingUse when shaping a feature, component, or behavior change into an approved solution design./dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies/document-releaseUse when committed code is awaiting merge and its project documentation may be stale./executing-plansUse when a validated implementation graph must run without isolated subagents./finishing-a-development-branchUse when implementation work has reached a terminal branch state and the user must choose merge, PR, keep, or discard/getting-up-to-speedUse when an unfamiliar, stale, compacted, or unclear project session needs orientation.