handoff-auto
Skill37 starsChanged 47 days agoMITView on GitHub
Write a handoff document for a fresh session, callable by the model. Use from skills or subagents that must end a session unattended.
In this repository23 other files it gives its agents.
- dotfiles/CLAUDE.mdCLAUDE.md
- find-me-a-skillSkill
- gap-scanSkill
- grill-docsSkill
- grillingSkill
- grill-meSkill
- handoffSkill
- lanesSkill
- meta-orchestratorSkill
- pairSkill
- ponytailSkill
- progress-reportSkill
- pr-watchSkill
- remindSkill
- repo-scrubSkill
- repo-showcaseSkill
- score-loopSkill
- session-bridgeSkill
- sitrepSkill
- spend-gateSkill
- switchSkill
- teammate-briefSkill
- wayfinderSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 15
Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs).
- Distinctive: line 19
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Derived from Matt Pocock's handoff skill (MIT, see THIRD_PARTY_LICENSES.md); the frontmatter, the save location, the tracking sentence, the git-state line and the final path line differ.
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save it in the repo under skilleddocs/handoffs/<YYYY-MM-DD>-<slug>.md (create the directory; local date, not UTC; slug = 2-4 kebab-case words for the focus (from the argument if given, else the topic)). If there is no repo or git working tree, fall back to the OS temporary directory. A repo's AGENTS.md / CLAUDE.md may prescribe a different folder or filename prefix; follow it. Commit it or not per TRACKING.md.
In a repo, record in the document the branch (detached HEAD: "detached at <sha>", warning that its commits are on no branch until git switch -c <name>), the base SHA (git merge-base <default> HEAD; <default> per TRACKING.md; on <default> itself that is HEAD, an empty range, so use git merge-base @{u} HEAD (no upstream: origin/<default>) when it differs from HEAD, else the parent of the session's first commit, and say which) and the head SHA, so a verifier knows the range to check, plus git status --short when the tree is dirty (that work isn't in the range).
Include a "suggested skills" section in the document, naming which skills the next agent should call the Skill tool for.
Do not duplicate content already captured in other artifacts (specs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Finish by printing the handoff file's absolute path on its own line as the very last line of output, as a native OS absolute path (backslashes on Windows, no /c/... form) — orchestrators parse it.
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.

