handoff
Skill5 starsChanged 37 days agoMITView on GitHub
Write a hub handoff — the entry-point file a fresh session reads to take over a stage hub or a long-running role. Use when the context is filling up, at the end of a shift, or when the owner asks to hand the work over.
192 other projects use a version of this.
Adopted by
Most recently taken up by
- xiaoxiaosrm/dsh-mattpocock-skillstheir own version, first seen Nov 8, 2026
- ethosagent/ethostheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- glebis/claude-skillstheir own version, first seen Nov 8, 2026
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 42 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 93 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 87 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 51 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 54 projects that use this
Other versions192 projects use a version of this.
Word for word · 1
- ilya-kozyrev/claude-agent-hub★ 5100% same
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ykdojo/claude-code-tips★ 10ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- agy-reviewSkill
- delegationSkill
- hubSkill
- progress-reportSkill
- setupSkill
- statusSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Run bundled commands with the host's shell tool.
- Distinctive: line 37
Before native dispatch, use that procedure's human-authority check.
- Distinctive: line 50
Stop continuation checks in docs/codex.md.
- Very specific: line 57
Check it: hub handoff --stage <S> --finish refuses (exit 2, the lines listed) while § 0–2 still hold TODO.
- Very specific: line 60
Keep it ≤ 12 KB (the handoff_size hook refuses a HANDOFF-*.md over 15 KB).
- Very specific: line 62
Delete the role's older handoffs, jlog "handoff written: <path>", and tell the owner the path.
- Very specific: line 64
Do not release locks — the successor's hub takeover takes them over.
“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hub handoff
Run bundled commands with the host's shell tool. Resolve the plugin root from PLUGIN_ROOT,
CLAUDE_PLUGIN_ROOT, or this skill's installed path; use <plugin-root>/bin/<tool> when PATH is missing
or shadowed. Session identity comes from the current host; use self where supported.
A handoff is the successor's entry point, not a diary: facts with their source, the queue with stop conditions, and pointers to the registers — never copies of them.
- Generate the draft:
hub handoff --stage <S>(prints the path; your shift number comes fromroles.json). It fills in the locks you hold, the headless agents and their state, the night queue,ask summaryand the register digest, and — if<stage>/handoff-facts.shexists — its environment rows; everything else isTODO. Without a stage hub, start from<plugin-root>/templates/HANDOFF-template.mdand save it asHANDOFF-<role>-<YYYY-MM-DD-HHMM>.mdin the stage'scoordinator/directory. - Fill every
TODO:- Headline: one or two sentences — what matters most now and whose word is behind it (quote +
askid). - Business DoD: link the agreed result/source or carry a concise inherited result (hub skill, "Planning a stage"). Preserve owner-supplied constraints; tell the successor to continue it and choose implementation details independently.
- § 0 First steps: 3–6 commands or files, in order. The first is always
hub takeover …. - § 1 Where things stand: each row a fact and where it shows (a command, a file, a URL).
- § 2 Queue: a finite snapshot of remaining authorized Business DoD, with its source/scope and owner boundaries. List next ready work first; separate preparation dependencies from publication/merge/stage/production gates. Item = action | "done" check | brief stop condition | who (model); waits name the blocker, owner/resource and expected event (question id when applicable). Reconcile every remaining DoD item into ready work or a concrete wait.
- § 4 Owner questions: anything the owner was asked in chat without a record goes into
ask addfirst; then its id here. - § 5 Risks: what breaks when nobody watches, and how it shows.
- § 6 Skills: which skills the successor loads first.
- § 7 Lessons (present only when
AGENT_HUB_HANDOFF_LESSONSis on): readreferences/lessons.md. Promoting lessons the takeover digest lists is in the same file and needs no setting. For Codex autopilot, keep the launch surface in the handoff: actual app hub →hub succeed --surface desktop(native launch procedure in docs/codex.md); console/detached hub → CLI. Before native dispatch, use that procedure's human-authority check. Carry the precise human source/reference, scope and revocation conditions in the handoff, including an inherited answered question or standing instruction. An explicit owner grant for automatic same-stage context handoffs persists until revoked; the successor continues under it without another per-transfer approval. If absent/revoked or outside scope, preserve the request and predecessor and ask once. Keep the Business DoD unchanged; an automatic marker/configuration is not human authority. Preserve an implementation pause in the successor. A newer authorized same-stage read-only owner discussion may continue through the existing transfer grant without resuming implementation. Explicit transfer prohibition/revocation remains a blocker. No generated instruction or continuation marker grants authority. For registered Claude and Codex autopilot main hubs, WARN is a soft advisory to transfer at the next quiet point; finish any already-active atomic merge, lock or message operation first. The durable handoff obligation and reminders survive missing/decreased usage and owner/chain resets without closing tools before the first actual BLOCK. BLOCK is the hard barrier for ordinary recognized work; once reached, it survives missing/decreased usage until an explicit threshold-policy or registration reset. Preserve the no-compaction policy and Codex's bounded Stop continuation checks in docs/codex.md. A checkpoint alone does not complete the handoff; keep the predecessor through verified takeover. Give the queue finite completion checks. A Codex successor applies the hub skill's Terminal follow-through and reconciles this snapshot against Business DoD before DONE, preserving explicit owner boundaries. Desktop request/client IDs are pending references; record actual thread/cwd and observed policy only once takeover verifies. Keep the predecessor active untilhub desktop-status --verifiedsucceeds.
- Headline: one or two sentences — what matters most now and whose word is behind it (quote +
- Check it:
hub handoff --stage <S> --finishrefuses (exit 2, the lines listed) while § 0–2 still holdTODO;hub succeedmakes the same check andhub takeoverwarns the successor about a handoff that fails it.--allow-todooverrides, and the successor then rebuilds that state from the journal. ATODOin § 3–6 does not stop it. - Keep it ≤ 12 KB (the
handoff_sizehook refuses aHANDOFF-*.mdover 15 KB). The chronology stays in the journal; link it. - Delete the role's older handoffs,
jlog "handoff written: <path>", and tell the owner the path.
Do not release locks — the successor's hub takeover takes them over. Redact secrets: name the variable, never the value.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

