ask-handoff
Skill1 starsChanged 4 months agoMITView on GitHub
Handoff: Writes a short brief so a fresh agent can continue the work. Use when pausing, switching agents or sessions, or when context is nearly full.
In this repository37 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ask-agent-workflowsSkill
- ask-code-reviewSkill
- ask-debuggingSkill
- ask-deep-researchSkill
- ask-design-reviewSkill
- ask-designSkill
- ask-developSkill
- ask-gh-inboxSkill
- ask-handoffSkill
- ask-improveSkill
- ask-intakeSkill
- ask-observabilitySkill
- ask-researchSkill
- ask-session-reviewSkill
- ask-summarySkill
- ask-text-writingSkill
- ask-verificationSkill
- ask-write-skillSkill
- ask-agent-workflowsSkill
- ask-code-reviewSkill
- ask-debuggingSkill
- ask-deep-researchSkill
- ask-design-reviewSkill
- ask-designSkill
- ask-developSkill
- ask-gh-inboxSkill
- ask-improveSkill
- ask-intakeSkill
- ask-observabilitySkill
- ask-researchSkill
- ask-session-reviewSkill
- ask-summarySkill
- ask-text-writingSkill
- ask-verificationSkill
- ask-write-skillSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
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 29
Hand off: when the work travels: to another harness, another directory or repository, a colleague, a fresh session you will start later, or …
- Distinctive: line 30
Send a subagent: when the next task is tightly scoped and can run without the user.
- Distinctive: line 33
If the answer to "should we hand off?" is anything but a handoff, say so and stop instead of writing a brief nobody needs.
- Distinctive: line 38
Write the brief with these sections, omitting empty ones:
- Distinctive: line 52
If the user passed arguments, treat them as the focus of the next session and tailor the brief to it.
- Distinctive: line 57
Keep it under about 60 lines.
- Distinctive: line 58
Do not start the next phase or fix open items while writing the brief.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
ASK Handoff
Goal: a fresh agent with no conversation history can continue the work correctly from one short document.
When to hand off, and when not
Write the brief when the user asks for one, when they will pause and resume in a fresh session, or when the context window is nearly full. When the question is whether to hand off at all, decide at a phase boundary (the grilling is done, the build is done) and take the first yes; references/phase-boundaries.md explains each branch. Mid-phase only continue, send a subagent, or fork a side task: clearing or compacting there loses the thread.
- Continue in this session when the next phase needs this one as a primary source, or the window still has room for it. A grill flowing into the build is the standard case: the build wants the reasoning verbatim, not a summary.
- Clear the context when nothing in this session matters to what comes next. It cannot be undone for the reasoning behind what was built.
- Hand off when the work travels: to another harness, another directory or repository, a colleague, a fresh session you will start later, or as a side task forked off mid-phase. A handoff buys portability; with nothing travelling, skip it.
- Send a subagent when the next task is tightly scoped and can run without the user. Give it context pointers and leave this session untouched.
- Compact otherwise: relevant context, same harness, same directory, the user stays in the loop. Tell it what the next phase needs so the summary keeps that.
If the answer to "should we hand off?" is anything but a handoff, say so and stop instead of writing a brief nobody needs.
Steps
- Derive the state from the repository (
git status,git diffagainst the base, branch, plan or spec record, open issues), not from memory of the conversation. - Write the brief with these sections, omitting empty ones:
- Goal: one or two sentences.
- State: done, in progress, not started.
- Decisions: each choice with its reason, one line each.
- In play: files and areas touched, and the branch or diff reference.
- Proof so far: commands run and results, with the diff reference they apply to; gates already passed and who ran them.
- Open: blockers, unanswered questions, risks.
- Next step: the single next action.
- Suggested skills: the ASK skills the next agent should read, as
~/.agents/skills/ask-<name>/SKILL.md.
- Reference artifacts that already exist (specs, plans, ADRs, issues, commits, diffs) by path or URL. Do not copy their content.
- Redact secrets, tokens, and personal data.
- Save the brief outside the workspace so it is never committed: create a private directory with
mktemp -d(PowerShell: aNew-TemporaryFile-based directory) and writehandoff.mdthere. Use a path the user names instead when given. - Report the exact path and one line the user can paste to start the next session ("Read
<path>and continue with the next step").
If the user passed arguments, treat them as the focus of the next session and tailor the brief to it.
Rules
- Facts over narrative: what is true in the repository now. Mark anything unverified as such.
- Keep it under about 60 lines; link instead of explaining.
- Do not start the next phase or fix open items while writing the brief.
Boundaries
summary explains the result to the owner. session-review reflects on skill usage and files issues. handoff briefs the next agent.
Use with
verificationbefore handing off, so the proof section is realintakein the next session when the plan is still opensummarywhen the reader is the owner rather than another agent
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.

