- Home
- Skills
- Prompt & Skill Engineering
- Agent Handoff
Agent Handoff
Safely hand off unfinished coding work between AI agents or sessions. Capture verified Git state, preserve context, and detect repository changes before resuming.
Free
Works with the AI Agents you already use
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
SessionProviderinterface.
Done
- Verified: Identified the millisecond rounding error in
token-validator.tsvianpm 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
- Run
lintonservices/auth.ts. - Update the
calculateDriftfunction to useDate.now()consistently. - Verify the fix against the reproduction test.
Next steps
- Copy the report above.
- Paste it into your next AI agent session.
- 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
- Ask your coding agent to use Agent Handoff to prepare a handoff.
- Review the generated Markdown report.
- Give the report to a new session or another coding agent.
- 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.
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
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 forever
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Free with an Agensi account
Requires
Permissions
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.