From the-librarian
Store a handoff document for cross-agent / cross-harness pickup
How this command is triggered — by the user, by Claude, or both
Slash command
/the-librarian:handoffThe summary Claude sees in its command listing — used to decide when to auto-load this command
Author a five-section handoff document and persist it via the `store_handoff` MCP tool. The receiving agent (any harness) claims it with `/takeover` in the same `cwd` and same project. ## Privacy gate Before doing anything else, scan the conversation for the most recent `[librarian:private=on|off]` marker. If it is `on`, ask the user to confirm explicitly that they want this conversation's content written to a handoff. Abort on "no". ## Authoring Read the full transcript via the harness's native API; fall back to the in-context view if no transcript API is available. Produce a Markdown ...
Author a five-section handoff document and persist it via the store_handoff MCP tool. The receiving agent (any harness) claims it with /takeover in the same cwd and same project.
Before doing anything else, scan the conversation for the most recent [librarian:private=on|off] marker. If it is on, ask the user to confirm explicitly that they want this conversation's content written to a handoff. Abort on "no".
Read the full transcript via the harness's native API; fall back to the in-context view if no transcript API is available. Produce a Markdown document conforming to this template — the headings are part of the contract and are validated by the MCP tool:
# Handoff: <title>
## Start & intent
<what the user came in wanting; why; constraints>
## Journey
<compressed timeline: decisions made (and why), alternatives considered and rejected, deferred work / parking lot, dead ends / lessons learned>
## Current state
<where we are right now — files touched, branches, open PRs, what works, what doesn't, known gotchas>
## What's left
<concrete next steps, in order, with enough context to start cold>
## Open questions
<things needing human decision before next step>
Pick a title that summarises the work in ≤ 80 chars.
Invoke store_handoff with:
title — ≤ 80 charsdocument_md — the rendered templateproject_key — inferred from the project's agent-instructions file / project rootcwd — current working directoryharness — the harness you are running in (e.g. "claude-code", "opencode")source_ref — a stable reference to where the work happened: the harness conversation/run id if one is available, else cwd:<absolute path>tags — short tags only when they help disambiguate (e.g. ["migration", "p1"])Tell the user the handoff_id and how to claim it (/takeover in any agent on the same cwd).
npx claudepluginhub jimjafar/the-librarian --plugin the-librarian/handoffGenerates a structured markdown handoff document summarizing git status, commits, uncommitted changes, session learnings, progress, and next steps. Saves to ~/.pro-workflow/handoffs/. Supports --full and --compact modes.
/handoffGenerates a developer handoff package for the specified screen, feature, or component, including visual specs, interaction specs, QA checklist, assets, and notes.
/handoffEnds swarm session: summarizes work/blockers, persists state via hivemind_store and git, cleans agents/tasks/reservations, updates hive, generates handoff note.
/handoffAnalyzes the current session and writes a self-contained handoff document so a fresh agent can resume work, emitting a single actionable sentence.
/handoffSaves session state snapshot as structured JSON to docs/tasks/<branch>/session_logs/<timestamp>_handoff.json, capturing git status, progress summary, tasks, and context for resume.
/handoffCreates a detailed handoff plan summarizing conversation, technical details, code, decisions, and next steps for continuing work in a new session.