task-handoff
Skill96 starsChanged 2 months agoMITView on GitHub
This skill is coordination-exempt: skip the ai-coord gate for its declared work. If these instructions are already present from a slash or dollar invocation, follow them directly; do not invoke this skill again through a skill tool. Turn one continuation task into one self-contained task handoff for a fresh agent chat. Write the handoff only; do not implement, edit tracked files, commit, push, launch Codex, or change ignore configuration. Task-handoff writes one decision-complete file for a fresh, separate session. For…
2 other projects use a version of this.
Adopted by
Most recently taken up by
- yearth/skillstheir own version, first seen Sep 8, 2026
- manwithshit/task-handofftheir own version, first seen Jul 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- yearth/skills★ 4same name
- manwithshit/task-handoff★ 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 repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- toolkit/AGENTS.mdAGENTS.md
- agents-brainSkill
- agents-docsSkill
- agents-introspectionSkill
- ai-pruneSkill
- autoresearchSkill
- brainstormSkill
- chromium-browserSkill
- claude-handoffSkill
- cli-castSkill
- cli-coingeckoSkill
- cli-ghSkill
- cli-justSkill
- codebase-designSkill
- code-polishSkill
- codex-handoffSkill
- commitSkill
- copy-transcript-pathSkill
- effect-tsSkill
- evm-atlasSkill
- fresh-eyes-sweepSkill
- frontend-designSkill
- git-squashSkill
- grill-meSkill
- html-debriefSkill
- html-playgroundSkill
- interview-meSkill
- large-file-refactorSkill
- naming-refactorSkill
- node-deps-bumperSkill
- pdfSkill
- release-bumperSkill
- repo-cross-pollinationSkill
- repo-harmonizationSkill
- repo-renameSkill
- skill-doctorSkill
- skill-harmonizationSkill
- skill-mapSkill
- skill-writingSkill
- spreadsheetsSkill
- tailwind-cssSkill
- todo-archiveSkill
- tool-finderSkill
- vitestSkill
- wrap-upSkill
- yeetSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
If these instructions are already present from a slash or dollar invocation, follow them directly.
- Very specific: line 35
Use $ARGUMENTS when present.
- Distinctive: line 54
When a task contains supporting work from another category, use the category of its primary deliverable.
- Very specific: line 76
Write it in one operation.
- Very specific: line 104
Add a ## Execution approach section.
- Very specific: line 127
Leave no placeholders, open task choices, or references that require the old chat.
- Very specific: line 130
When placement or the repository set is uncertain, pre-validate before investing in the body.
- Very specific: line 211
Read the tab-separated stdout rows as the final record: handoff, launch_repo, category, and command.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Task Handoff
This skill is coordination-exempt: skip the ai-coord gate for its declared work.
If these instructions are already present from a slash or dollar invocation, follow them directly; do not invoke this skill again through a skill tool.
Turn one continuation task into one self-contained task handoff for a fresh agent chat. Write the handoff only; do not implement, edit tracked files, commit, push, launch Codex, or change ignore configuration.
Task-handoff writes one decision-complete file for a fresh, separate session. For a simple task, that isolated file is
enough for direct execution in the receiving session. For a complex task, resolve ~/.agents/skills/codex-handoff to
its expanded absolute directory, require a readable SKILL.md there, and embed that absolute skill path in the handoff.
Direct the receiving session to load it from Plan mode and use the handoff as its task specification so Codex subagents
can implement it; do not rely on bare $codex-handoff discovery. Task-handoff still creates exactly one file and never
launches orchestration itself. Use task-handoff when work continues later or elsewhere, and an in-session handoff skill
when implementing an approved plan now.
Select the work
Use $ARGUMENTS when present. Otherwise infer the next unfinished step from the last assistant response and relevant
transcript. Treat the task as a scope selector: retain only evidence needed for that work.
Resolve discoverable facts before writing. Inspect every involved repository's instructions, relevant task surface, and working-tree state; distinguish completed work, partial work, and remaining work while preserving user and concurrent-agent changes. If the task is already complete, report the evidence and create nothing. Ask only when an unresolved choice materially changes scope, safety, execution approach, verification, repository membership, or handoff placement.
Classify the handoff from the user's requested outcome, expected evidence, and authorized actions. Reason about the task; do not keyword-match it. Select exactly one lowercase category:
implementation: change code, configuration, documentation, or data to reach a defined end state.investigation: explain a bounded symptom, behavior, or failure with evidence and a recommended next action.research: answer or compare options using collected evidence and deliver a recommendation or decision record.audit: assess a defined surface against explicit criteria and report prioritized, evidence-backed findings.operations: carry out a bounded maintenance, release, migration, or coordination workflow with state checks and rollback boundaries.
When a task contains supporting work from another category, use the category of its primary deliverable.
Classify its execution approach as simple or complex. Mark it complex only when delegation would materially improve
latency, correctness, or verification, such as independently implementable scopes, dependency waves, multiple or
unfamiliar subsystems, or a brief likely to exceed roughly 25-30 minutes. File and repository count alone are not
complexity signals. Otherwise mark it simple.
Infer repositories from local paths and relevant context. Do not include the current repository merely because the skill
runs there when the task selects only other repositories. Create exactly one handoff file, whether the task touches one
repository or many. A single-repository handoff belongs in that repository at
<REPOSITORY>/.ai/task-handoffs/<HANDOFF_NAME.md>. A cross-repository handoff belongs at
~/Desktop/.ai/task-handoffs/<HANDOFF_NAME.md> only when it spans at least two repositories. For cross-repository work,
include every involved repository and choose the first repository to tackle as the Codex launch directory. Stop before
writing when the repository set or the required operation order is unclear.
Choose one meaningful unique filename matching ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*[.]md$; do not force a PLAN_ prefix. If
the target exists, add a semantic qualifier, falling back to _YYYY_MM_DD_HHMMSS only when no meaningful qualifier
distinguishes it.
Create the handoff
Compose the semantic draft body in a new scratch file outside every involved repository, for example under $TMPDIR.
Write it in one operation. The draft must be non-empty and begin immediately with one H1 heading. Do not add YAML
frontmatter or begin the draft with ---. Never add ## Handoff category, ## Execution status, or
## Handoff cleanup; ai-handoff create reserves and appends them. Make every body decision-complete for an agent with
access to the named repositories but none of this transcript. Include:
- objective, success criteria, and explicit exclusions;
- verified current state, partial changes, and completed prerequisites;
- changes keyed to stable paths, symbols, interfaces, schemas, or commands rather than line numbers;
- task-specific evidence, procedure, material edge cases, and failure behavior;
- targeted validation, acceptance scenarios, and rollout, compatibility, or authority requirements;
- exact repository-relative write scopes, recorded before publication with
ai-coord draft --name <handoff-slug> '<label>' '<path>'...; for two or more Git roots, useai-coord bundle draft --name <handoff-slug> '<label>' '<absolute-path>'.... Derive the name from the handoff filename stem: lowercase it, replace_and characters outside[A-Za-z0-9._-]with-, and truncate to 40 characters (for exampleNAMED_DRAFTS_IN_HANDOFF_SKILLS.mdbecomesnamed-drafts-in-handoff-skills). Include the ready-to-run promote commandai-coord start --draft <handoff-slug>(orai-coord bundle start --draft <handoff-slug>) ahead of the explicitai-coord start '<label>' '<path>'...fallback (orai-coord bundle start '<label>' '<absolute-path>'...) over the same scope union. Use the fallback only when promotion reportsno draft named ..., such as after the draft expires in seven days or the ledger is replaced. Use--recursiveonly when the handoff genuinely cannot enumerate a subtree. Recording a draft changes coordination state only, grants no scope, and remains within this skill's coordination exemption. Autonomous findings triage is the exception: see the noninteractive triage section below; - assumptions resolved from repository evidence or explicit user decisions.
Carry existing user approvals and their exact scope, conditions, and exclusions into the handoff. Distinguish them from actions still awaiting approval so the receiving session can continue authorized work without repeating settled questions. A handoff does not itself grant approval or override the receiving host's restrictions.
Add a ## Execution approach section. For a simple task, direct the receiving session to execute this one isolated
handoff without invoking an in-session handoff skill. For a complex task, expand and canonicalize
~/.agents/skills/codex-handoff, verify that <resolved-directory>/SKILL.md is readable, and write that resolved
absolute directory path into the execution approach. Explicitly direct the receiving session to enter Plan mode, load
the skill from that path, and use this file as the decision-complete task specification. Do not name only
$codex-handoff; let codex-handoff choose the smallest effective subagent team instead of prescribing its manifest
here. Retain the resolved directory for --before-work-skill when validating and publishing so the generated Codex
prompt also names the skill and directs the receiving session to load it before any task work. Stop before writing the
handoff if the installed skill cannot be resolved.
Tailor the body to its category. An implementation handoff specifies the intended change, data flow, and compatibility. An investigation handoff specifies the question or symptom, available evidence, reproduction or observation method, and the decision the findings must support. A research handoff specifies questions, sources or evidence to collect, alternatives, and recommendation criteria. An audit handoff specifies the assessed surface, criteria, evidence method, and severity or prioritization model. An operations handoff specifies preconditions, ordered state transitions, authority boundaries, observability, and rollback or recovery.
For a cross-repository handoff, add a ## Repository order section with the single bundle promote command above a
numbered sequence; retain the explicit bundle fallback alongside it. Its first item must name the repository to tackle
first; every item must name the canonical root, role, exact write scope, prerequisite or handoff condition,
repository-local validation, and its own ready-to-run ai-coord start command. Also state the combined acceptance
criteria. Use literal repository-relative paths without globs; use directories only with --recursive. Use direct
transcript excerpts when exact wording is material; otherwise summarize relevant context to keep the handoff compact.
Leave no placeholders, open task choices, or references that require the old chat. The CLI requires the exact line
## Repository order in every cross-repository draft.
When placement or the repository set is uncertain, pre-validate before investing in the body. Pass every involved
repository with --repo; for cross-repository work, pass the first repository to tackle as --launch-repo. Omit
--launch-repo only when exactly one repository is involved and its default is suitable:
ai-handoff create --check \
--repo '<candidate-repository>' \
[--repo '<additional-repository>' ...] \
[--launch-repo '<first-repository-to-tackle>'] \
[--before-work-skill '<resolved-codex-handoff-directory>'] \
--category '<task-category>' \
--task '<concise-task>' \
'<HANDOFF_NAME.md>'This validates the repository roots, optional launch repository, category, filename, target placement, and required
ignore rule without reading a draft or writing anything. For a complex handoff, include --before-work-skill with the
resolved absolute codex-handoff directory; for a simple handoff, omit it. The option validates that the directory is
absolute and contains a readable SKILL.md. The command prints tab-separated target, launch_repo, and category
rows.
Publish with one call after the body is complete:
ai-handoff create \
--repo '<candidate-repository>' \
[--repo '<additional-repository>' ...] \
[--launch-repo '<first-repository-to-tackle>'] \
[--before-work-skill '<resolved-codex-handoff-directory>'] \
--category '<task-category>' \
--task '<concise-task>' \
--draft '<scratch-draft-path>' \
'<HANDOFF_NAME.md>'ai-handoff canonicalizes each repository to its physical Git toplevel and deduplicates them. The optional launch
repository must be involved; with exactly one repository it defaults to that repository. For a complex handoff, pass the
same --before-work-skill value used during validation; this appends a final prompt sentence that directly names
<resolved-codex-handoff-directory>/SKILL.md and requires loading it before any task work. It validates the draft,
appends YAML frontmatter recording category, created, launch_repo, repos, origin, and task, plus the fixed
category, execution-status, and cleanup contracts, then atomically publishes a new target without overwriting and copies
the generated Codex command after pbcopy/pbpaste readback verification. Errors are written to stderr with an
ai-handoff: prefix; usage errors exit 2 and operational errors exit 1. On a correctable validation error, fix the
draft or arguments and rerun the same command: failure leaves no handoff behind. There is no temporary run directory,
cancel command, or manual target cleanup.
The appended ## Handoff cleanup section contains one command:
ai-handoff archive '<absolute-handoff-path>'The receiving agent runs that command only after completing the handoff. It archives to
$HOME/.local/share/task-handoffs/archive/<origin-name>/, where <origin-name> is the basename of the directory
containing .ai; a collision receives a UTC _YYYY_MM_DD_HHMMSS suffix. This skill never archives handoffs itself.
For noninteractive ai-coord findings triage, uppercase the finding ID only in the deterministic filename
FINDING_<UPPERCASE_ID>.md. Preserve the ledger ID's original spelling in the exact machine-readable line
Source finding: <ID> in the semantic draft body, then publish without clipboard access:
ai-handoff create --no-clipboard \
--repo '<candidate-repository>' \
--category '<task-category>' \
--task '<concise-task>' \
--draft '<scratch-draft-path>' \
'FINDING_<UPPERCASE_ID>.md'This mode keeps publication and structural validation but skips pbcopy and pbpaste. The autonomous triage worker
runs as an ai-coord delegate that rejects lifecycle commands, so it skips ai-coord draft and the promote command and
records only the explicit ai-coord start '<label>' '<path>'... (or
ai-coord bundle start '<label>' '<absolute-path>'...) command over the scope union. Never overwrite an existing
deterministic finding handoff: resolve the existing handoff before creating another one. When creating a finding handoff
interactively rather than through the autonomous triage runtime, run the following only after successful publication so
the ledger record moves from pending to handed-off. Preserve the ledger ID's original spelling:
ai-coord finding handoff '<original-id>' --path '.ai/task-handoffs/FINDING_<UPPERCASE_ID>.md'Read the tab-separated stdout rows as the final record: handoff, launch_repo, category, and command. Never
execute the command.
Report
On success, finish with ### ✅ Task handoff ready — <task>. List the final record's handoff path, canonical launch
repository, category, selected execution approach, and exact Codex command in one code block. Do not repeat the handoff
body or mention clipboard copying or verification.
For a blocker, finish with ### ⛔ Task handoff not written — <reason> and state that no handoff file was created.
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.

