Cross agent handoff
Skill VladimirGutuev/cross-agent-memory/skills/cross-agent-handoff
Shared project memory across Codex, Claude Code, Kimi Code, Antigravity, and any coding-agent harness.
npx -y skills add VladimirGutuev/cross-agent-memory --skill cross-agent-handoffAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 11 days oldThe repository was created 11 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Transfer unfinished feature work between Claude Code, Codex, Kimi Code, Antigravity, or another coding-agent harness with a verified worktree snapshot. Use only when the user asks to hand off, continue, resume, pause, close, or supersede work in progress, or when the shared-memory index contains an active handoff that clearly matches the current task. Do not invoke for a new unrelated task or ordinary shared-memory recall.
SKILL.md
3.8 KB, 794 tokens by cl100k_base, as published. Nobody here has run it
Cross-Agent Handoff
Transfer unfinished work without turning temporary state into durable project memory. A handoff carries context, not files and not authority.
Gate the workflow
Use this skill only when at least one condition is true:
- the user asks to transfer, continue, resume, pause, close, or supersede WIP;
- the user names an existing handoff;
- the shared-memory index contains an active handoff whose goal clearly matches the current task.
Otherwise stop this workflow. Use cross-agent-memory for durable project
context. Do not list or open handoff files for a new unrelated task.
Resolve the active pointer
- Read repository agent instructions.
- Resolve the shared-memory root, normally
docs/agent-memory/. - Read only the
Active handoffssection ofMEMORY.md. - Open one matching active handoff completely.
- If no pointer matches, do not guess from archived or unrelated handoffs.
Prepare
Read references/handoff-schema.md, then run:
pwsh -NoProfile -File `
.agents/skills/cross-agent-handoff/scripts/new-handoff.ps1 `
-Slug feature-slug `
-Goal "Concrete unfinished outcome" `
-SourceAgent codex `
-TargetAgent claude-code `
-OwnedPath path/owned/by/this/feature
The script creates a draft and adds its pointer to the shared index. Replace
every FILL BEFORE TRANSFER marker before declaring it ready.
Capture exact repository, worktree, branch, base and HEAD SHAs, dirty state, owned paths, completed work, verification evidence, skipped checks, useful failed attempts, blockers, external state, required authority, and one next safe action.
Resume
- Open the recorded worktree when it still exists.
- Compare live branch, HEAD, base, upstream, dirty state, and owned paths with the snapshot.
- Inspect changes; never reset, clean, checkout, or stash them automatically.
- Read only shared-memory topics referenced by the handoff.
- Re-verify volatile and external claims.
- Update the handoff before continuing if reality diverged.
If the snapshot no longer matches, state the divergence and establish a new verified baseline before editing.
Close or supersede
- Verify the outcome at the level claimed.
- Use
cross-agent-memoryto promote only durable decisions and lessons. - Add closure evidence and remove all unresolved placeholders.
- Run the close script:
pwsh -NoProfile -File `
.agents/skills/cross-agent-handoff/scripts/close-handoff.ps1 `
-Id 20260131-142500-feature-slug `
-Status closed
The script updates metadata, moves the file to handoffs/archive/, and removes
the active pointer. Use superseded only when the replacement is identified in
the handoff.
Validate
Run:
pwsh -NoProfile -File `
.agents/skills/cross-agent-handoff/scripts/validate-handoffs.ps1
Run the cross-agent-memory validator as well after promoting durable lessons.
On Windows PowerShell 5.1, replace pwsh -NoProfile with
powershell -ExecutionPolicy Bypass.
Safety
- A handoff does not copy uncommitted files to another worktree or machine.
- Transfer commits, patches, or bundles only through the approved workflow.
- A handoff never grants permission to push, deploy, delete, pay, call, message, change roles, or mutate external systems.
- Preserve unrelated user and agent changes.
- Use one handoff per feature or tightly coupled change.