context-handoff
Skill0 starsChanged 5 months agoMITView on GitHub
Before ending a session or switching agents, produce a structured hand-off note — what was done, what is pending, key decisions made, files changed, and a ready-to-paste resume prompt for the next session or agent. Use when the user says they are wrapping up, switching tools, handing off to a teammate, or starting a new session on the same project.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- voyager67/AgentFieldkittheir own version, first seen Nov 8, 2026
- hatemecha/skillstheir own version, first seen Nov 1, 2026
- timyeou1234/context-handofftheir own version, first seen Nov 1, 2026
- asta-nguyen/kamehadbtheir own version, first seen Oct 16, 2026
- vorteg/swagenticstheir own version, first seen Oct 13, 2026
- yuanJewel/skillstheir own version, first seen Oct 11, 2026
Used with
Projects with it also use systematic-debugging.
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.
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- asta-nguyen/kamehadb★ 14same name
- asta-nguyen/agent-devkit★ 4same name
- timyeou1234/context-handoff★ 2same name
- yuanJewel/skills★ 2same name
- Gaurav890/everything-agentic-engineering★ 1same name
- newyounghe-design/context-handoff-skill★ 1same name
- SuperMate-Ai/SuperMate-Harness-System★ 1same name
- vorteg/swagentics★ 1same name
- aimasteracc/harness-kit★ 0same name
- djhyes/context-handoff★ 0same name
3 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 repositoryOne other file it gives its agents.
- refine-promptSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill to generate a structured hand-off note before a session ends or context switches to a different agent or collaborator.
- Distinctive: line 15
Before closing a long coding session
- Distinctive: line 16
Before switching from one agent to another (Claude → Codex, Codex → Devin, etc.)
- Distinctive: line 17
Before handing a branch to a teammate
- Distinctive: line 18
After a context window warning — capture state before compression loses it
- Distinctive: line 23
Before generating the hand-off, collect available session state:
- Distinctive: line 25
Check the current working directory, open files, and recent edits
- Distinctive: line 26
Check git status and recent commit messages (git log --oneline -10, git diff HEAD)
- Distinctive: line 27
Check todo lists, task trackers, or in-progress notes if available
- Distinctive: line 28
Check agent memories, loaded skills, and any CLAUDE.md, AGENTS.md, or GEMINI.md in scope
- Distinctive: line 31
Use what is safely readable.
- Distinctive: line 40
Write a ready-to-paste resume prompt the next agent can use to pick up exactly where this session left off.
- Distinctive: line 97
If session history is not fully available (context was compressed, agent memory was not loaded), produce the best hand-off from what is …
- Distinctive: line 103
Do not fabricate completed tasks or invented file paths.
“Common” is measured: kept by at least 6 in 10 of the 11 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
Use this skill to generate a structured hand-off note before a session ends or context switches to a different agent or collaborator.
It captures what happened, what is still open, and produces a copy-paste resume prompt so the next session starts without cold-start friction.
When to Use
- Before closing a long coding session
- Before switching from one agent to another (Claude → Codex, Codex → Devin, etc.)
- Before handing a branch to a teammate
- After a context window warning — capture state before compression loses it
- At a natural checkpoint between phases (research done, implementation next)
Context Discovery
Before generating the hand-off, collect available session state:
- Check the current working directory, open files, and recent edits
- Check git status and recent commit messages (
git log --oneline -10,git diff HEAD) - Check todo lists, task trackers, or in-progress notes if available
- Check agent memories, loaded skills, and any
CLAUDE.md,AGENTS.md, orGEMINI.mdin scope - Note any failing tests, open errors, or unresolved decisions from the session
Use what is safely readable. Do not scan large build or dependency folders.
Hand-Off Generation Workflow
- Summarize what was completed this session in 3–7 bullet points.
- List what is still pending — incomplete tasks, blocked items, follow-ups.
- Note key decisions made and the reasoning behind them (especially non-obvious ones).
- List files that were created or significantly modified.
- Flag any open risks, known issues, or things the next agent should be careful about.
- Write a ready-to-paste resume prompt the next agent can use to pick up exactly where this session left off.
Output Format
Return a short lead-in, then one fenced markdown block containing the hand-off note, followed by a second fenced text block containing the resume prompt.
Hand-off note structure
## Session Hand-off — [Project Name] — [Date]
### Completed
- <what was done, specific and concrete>
### Pending
- <tasks still open, in priority order>
### Key Decisions
- <decision>: <brief reason>
### Files Changed
- `path/to/file` — <what changed>
### Watch Out For
- <risks, known issues, or gotchas the next agent should know>Resume prompt structure
Role: <same role as the current session, or the appropriate next role>
Context: Resuming work on [project]. Last session ended with:
- <1–3 sentence summary of state>
Pending tasks (in order):
1. <next concrete task>
2. <task after that>
Key context:
- <critical decision or constraint the new session must know>
- <file or system state the new agent should check first>
Start by confirming the current state of [most important file or system], then proceed with task 1.Quality Bar
The hand-off note must be:
- Concrete enough that someone who was not in this session can continue without asking questions.
- Short enough to paste into a new session's first message without overwhelming context.
- Faithful to what actually happened — do not invent completed work.
- Actionable — the next task should be clear from the resume prompt alone.
Handling Incomplete Information
If session history is not fully available (context was compressed, agent memory was not loaded), produce the best hand-off from what is visible and add a note:
Note: Session history was partially available. Verify current file state before resuming.Do not fabricate completed tasks or invented file paths.
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.

