# Handover Kit

> A handover template, takeover protocol and checker so a new coding session continues where the last one stopped, with exact errors, absolute paths and no pasted keys.

Handover Kit is a free AI agent skill on Agensi by sp1e. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [sp1e](https://www.agensi.io/creators/sp1e)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/handover-kit
- Tags: handover, session-continuity, context-window, compaction, claude-code

## About this skill

Long coding sessions end in a summary, and the next session starts from that summary. When the summary leaves out the uncommitted files, paraphrases the error or lists the next steps in no order, the new session spends its first hour rediscovering the state.

Handover Kit gives the agent a fixed seven-section template: state, done, decisions, files, errors and fixes, next steps and standing rules. A takeover protocol tells the receiving session to read the handover, run git status and git log, run the tests before changing anything, separate committed from uncommitted work, and write down what is verified and what is only claimed.

A checker script reads the finished handover and reports missing or misordered headings, empty sections, unnumbered steps, error text that is not quoted in backticks, file lines without an absolute path, and quoted errors that do not appear word for word in your session log. It also flags strings shaped like API keys, tokens, private keys and passwords in URLs, and prints only the kind and a masked prefix. It handles LF and CRLF files, a byte order mark, UTF-16 logs, and paths with spaces or non-ASCII letters.

For Claude Code there is a section to paste into `CLAUDE.md`. Claude Code reads it when it compacts a long session, so every compaction summary comes out in the same seven sections. The agent adds it only when you ask.

The script uses only the Python standard library, makes no network calls and changes no files.

Where it stops: the checker tests structure and compares quoted errors with a log you pass. It cannot tell whether a step or decision in the handover is true. Without `--log`, quoted errors are not compared with anything. The secret check knows common key shapes; a secret in another shape can pass.

## Requires

- Python
- Git

## Known limitations

- The checker tests structure, not truth. A wrong path or step that is well formatted passes.
- Quoted errors are compared with a log only when you pass `--log`.
- The secret check matches known key shapes and long values assigned to names such as `password` or `api_key`. A secret in another shape can pass.
- Only Claude Code documents that its compaction reads a section in `CLAUDE.md`; other agents are untested.
- Tested on Windows 11 with Python 3. macOS and Linux untested.

## 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 Handover Kit 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

### Does it work outside Claude Code?

Yes. The template and protocol are plain Markdown, and the checker is one Python file. Any agent that can run Python can use it. Only the compaction section is specific to Claude Code.

### Does the checker send or change anything?

No. It reads the files you pass and prints findings. It makes no network calls and writes nothing.

### What if a section has nothing to report?

Write `None.` under it. An empty section fails the check so the next session knows it was not forgotten.

### Does it catch API keys pasted into a handover?

It flags strings shaped like API keys, tokens, private keys and passwords in URLs, and long values assigned to names such as `api_key`. The output gives the kind and a masked prefix, never the value.

### Can every compaction produce a handover?

In Claude Code, yes. Paste the section from `references/compact-instructions.md` into `CLAUDE.md` and each compaction summary uses the seven sections. For a single compaction, the same file has a `/compact` line.

---

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.
