agentleFS
shalombshalomb/agent-skills/skills/codemap-handoff/SKILL.md

codemap-handoff

Skill3 starsChanged 3 months agoMITView on GitHub

Create and read cross-agent handoff artifacts. Trigger this skill when the conversation context window is full and you need to resume work in a new session, or when you are asked to pass your current progress to another autonomous agent (e.g., Claude, Cursor, Pi).

The file

Files
SKILL.md

Multi-Agent Handoff

Building a handoff

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

Reading a handoff

codemap handoff --latest .      # Read most recent saved artifact
codemap handoff --detail <file> . # Full context for one changed file

What's in a handoff

  • Prefix (stable): file count, hub summaries — cache-friendly, changes rarely
  • Delta (dynamic): changed files, risk files, recent events, next steps
  • Hashes: deterministic — validates cache reuse across agent sessions

Artifacts written

FileContent
.codemap/handoff.latest.jsonFull artifact
.codemap/handoff.prefix.jsonStable prefix snapshot
.codemap/handoff.delta.jsonDynamic delta snapshot
.codemap/handoff.metrics.logAppend-only metrics stream

When to handoff

  • Switching from one agent CLI to another
  • Starting a fresh session on the same branch
  • Context window filling up — compact and resume
  • Passing work to another developer's AI session

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.