Skip to content

Structured handoff documents that let a fresh AI agent resume long-running work with minimal ambiguity.

CCM score
54 of 100
skills.sh installs
4.3K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two modes: creating a handoff to save state and resuming from an existing one, with staleness checks before reload
  • Includes 4 scripts: create_handoff.py for scaffolding, validate_handoff.py for completeness and secret detection, list_handoffs.py, and check_staleness.py
  • Enforces a hard stop on finalizing any handoff with detected secrets or a validation score below 70
  • Designed for multi-session projects, with handoffs chained via --continues-from to preserve context lineage

Install

$ npx -y skills add softaworks/agent-toolkit --skill session-handoff -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Handoff

Creates comprehensive handoff documents that enable fresh AI agents to seamlessly continue work with zero ambiguity. Solves the long-running agent context exhaustion problem.

Mode Selection

Determine which mode applies:

Creating a handoff? User wants to save current state, pause work, or context is getting full.

  • Follow: CREATE Workflow below

Resuming from a handoff? User wants to continue previous work, load context, or mentions an existing handoff.

  • Follow: RESUME Workflow below

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."

CREATE Workflow

Step 1: Generate Scaffold

Run the smart scaffold script to create a pre-filled handoff document:

python scripts/create_handoff.py [task-slug]

Example: python scripts/create_handoff.py implementing-user-auth

For continuation handoffs (linking to previous work):

python scripts/create_handoff.py "auth-part-2" --continues-from 2024-01-15-auth.md

Details

Repository
github.com/softaworks/agent-toolkit
Categories
Memory & Context, Agent Workflow & Planning

More from softaworks/agent-toolkit

All 40

Similar to Session Handoff

More Memory & Context