resume-handoff
Skill0 starsChanged 10 months agoMITView on GitHub
Resume work from previous handoff documents in new sessions. Three-phase process - analyze handoff, present findings, then implement. Use when starting a session that continues previous work.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- EfiPerez/claude-code-skillstheir own version, first seen Nov 1, 2026
- desbma/agent-skillstheir own version, first seen Oct 27, 2026
- andymartinezot/claude-skillstheir own version, first seen Oct 20, 2026
- parcadei/Continuous-Claudetheir own version, first seen Oct 17, 2026
- koruworks/skillstheir own version, first seen Oct 15, 2026
- parcadei/Continuous-Claude-v2their own version, first seen Oct 8, 2026
Used with
Projects with it also use handoff.
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.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- parcadei/Continuous-Claude★ 3.9ksame name
- parcadei/Continuous-Claude-v2★ 3.9ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- EfiPerez/claude-code-skills★ 4same name
- EnkrateiaLucca/skills★ 3same name
- corticalstack/flow★ 1same name
- desbma/agent-skills★ 1same name
- sduhantao-maker/resume-handoff★ 1same name
- andymartinezot/claude-skills★ 0same name
- koruworks/skills★ 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 repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- argocd-opsSkill
- codexSkill
- convergent-reviewSkill
- create-handoffSkill
- create-planSkill
- create-researchSkill
- init-ai-docsSkill
- init-central-docsSkill
- jiraSkill
- loki-debugSkill
- pr-statusSkill
- tatari-turboliftSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
9
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 31
Search current location first, then fall back to main repo for older handoffs:
- Distinctive: line 65
If no path is provided, prompt the user:
- Distinctive: line 67
Ask for the path to the handoff file
- Distinctive: line 70
Prefer worktree handoffs over main repo when paths conflict
- Distinctive: line 76
Read the complete handoff document: - Do NOT delegate to sub-agent
- Distinctive: line 83
Verify current state: - Check that codebase matches documentation:
- Distinctive: line 139
Always verify: - Don't assume handoff state matches current reality
- Distinctive: line 142
Read directly: - Do NOT delegate critical file reading to sub-agents
- Distinctive: line 143
Maintain continuity: - Use task list to track progress against handoff goals
“Common” is measured: kept by at least 6 in 10 of the 10 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
Resume Work from Handoff Document
Adapted from humanlayer handoff pattern
Resume work based on a handoff document containing prior context and learnings.
Input
The handoff file path is provided as: $ARGUMENTS
Path Detection
Search current location first, then fall back to main repo for older handoffs:
# Initialize search locations
HANDOFF_DIRS=()
# 1. Check current repo location first (works in both worktree and main repo)
if [[ -d "ai_docs/handoffs" ]]; then
HANDOFF_DIRS+=("ai_docs/handoffs")
fi
# 2. If in worktree, also check main repo for older handoffs
if [[ -f .git ]]; then
MAIN_REPO=$(git rev-parse --git-common-dir | sed 's|/.git$||')
if [[ -d "$MAIN_REPO/ai_docs/handoffs" ]]; then
HANDOFF_DIRS+=("$MAIN_REPO/ai_docs/handoffs")
echo "Also searching main repo at: $MAIN_REPO/ai_docs/handoffs"
fi
fi
# 3. If in main repo, also check worktrees for handoffs created there
if [[ -d .git ]]; then
# This is main repo (not worktree), check for worktrees
while IFS= read -r worktree_line; do
# Parse worktree path (first field before space)
worktree_path=$(echo "$worktree_line" | awk '{print $1}')
if [[ -d "$worktree_path/ai_docs/handoffs" ]]; then
HANDOFF_DIRS+=("$worktree_path/ai_docs/handoffs")
echo "Also searching worktree at: $worktree_path/ai_docs/handoffs"
fi
done < <(git worktree list | tail -n +2) # Skip main worktree (first line)
fiIf no path is provided, prompt the user:
- Ask for the path to the handoff file
- List available handoffs from ALL search locations using
ls -t(most recent first) - Show which location each handoff is from (current, legacy, main repo, or worktree)
- Prefer worktree handoffs over main repo when paths conflict
Three-Phase Process
Phase 1: Analysis
- Read the complete handoff document - Do NOT delegate to sub-agent
- Read all referenced artifacts - Any documents, plans, or specs mentioned
- Extract key information:
- Task statuses (completed, in progress, planned)
- Learnings and insights
- Recent changes made
- Next steps identified
Verify current state - Check that codebase matches documentation:
git status # Current branch and changes git log -1 # Verify commit matches- Spot-check that documented changes exist
Phase 2: Presentation
Present a synthesized analysis to the user:
## Handoff Analysis
### Original Tasks
[List tasks from handoff with their documented statuses]
### Validated Learnings
[Key learnings verified against current codebase state]
### Verified Changes
[Recent changes confirmed to exist in the codebase]
### Artifact Review
[Summary of referenced documents/plans that were read]
### Recommended Actions
[Prioritized list of next steps based on handoff guidance]
### Potential Issues
[Any discrepancies between handoff state and current state, or blockers identified]Wait for user confirmation before proceeding to Phase 3.
Phase 3: Implementation
After user confirmation:
- Create prioritized tasks using TaskCreate based on Action Items & Next Steps
- Begin work on the highest priority items
- Continuously reference the handoff document for:
- Documented patterns and approaches
- Known pitfalls to avoid
- Architectural decisions to follow
Key Principles
- Always verify - Don't assume handoff state matches current reality
- Present before acting - Get user buy-in before starting work
- Apply learnings - The handoff contains valuable context; use it
- Read directly - Do NOT delegate critical file reading to sub-agents
- Maintain continuity - Use task list to track progress against handoff goals
Common Scenarios
Clean Continuation
Handoff state matches current state exactly. Proceed with documented next steps.
Diverged Codebase
Changes have been made since handoff. Note differences, ask user how to reconcile.
Incomplete Work
Previous work was interrupted. Identify where to resume based on task statuses.
Stale Handoff
Handoff is outdated (significant time passed, major changes). Recommend fresh assessment rather than following old guidance.
Schema Compatibility
This skill handles both schema versions:
New schema (ai_docs/):
schema_version: 1
type: handoff
# ... full schema fieldsLegacy schema (pre-ai_docs):
type: handoff
date: ...
topic: ...
# ... minimal fieldsBoth have type: handoff so detection works. The skill should not fail on missing fields - gracefully handle whatever is present.
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.

