Skip to content
Back to skills

Handoff

ASecurity

Build and consume handoff artifacts for multi-agent work. Use when switching between Claude, Codex, Cursor, or other AI agents.

  • 715 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 10, 2026
ai-agentsgobash

Works with

  • cursor
  • mcp

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add JordanCoin/codemap --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jordancoin-handoff/badge)](https://www.skillsdirectory.com/skills/jordancoin-handoff)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: handoff
description: Build and consume handoff artifacts for multi-agent work. Use when switching between Claude, Codex, Cursor, or other AI agents.
---

# Multi-Agent Handoff

## Building a handoff

```bash
codemap handoff .                 # Build + save full artifact
codemap handoff --json .          # Machine-readable for other tools
codemap handoff --prefix .        # Stable context only (hubs, configured file count)
codemap handoff --delta .         # Recent work only (changed files, risk, events)
```

## What's in a handoff

- **Prefix** (stable): configured project file count, hub summaries, changes rarely
- **Delta** (dynamic): changed files, risk files, recent edit events, next steps
- **Hashes**: deterministic hashes for cache validation across agents

## Consuming a handoff

```bash
codemap handoff --latest .        # Read most recent saved artifact
codemap handoff --detail file.go . # Lazy-load full context for one file
```

The MCP tool `get_handoff` provides the same capabilities for tool-based consumption.
The prefix file count and size-based handoff budgets honor the active
`.codemap/config.json` filters even when watch state tracks a broader working set.

## When to handoff

- Switching from Claude to Codex (or vice versa)
- Starting a new Claude session on the same branch
- Context window getting full: compact and resume
- Passing work to a teammate's AI session

## Artifacts written

In the per-user state dir, never in the repo; `codemap doctor` prints its path on the `state dir:` line.

| File | Content |
|------|---------|
| `handoff.latest.json` | Full artifact (all layers) |
| `handoff.prefix.json` | Stable prefix snapshot |
| `handoff.delta.json` | Dynamic delta snapshot |
| `handoff.metrics.log` | Append-only metrics stream |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.