Enforces structured, complete handoffs between agents. Activate when finishing work, switching agents, ending a session, or passing a task to another agent. Trigger phrases: "hand off to", "passing to", "done for now", "ending session", "next agent should", "handing over", "switching to Codex", "Claude takes over", "wrap up", "create a handoff", "write a handoff", "session complete", "done with my part".
Ensure that when one agent finishes work and another begins, the receiving agent has every piece of context needed to continue without interruption. Zero context loss between agents is the standard.
Before writing a handoff, verify that the work being handed off is actually complete:
decision-logger skill.next_action field in tasks.json reflects what the receiving agent should do next, not what the sending agent just did.If any of these are unmet, resolve them before writing the handoff. A handoff written for incomplete work creates technical debt.
Append a new handoff block to ai-context/handoffs/active.md. Every handoff MUST include all of the following fields — no optional fields, no skipping:
---
## Handoff: [FROM_AGENT] → [TO_AGENT]