Tooluck logoTooluck
SKILL.md

session-handoff

Agent skill fromsoftaworks/agent-toolkit

Creates comprehensive handoff documents for seamless AI agent session transfers. Triggered when: (1) user requests handoff/memory/context save, (2) context window approaches capacity, (3) major task milestone completed, (4) work session ending, (5) user says 'save state', 'create handoff', 'I need to pause', 'context is getting full', (6) resuming work with 'load handoff', 'resume from', 'continue where we left off'. Proactively suggests handoffs after substantial work (multiple file edits, complex debugging, architecture decisions). Solves long-running agent context exhaustion by enabling fresh agents to continue with zero ambiguity.

How to install session-handoff

install session-handoff
# install the agent-toolkit pack with the skills CLI
npx skills add softaworks/agent-toolkit

# or add only this skill to Claude Code: copy the folder

skills/session-handoff/

# into

~/.claude/skills/session-handoff/ (all projects)

.claude/skills/session-handoff/ (one project)

skills/session-handoff/SKILL.md

MITFull file
1# Handoff
2
3Creates comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves the long-running agent context exhaustion problem.
4
5## Mode Selection
6
7Determine which mode applies:
8
9**Creating a handoff?** User wants to save current state, pause work, or context is getting full.
10- Follow: CREATE Workflow below
11
12**Resuming from a handoff?** User wants to continue previous work, load context, or mentions an existing handoff.
13- Follow: RESUME Workflow below
14
15**Proactive suggestion?** After substantial work (5+ file edits, complex debugging, major decisions), suggest:
16> "We've made significant progress. Consider creating a handoff document to preserve this context for future sessions. Say 'create handoff' when ready."
17
18## CREATE Workflow
19
20### Step 1: Generate Scaffold
21
22Run the smart scaffold script to create a pre-filled handoff document:
23
24```bash
25python scripts/create_handoff.py [task-slug]
26```
27
28Example: `python scripts/create_handoff.py implementing-user-auth`
29
30**For continuation handoffs** (linking to previous work):
31```bash
32python scripts/create_handoff.py "auth-part-2" --continues-from 2024-01-15-auth.md
33```
34
35The script will:
36- Create `.claude/handoffs/` directory if needed
37- Generate timestamped filename
38- Pre-fill: timestamp, project path, git branch, recent commits, modified files
39- Add handoff chain links if continuing from previous
40- Output file path for editing
41
42### Step 2: Complete the Handoff Document
43…

Excerpt shown under the repository's MIT license.

More skills in agent-toolkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates