handoff
Skill0 starsChanged 2 months agoMITView on GitHub
Create or refresh a compact operational handoff for Claude Code, Codex, Cursor, Windsurf, or another fresh agent/session. Use when Greg says handoff, continue in another chat/session, prepare context for next session, передай задачу, resume later, compact this session, or when a long task crosses plan/execute/verify/ship boundaries. Composes with compaction-handoff-format, context-prep, retrieval, mcp-stack-moat-guard, and four-agent-surface-parity.
191 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 versions191 projects use a version of this.
Word for word · 0
None found.
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 repository9 other files it gives its agents.
- agent-mvp-blueprintSkill
- close-taskSkill
- context-prepSkill
- improve-codebase-architectureSkill
- json-feature-ledgerSkill
- overnight-task-queueSkill
- restricted-tool-subagentSkill
- retrievalSkill
- router-lite-mcpSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 172 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this as a thin wrapper over the project rule (see your repo rules).
- Very specific: line 30
Use the canonical # Compaction Handoff template from the project rule (see your repo rules).
- Distinctive: line 31
Always include these extra fields when useful:
- Distinctive: line 49
If refreshing an existing same-topic handoff, read it first, then rewrite from scratch.
- Distinctive: line 66
Before promoting the skill for high-traffic use, run the real judge through the repo skill-eval gateway when available.
- Distinctive: line 71
Create handoffs at clean boundaries and when prompt-cache stability, cross-session continuity, or multi-agent transfer matters.
“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
HWAI Handoff
Use this as a thin wrapper over the project rule (see your repo rules).
The handoff is operational state for the next agent, not a chat summary.
Quick Decision
- Same thread and short status update: answer normally; do not create a handoff.
- New session, another agent, cross-device work, context approaching limits, or a major milestone: create a handoff.
- Long logs/specs/URLs are inputs to compact first with
context-prep; reference the artifact instead of pasting the body. - Broad repo uncertainty: use
retrievalfirst, then cite exact paths read.
Destination
Choose the narrowest durable target:
- Temporary/private handoff by default: save outside the repo when the user only needs to paste into another session.
- Repo handoff only when it is project state that future sessions should inherit.
- Public-bound MCP/token-economy material: do not include private HWAI moat details. Apply
the project rule (see your repo rules).
For repo handoffs, prefer a focused path such as notes/<topic>_handoff_<date>.md or an existing task/methods directory. Do not create HANDOFF.md in the repo root unless Greg asks for that exact file.
Format
Use the canonical # Compaction Handoff template from the project rule (see your repo rules).
Always include these extra fields when useful:
First action: the single next command/read/edit the fresh agent should do.Suggested skills: exact skills/rules to invoke, with paths.Files in progress: path plus state:editing,needs_review,partially_done, orready.Public/private boundary: required when MCP stack, scraper, gateway, ContentOS, token-economy article, or public repo publishing is involved.
Quality Bar
A fresh agent with no chat history should be able to make real progress within 5 minutes.
Rules:
- Distill, do not copy conversation noise.
- Reference existing PRDs, plans, ADRs, commits, diffs, artifacts, and issue URLs by path/URL.
- Preserve exact user constraints, approval state, IDs, numbers, paths, dates, and blockers.
- Record what failed or should not be retried.
- Redact secrets, credentials, tokens, raw email bodies, private customer data, and PII.
- If refreshing an existing same-topic handoff, read it first, then rewrite from scratch; do not append stale context.
Evaluation
This skill is gated by skills/handoff/_evals/:
trigger_activation.jsonchecks the RU/EN handoff triggers and non-triggers.output_quality.jsonchecks first action, suggested skills, files in progress, exact constraints, and public/private boundary.terminal_bench.mjsis the deterministic pre-score: good handoff artifacts must pass, summary-only or moat-leaking handoffs must fail.
Run:
node skill_eval.mjs --skill handoff --mock --no-trend-log
node skills/handoff/_evals/terminal_bench.mjsBefore promoting the skill for high-traffic use, run the real judge through the repo skill-eval gateway when available.
Claude Code With Large Context
A larger context window reduces handoff frequency; it does not remove the need. Create handoffs at clean boundaries and when prompt-cache stability, cross-session continuity, or multi-agent transfer matters.
For MCP token economy work, mention handoff as a cache-stability/context-discipline practice in articles, but keep tuned internal orchestration and measured moat details private unless Greg explicitly overrides the public boundary.
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.

