context-handoff
Skill4 starsChanged 3 months agoMITView on GitHub
Use when a coding session is approaching context limits, spans multiple workflow phases, or must pause before the work is complete.
8 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- asta-nguyen/kamehadbedited, first seen Oct 4, 2026
- Gaurav890/everything-agentic-engineeringtheir own version, first seen Sep 13, 2026
- SuperMate-Ai/SuperMate-Harness-Systemtheir own version, first seen Aug 30, 2026
- knowingrohan/aitheir own version, first seen Jun 29, 2026
- joabgonzalez/ai-agents-skillstheir own version, first seen Jun 8, 2026
- aimasteracc/harness-kittheir own version, first seen Jun 3, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- asta-nguyen/kamehadb★ 15100% same
Wrote their own version · 7
- shawnla90/recursive-drift★ 17same name
- joabgonzalez/ai-agents-skills★ 9same name
- Gaurav890/everything-agentic-engineering★ 1same name
- newyounghe-design/context-handoff-skill★ 1same name
- SuperMate-Ai/SuperMate-Harness-System★ 1same name
- aimasteracc/harness-kit★ 0same name
- knowingrohan/ai★ 0same name
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- writing-skillsSkill
- brainstorm-featureSkill
- document-wikiSkill
- estimate-featureSkill
- implement-taskSkill
- lean-auditSkill
- plan-featureSkill
- read-codebase-contextSkill
- review-and-verifySkill
- setup-codebaseSkill
- setup-openezSkill
- systematic-debuggingSkill
- using-devkitSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 6 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create one compact, source-grounded checkpoint so another session can resume without relying on conversation memory.
- Distinctive: line 13
Use this skill only when the task is unfinished and one of these is true:
- Distinctive: line 19
Do not create handoffs for short tasks that are already complete.
- Very specific: line 23
Read AGENTS.md, then inspect git status --short, the relevant diff, the active spec/plan ## Decision Log, any task-linked decision file, …
- Very specific: line 27
Create a handoff at docs/agent-devkit/handoffs/YYYY-MM-DD-<slug>.md.
- Distinctive: line 61
Keep the checkpoint factual and short.
- Very specific: line 64
If docs/agent-devkit/INDEX.md exists, add the handoff under a ## Handoffs section.
- Distinctive: line 68
Run git diff --check and read the created checkpoint before stopping.
- Distinctive: line 77
If source or working tree disagrees, trust the current repository and update the handoff before proceeding.
“Common” is measured: kept by at least 6 in 10 of the 6 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
Context Handoff
Create one compact, source-grounded checkpoint so another session can resume without relying on conversation memory.
When to use
Use this skill only when the task is unfinished and one of these is true:
- the session is approaching its context limit;
- the work spans multiple phases or will continue in another session; or
- the user asks to pause, hand off, or resume later.
Do not create handoffs for short tasks that are already complete.
Write the checkpoint
- Read
AGENTS.md, then inspectgit status --short, the relevant diff, the active spec/plan## Decision Log, any task-linked decision file, and the relevant wiki page or test output. Source and fresh command output are authoritative; conversation memory is not. Create a handoff at
docs/agent-devkit/handoffs/YYYY-MM-DD-<slug>.md. Follow the shared artifact naming rule inusing-devkit(read it if it is not loaded). Use this structure:# Handoff: <task> ## Objective <The user-visible outcome still being pursued> ## State - Phase: <brainstorm | plan | implement | verify | document> - Status: <what is complete and what is in progress> ## Decisions - <D<n> summary and source artifact link, or None> ## Evidence - `<command>` — <result and exit status> ## Changed files - `<path>` — <why it changed, or "user change"> ## Remaining work - <smallest next actions, in order> ## Risks and blockers - <known issue or "None"> ## Next action <The first concrete action for the next session>- Keep the checkpoint factual and short. Do not claim a test, build, link, or requirement passes without fresh evidence. Do not copy secrets or full logs; record the command and relevant result instead.
- If
docs/agent-devkit/INDEX.mdexists, add the handoff under a## Handoffssection. Follow the shared process-artifact link and wiki-boundary rules inusing-devkit(read them if they are not loaded). Do not create a second index. - Run
git diff --checkand read the created checkpoint before stopping.
Resume
At the start of the next session, memory_recall with 1–3 task keywords may
locate a decision or handoff file; pass maxTokens when its schema supports
it, and treat memory only as a pointer. Read the newest
relevant handoff and every linked decision source, verify git status --short,
re-check claimed source paths and commands, and continue from ## Next action.
If source or working tree disagrees, trust the current repository and update
the handoff before proceeding.
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.

