skills/session-transfer/SKILL.md
Create and resume from session handoff documents for seamless AI agent session transfers. Triggers on save state, create handoff, I need to pause, context is getting full, load handoff, continue where we left off. Solves long-running agent context exhaustion by preserving complete context across sessions.
npx skillsauth add fatih-developer/fth-skills session-transferInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Creates comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves the long-running agent context exhaustion problem.
CREATE mode? User wants to save current state, pause work, or context is getting full.
RESUME mode? User wants to continue previous work, load context, or mentions an existing handoff.
Proactive suggestion? After substantial work (5+ file edits, complex debugging, major decisions), suggest:
"We've made significant progress. Consider creating a handoff document to preserve this context for future sessions. Say 'create handoff' when ready."
Run the smart scaffold script:
python skills/session-transfer/scripts/create_handoff.py [task-slug]
Example: python skills/session-transfer/scripts/create_handoff.py implementing-user-auth
For continuation handoffs (linking to previous work):
python skills/session-transfer/scripts/create_handoff.py "auth-part-2" --continues-from 2024-01-15-auth.md
The script will:
.claude/handoffs/ directory if neededOpen the generated file and fill in all sections. Prioritize:
Use the template in references/handoff-template.md for guidance.
Run the validation script:
python skills/session-transfer/scripts/validate_handoff.py <handoff-file>
The validator checks:
[TODO: ...] placeholders remainingDo not finalize a handoff with secrets detected or score below 70.
Report to user:
List handoffs in the current project:
python skills/session-transfer/scripts/list_handoffs.py
This shows all handoffs with dates, titles, and completion status.
Before loading, check how current the handoff is:
python skills/session-transfer/scripts/check_staleness.py <handoff-file>
Staleness levels:
The script checks:
Read the relevant handoff document completely before taking any action.
If handoff is part of a chain (has "Continues from" link), also read the linked previous handoff for full context.
Follow the checklist in references/resume-checklist.md:
Start with "Immediate Next Steps" item #1 from the handoff document.
Reference:
As you work:
--continues-from to chain themFor long-running projects, chain handoffs together:
handoff-1.md (initial work)
↓
handoff-2.md --continues-from handoff-1.md
↓
handoff-3.md --continues-from handoff-2.md
Each handoff in the chain:
When resuming from a chain, read the most recent handoff first, then reference predecessors as needed.
Handoffs are stored in: .claude/handoffs/
Naming convention: YYYY-MM-DD-HHMMSS-[slug].md
Example: 2024-01-15-143022-implementing-auth.md
| Script | Purpose |
|--------|---------|
| create_handoff.py [slug] [--continues-from <file>] | Generate new handoff with smart scaffolding |
| list_handoffs.py [path] | List available handoffs in a project |
| validate_handoff.py <file> | Check completeness, quality, and security |
| check_staleness.py <file> | Assess if handoff context is still current |
references/handoff-template.md — Complete template structure with guidancereferences/resume-checklist.md — Verification checklist for resuming agentstools
Create, optimize, critique, and structure prompts for AI systems. Use this skill whenever the user is designing or improving a prompt, system prompt, coding prompt, image prompt, evaluation rubric, agent prompt, workflow prompt, or MCP-oriented prompt package. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, or prompt architecture.
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.