Agent Handoff

    1

    Safely hand off unfinished coding work between AI agents or sessions. Capture verified Git state, preserve context, and detect repository changes before resuming.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Agent Handoff

    Example session with this skill installed

    I need to switch to a different agent. Prepare a handoff of my work on the auth-fix branch.

    • Read your context and instructions
    • Compiled the agent handoff

    I have prepared the handoff report for your work on the auth-fix branch. This captures the current verified state and pending actions.

    Handoff Report: auth-fix

    Goal and constraints

    • Fix the JWT expiration race condition in services/auth.ts.
    • Constraint: Do not modify the SessionProvider interface.

    Done

    • Verified: Identified the millisecond rounding error in token-validator.ts via npm test.
    • Verified: Created a reproduction test case in tests/auth.test.ts.
    • Assumption: The race condition only occurs when the system clock drifts more than 500ms.

    Git state

    • HEAD: a1b2c3d4e5f6g7h8i9j0
    • Branch: auth-fix
    • Status:
     M services/auth.ts
    ?? tests/auth.test.ts
    
    • Diff Stat: services/auth.ts | 12 ++++--------

    Changed files

    • services/auth.ts: Adjusted expiration calculation logic.
    • tests/auth.test.ts: New test suite for race condition reproduction.

    Checks

    • npm test: Passed (only the new test case).
    • lint: Not run since last change.

    Blockers

    • Need clarification on the maximum allowable clock drift for production servers.

    Next actions

    1. Run lint on services/auth.ts.
    2. Update the calculateDrift function to use Date.now() consistently.
    3. Verify the fix against the reproduction test.

    Next steps

    1. Copy the report above.
    2. Paste it into your next AI agent session.
    3. Use the "Resume" command in the new session to verify the state.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Switching AI coding agents or resuming unfinished work should not mean trusting an outdated summary. Agent Handoff helps you preserve context, capture the current Git state, and verify that the repository still matches before work continues.

    What it does

    • Prepare a handoff: Record the goal, verified progress, assumptions, changed files, checks, blockers, and next actions.
    • Capture Git state: Record HEAD, branch, working-tree status, and diff statistics using read-only Git commands.
    • Verify before resuming: Compare the handoff with the live repository and stop when recorded state differs.
    • Separate facts from assumptions: Require evidence for completed work instead of treating unverified claims as facts.
    • Protect sensitive information: Instruct the agent to exclude credentials, secrets, personal data, full diffs, and lengthy logs.

    How to use it

    1. Ask your coding agent to use Agent Handoff to prepare a handoff.
    2. Review the generated Markdown report.
    3. Give the report to a new session or another coding agent.
    4. Explicitly invoke Agent Handoff to resume and verify the repository before continuing.

    Who it is for

    Developers switching between AI coding agents, pausing complex work, or handing unfinished tasks to another session.

    Tested environments

    • Claude Code: skill activation and mismatch-stop behavior tested.
    • Codex CLI: explicit invocation and expected handoff behavior tested.
    • Other agents and Agensi MCP delivery: not yet independently verified.

    Important limitations

    Agent Handoff is a report-only skill. It does not launch or coordinate agents, save or restore code, automatically redact files, commit, stash, reset, or repair mismatches. It relies on the coding agent following its instructions and on Git being available in the project.

    Version 1.0.0. Plain Markdown package with no scripts, executables, dependencies, or network requests.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Prompt & Skill Engineering.

    Report-only. Does not perform Git writes, commits, or stashes. User must manually move the Markdown text between sessions. Stops and waits on Git state mismatch.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    • Free with an Agensi account

    Software
    Git

    Uses read-only Git commands to inspect repository state. Reads handoff documents and relevant project files. Writes a new handoff Markdown file only when explicitly requested by the user. Does not modify source code, commit, push, reset, or access the network.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    Terminal access is used for read-only Git checks. File access is needed to read project context and handoff reports. Write access is used only to create a handoff Markdown file when explicitly requested. No network access, credentials, commits, pushes, or source-code modifications are required.

    Listed6 days ago
    Updated3 days ago

    What's inside

    Frequently Asked Questions

    Unlike a simple progress summary, Agent Handoff records verified Git state, completed work, open tasks, and relevant project context. During Resume, it compares the recorded repository state with the current state and stops if a mismatch is detected. This helps prevent agents from continuing with outdated assumptions.

    Agent Handoff is designed for AI coding agents that support SKILL.md instructions and can access Git and project files. Tested with Claude Code and Codex CLI. Explicit invocation is recommended for Codex. Compatibility with other agents has not yet been independently verified.

    The skill uses read-only Git commands and does not require credentials or network access. It does not automatically detect or redact all sensitive information. Review handoff reports before sharing them, and never include passwords, API tokens, private keys, or other secrets.

    No. Agent Handoff is a reporting and verification skill. It does not commit, push, stash, reset, or switch Git branches. It uses read-only Git commands and creates a Markdown handoff report only when explicitly requested.

    During Resume, the skill compares the recorded Git HEAD, branch, working-tree status, and diff statistics with the current repository state. If a mismatch is detected, it stops and asks the user to review the changes before continuing. This is a Git-state consistency check, not a complete file-integrity guarantee.

    You receive Agent Handoff 1.0.0 as a Markdown-based SKILL.md package, including Prepare and Resume workflows, Git-state verification instructions, practical examples, and documentation. The package contains no executables or external dependencies and does not require paid API keys or additional subscriptions.

    New in Prompt & Skill Engineering

    Free