# verified handoff

> Ensure seamless session transitions by verifying git state, test results, and uncommitted changes across AI agents.

verified handoff is a paid AI agent skill on Agensi by Giuseppe Bellamacina, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Giuseppe Bellamacina](https://www.agensi.io/creators/giuseppe-bellamacina)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.1
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/verified-handoff
- Tags: ai-agents, git, handoff, context-management, testing

## About this skill

Development sessions often end abruptly due to token limits, context window exhaustion, or the need to switch between different AI tools. When you resume, the new agent usually guesses the state of the repo, often building on stale assumptions or hallucinated progress. This skill provides a verifiable bridge between sessions, ensuring no context is lost and every claim is backed by the current state of the repository.

### What it does
- **Evidence collection** scans git commits, file hashes, and test results to prove what was actually accomplished.
- **Context checkpointing** records uncommitted work and the specific reasoning behind architectural decisions that code alone cannot explain.
- **Truth verification** re-validates handoff claims upon resumption, alerting you if files changed or tests started failing in the interim.
- **Cross-agent migration** generates standardized Markdown and JSON reports that Claude Code, Cursor, or Gemini CLI can ingest to resume work instantly.

### How it works
1. **Save session** by running `node scripts/handoff.mjs save` to capture current progress, test status, and uncommitted changes.
2. **Review claims** as the skill generates a report tagging items as `verified`, `believed`, or `unverified` based on hard evidence.
3. **Resume work** by running `node scripts/handoff.mjs check` in a new session to verify which previous claims still hold true against the live repo.
4. **Follow the brief** to see a summary of confirmed progress and the immediate next step in the development plan.

### Frameworks & tools
This tool requires Node.js 18+ and Git. It operates locally within any git repository and is compatible with terminal-based AI agents like Claude Code, as well as IDE-integrated tools like Cursor.

### Why this beats prompting it yourself
Manual handoffs are prone to hallucinations where the agent claims a feature is finished when the tests actually fail. This skill automates the verification process, using file hashes and shell execution to ensure the "Next Step" is based on reality rather than session memory.

### Use cases
- Resuming a complex refactor after hitting daily LLM usage limits.
- Transferring work from a CLI agent to a GUI-based IDE agent.
- Checking out a coworker's branch and instantly seeing their "verified" progress.
- Documenting architectural "why" decisions that are not captured in commit messages.

### Known limitations
Requires Node.js 18+ and a local git environment. Verification of claims requires the skill script to be accessible to the agent in the current environment.

## Requires

- Node.js
- 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 verified handoff skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does 'Verified Handoff' prevent AI agents from hallucinating progress during session transitions?

This skill prevents 'context hallucination' by creating a verifiable bridge between AI sessions. It uses file hashes, git status, and test execution to prove what was actually finished, ensuring the next agent doesn't build on false assumptions or stale code.

### Which AI agents and IDEs are compatible with this handoff system?

The skill is designed to be agent-agnostic, generating standardized Markdown and JSON reports. It works seamlessly with terminal-based agents like Claude Code and Gemini CLI, as well as IDE-integrated tools like Cursor and GitHub Copilot.

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

You will receive the core handoff scripts, a standardized reporting template, and integration documentation. The package includes the logic necessary to scan git states, verify file hashes, and generate the 'verified' vs 'unverified' progress reports.

### What are the technical requirements to get this running in my local development environment?

Setup is minimal: you only need Node.js 18+ and a local Git repository. Simply add the script to your project, and your agent can begin using the `save` and `check` commands immediately to manage session state.

### Why should I use this instead of just asking the AI to summarize its work before I switch tools?

Unlike a manual prompt, this skill performs 'Truth Verification' by running actual shell commands to validate claims. If an agent claims a feature is done but the tests fail or file hashes don't match, the skill flags the discrepancy so you don't inherit broken context.

---

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.
