handoff-receiver
Skill1 starsChanged 5 months agoMITView on GitHub
Receive a prior session handoff and continue execution safely by validating repo state, resuming from next steps, and refreshing the handoff artifact.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Fei2-Labs/skill-genieedited, first seen Sep 24, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Fei2-Labs/skill-genie★ 1294% same
Wrote their own version · 0
None found.
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 repository24 other files it gives its agents.
- aegis-protocolSkill
- ai-csuiteSkill
- browser-driverSkill
- chinese-humanizerSkill
- close-loopSkill
- de-ai-englishSkill
- dev-inboxSkill
- foxcode-openclawSkill
- git-cryptSkill
- image-prompt-engineerSkill
- init-rulesSkill
- linuxdo-applicationSkill
- npm-publishSkill
- omnidebug-autopilotSkill
- psychology-masterSkill
- refactor-agents-mdSkill
- research-to-wechatSkill
- rtk-token-saverSkill
- session-handoffSkill
- shared-memorySkill
- stalwart-dokploy-resend-relaySkill
- web-compliance-builderSkill
- wechat-compliance-checkSkill
- wordpress-vps-installSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. About 0 are common, 18 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈18
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when you are the new skill/agent receiving work from a previous session handoff file.
- Very specific: line 17
Prefer .trellis/handoffs/CURRENT when present.
- Very specific: line 20
Read the matching INDEX.md in the same handoff directory.
- Distinctive: line 21
Only if no pointer exists, fall back to the latest legacy handoff file.
- Distinctive: line 38
If no handoff is found, stop and ask one minimal question requesting the handoff path.
- Very specific: line 42
Read INDEX.md and classify streams from the table only.
- Very specific: line 53
if CURRENT points to a handoff missing from INDEX.md, treat that as an index drift bug and ask one focused question before continuing.
- Distinctive: line 56
Do not scan the handoff directory in the normal path.
- Distinctive: line 59
After locating the active handoff, mark it before execution:
- Distinctive: line 68
Read these sections in this order:
- Distinctive: line 84
Run objective checks before touching code:
- Distinctive: line 95
If mismatch is small and explainable, continue.
- Distinctive: line 96
If mismatch is major (different branch, unrelated deltas, missing files), ask one minimal clarification question before edits.
- Very specific: line 100
Start with Next Steps item #1.
- Distinctive: line 101
Keep scope fixed to handoff goal.
- Distinctive: line 102
Do not re-architect unless blocked by correctness.
- Distinctive: line 104
If blocked by an unresolved decision, ask exactly one focused question.
- Distinctive: line 110
Update the latest handoff file in place.
- Distinctive: line 112
Remove completed items; keep remaining items actionable.
- Distinctive: line 113
Keep content factual and concise.
- Very specific: line 114
If work is complete, set status: done and clear the matching CURRENT pointer.
- Very specific: line 115
If work is complete, update the matching INDEX.md row to status: done.
- Very specific: line 116
If work is paused and a fresh handoff is needed, create the new handoff, set the old file to status: paused, move CURRENT to the new file, …
- Very specific: line 117
If work is truly replaced by a new handoff in the same stream, set the old file to status: superseded, write superseded_by: <new path>, …
- Distinctive: line 119
Do not create extra summary files unless explicitly requested.
- Distinctive: line 123
When reporting takeover status, respond with:
- Very specific: line 163
Read CURRENT and detect the active path.
- Very specific: line 164
Read INDEX.md and surface the paused billing stream.
- Distinctive: line 166
Ask the user how to classify the orphan before continuing the active stream.
≈ “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
Handoff Receiver
Use this skill when you are the new skill/agent receiving work from a previous session handoff file.
Goal: continue delivery with minimal drift, no scope expansion, and clear state recovery.
Step 1: Locate the active handoff and index
- Prefer
.trellis/handoffs/CURRENTwhen present. - Otherwise use
docs/handoffs/CURRENTwhen present. - Otherwise use
CURRENTin project root. - Read the matching
INDEX.mdin the same handoff directory. - Only if no pointer exists, fall back to the latest legacy handoff file.
if [ -f ".trellis/handoffs/CURRENT" ]; then
cat .trellis/handoffs/CURRENT
echo ".trellis/handoffs/INDEX.md"
elif [ -f "docs/handoffs/CURRENT" ]; then
cat docs/handoffs/CURRENT
echo "docs/handoffs/INDEX.md"
elif [ -f "CURRENT" ]; then
cat CURRENT
echo "INDEX.md"
else
[ -f handoff.md ] && echo "handoff.md"
fiIf no handoff is found, stop and ask one minimal question requesting the handoff path.
Step 1.5: Read the compact index before opening any other handoff
Read INDEX.md and classify streams from the table only.
status: in_progressorstatus: openand matchesCURRENT→ active. Proceed.status: in_progressand does not matchCURRENT→ conflict. Ask the user which stream is authoritative.status: paused→ parallel stream. Surface it in takeover output, but do not execute it.status: doneorstatus: superseded→ archive. Skip.- any handoff row with
status: orphan→ open only that file'sGoalandNext Steps, then ask the user whether to mark itpaused, merge it, supersede it, or leave it as-is. - if
CURRENTpoints to a handoff missing fromINDEX.md, treat that as an index drift bug and ask one focused question before continuing.
Do not scan the handoff directory in the normal path. Directory scans are reserved for index repair only.
After locating the active handoff, mark it before execution:
status: in_progresstaken_over_at: <now>taken_over_by: handoff-receiverupdated_at: <now>
Step 2: Read only decision-critical sections first
Read these sections in this order:
GoalCurrent StateNext StepsDecisions MadeContext for the Next Session
Capture:
- in-scope objective
- current completion status
- first actionable next step
- explicit constraints and trade-offs
Step 3: Reconcile handoff vs repository reality
Run objective checks before touching code:
git rev-parse --abbrev-ref HEAD
git status --short
git diff --stat HEAD
git log --oneline -10Then compare with Files Changed and Commands Run in the handoff.
If mismatch is small and explainable, continue. If mismatch is major (different branch, unrelated deltas, missing files), ask one minimal clarification question before edits.
Step 4: Execute in strict order
- Start with
Next Stepsitem #1. - Keep scope fixed to handoff goal.
- Do not re-architect unless blocked by correctness.
- Re-run relevant validation commands listed in handoff.
- If blocked by an unresolved decision, ask exactly one focused question.
Step 5: Update handoff artifact before yielding
At pause/completion:
- Update the latest handoff file in place.
- Refresh
Current State,Next Steps, andErrors Encountered. - Remove completed items; keep remaining items actionable.
- Keep content factual and concise.
- If work is complete, set
status: doneand clear the matchingCURRENTpointer. - If work is complete, update the matching
INDEX.mdrow tostatus: done. - If work is paused and a fresh handoff is needed, create the new handoff, set the old file to
status: paused, moveCURRENTto the new file, and update both rows inINDEX.md. - If work is truly replaced by a new handoff in the same stream, set the old file to
status: superseded, writesuperseded_by: <new path>, moveCURRENTto the new file, and update both rows inINDEX.md.
Do not create extra summary files unless explicitly requested.
Output contract to user
When reporting takeover status, respond with:
Using handoff: <path>
## Goal
<one sentence>
## Current Step
<the exact Next Steps item being executed>
## Parallel Streams
<none OR one line per paused/orphan handoff>
## Blockers
<none OR one-line blocker>Anti-patterns
- Starting implementation before checking current git state.
- Ignoring
Decisions Madeand re-opening settled trade-offs. - Mixing new feature requests into handoff continuation.
- Updating many files before finishing
Next Stepsitem #1. - Writing a new handoff file when an existing one should be updated.
- Scanning the entire handoff directory when
CURRENTandINDEX.mdalready provide the active stream and compact metadata. - Reading the full body of every historical handoff when the index already provides status and goal summaries.
Example
Index state:
CURRENT→.trellis/handoffs/2026-05-22-12-40-open-core.mdINDEX.mdrow for onboarding saysstatus: orphanINDEX.mdrow for billing saysstatus: paused
Expected takeover flow:
- Read
CURRENTand detect the active path. - Read
INDEX.mdand surface the paused billing stream. - Open only the orphan onboarding handoff to read
GoalandNext Steps. - Ask the user how to classify the orphan before continuing the active stream.
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.

