# Handoff — Verified Session Knowledge Transfer

> Verified knowledge transfer between Claude Code sessions. Prevent context loss with source-backed questions, grading, and documentation repair.

Handoff — Verified Session Knowledge Transfer is a free AI agent skill on Agensi by Ivan Popov, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ivan Popov](https://www.agensi.io/creators/creator-1p0p0v)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/handoff-verified-session-knowledge-transfer
- Tags: ai-agents, claude-code, context-management, workflow-automation

## About this skill

Context loss between long-running Claude Code sessions can lead to repeated work, forgotten decisions, and incorrect assumptions. Handoff provides a structured, verifiable knowledge-transfer protocol between two Claude Code sessions running side by side. Instead of assuming the new session understands the project, it tests that understanding before work resumes.

### What it does
- **State consolidation** captures critical project decisions, constraints, blockers, and next steps in a structured handoff document.
- **Knowledge interviewing** generates targeted questions from the outgoing session's active context.
- **Source-backed answers** require the incoming session to cite project documentation or explicitly acknowledge missing information.
- **Automated grading** evaluates answers against the outgoing session's knowledge, identifying misunderstandings, missing information, and outdated documentation.
- **Documentation repair** corrects identified documentation gaps and inaccuracies before the handoff is approved.
- **Versioned handoffs** commits handoff artifacts using Git, providing a traceable record of the process.

### How it works
1. **Pack** — Run `/handoff pack` in the outgoing session to prepare the handoff document and interview.
2. **Unpack** — Run `/handoff unpack` in a fresh session to read the specified documentation and answer the interview.
3. **Check** — Run `/handoff check` in the original session to evaluate answers, repair documentation when necessary, and determine whether the transfer is complete.

### Frameworks & tools
Designed specifically for Claude Code. Requires Git and two concurrent Claude Code sessions with access to the same project directory.

### Why this beats prompting it yourself
Traditional session handoffs rely on summaries and assume the receiving agent has understood them. Handoff introduces an explicit verification loop: the outgoing session examines the incoming session's understanding while its original context is still available.

Unlike passive summaries, Handoff can identify misunderstandings and documentation defects before they propagate into subsequent work.

### Use cases
- Continuing complex software development across Claude Code sessions.
- Preserving critical decisions and constraints during context-window transitions.
- Reducing repeated investigation and incorrect assumptions in long-running projects.
- Detecting stale or incomplete project documentation during session transitions.

### Known limitations
Handoff evaluates only the knowledge covered by its generated questions. Verification depends on the outgoing session's remaining context and is not an independent guarantee of correctness.

Both sessions must remain available until verification completes, and the outgoing session must not be cleared before grading. Git is required for versioned handoff artifacts.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Handoff — Verified Session Knowledge Transfer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill prevent 'context drift' when I switch between Claude Code sessions?

This skill eliminates context loss and hallucinations that occur when starting a fresh session. It uses a structured "interview" and "grading" system to ensure the new agent actually understands the logic and intent of the previous session before work resumes.

### Which AI agents and environments are compatible with the handoff protocol?

The skill is purpose-built for the Claude Code CLI. It relies on local filesystem access and Git for state tracking, making it ideal for developers working in terminal-based agent environments.

### Do I need to set up an external database or cloud service to store my session state?

No, this skill is designed to work within your existing local repository. It uses Git to version the handoff state, allowing you to audit the knowledge transfer through your standard version control history.

### What exactly is included in the purchase of the handoff skill?

You receive the full skill package for Claude Code, including the commands for state packing, interviewing, and automated grading. This includes all necessary logic to bundle context and verify the alignment of the incoming session.

### Can I use this to transfer work from one version of Claude to another (e.g., Sonnet to Opus)?

Yes, the protocol works seamlessly when switching models. It is actually a primary use case, allowing you to move from a faster model for boilerplate to a more reasoning-heavy model for complex debugging without losing progress.

### What are the technical requirements for the 'check' and 'grade' functions to work?

Both Claude sessions must have access to the same local filesystem or Git repository. This ensures the 'unpack' command can read the state files and interview questions generated by the 'pack' command.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
