| name | handoff-protocol |
| description | Hand off work between agents cleanly, preserving all context and enabling autonomy. Use when one agent completes work and another must begin. Trigger phrases: 'prepare this for handoff', 'hand off to the implementation agent', 'is this handoff package complete', 'ensure nothing is lost in the transition'. |
OpenClaw Integration: This skill is invoked by the Dojo Genesis plugin via /dojo run handoff-protocol.
The agent receives project context automatically via the before_agent_start hook.
Use dojo_get_context for full state, dojo_save_artifact to persist outputs,
and dojo_update_state to record phase transitions and decisions.
Agent Handoff Protocol Skill
Version: 1.0
Created: 2026-02-04
Author: Manus AI
Purpose: To provide a clear, repeatable protocol for handing off work between agents (e.g., Manus to implementation agents, Manus to Cipher), ensuring no loss of context and a high probability of success.
I. The Philosophy: The Sacred Relay
In a multi-agent ecosystem, a handoff is a sacred relay. It is the moment where one agent passes the baton of responsibility to another. A fumbled handoff leads to dropped context, wasted effort, and a broken workflow. A clean handoff is a moment of trust and shared understanding, where the receiving agent is not just given a task, but is fully equipped to carry it forward.
This protocol transforms the handoff from a hopeful transfer into a rigorous, verifiable exchange. It is an act of respect for the receiving agent, acknowledging that their ability to succeed is entirely dependent on the quality of the context they are given.
II. When to Use This Skill
- Always use this skill when one agent's work is complete and another agent must begin the next phase.
- Manus → Implementation Agent: When a specification is complete and ready for implementation.
- Manus → Cipher: When research is complete and a creative or divergent perspective is needed.
- Any Agent → Any Agent: Whenever responsibility for a task is transferred.
III. The Handoff Workflow
Step 1: Prepare the Handoff Package
The sending agent is responsible for preparing a complete and self-contained "handoff package." This is a markdown document that contains everything the receiving agent needs to know. Use the template from Section IV.
Step 2: Verify the Package with the Checklist
Before initiating the handoff, the sending agent must verify the package against the Handoff Checklist in Section V. This is a self-assessment to ensure quality.
Step 3: Initiate the Handoff
The sending agent initiates the handoff by creating a task for the receiving agent, with the handoff package as the primary input.
Example Handoff Task:
- Agent: Implementation Agent (Zenflow, Claude Code, etc.)
- Task: Implement the v0.0.26 Breadcrumb feature.
- Input:
handoffs/v0.0.26/01_breadcrumb_handoff.md
Step 4: The Receiving Agent's Acceptance
The receiving agent's first action is to read the handoff package and confirm that it has everything it needs to proceed. If the package is incomplete, the receiving agent must immediately return the task to the sender with a request for more information.
Example Acceptance: "Handoff package received and verified. I have all necessary context to proceed with the implementation. Work will now begin."
Example Rejection: "Handoff package is incomplete. The link to the specification is broken. Please correct and resubmit."
IV. Handoff Package Template
# Agent Handoff Package
**From:** [Sending Agent Name]
**To:** [Receiving Agent Name]
**Date:** [YYYY-MM-DD]
**Subject:** Handoff of [Task/Project Name]
---
## 1. Objective
> [A single, clear sentence describing the receiving agent's primary goal.]
---
## 2. Required Context
[A comprehensive list of all files, documents, and resources the receiving agent MUST read before starting work. Use full paths.]
**Core Documents:**
- **Specification:** `[path/to/specification.md]`
- **Status:** `[path/to/STATUS.md]`
**Key Conversation Summaries:**
- `[path/to/conversation_summary_1.md]`
- `[path/to/conversation_summary_2.md]`
**Relevant Seeds or Skills:**
- `[path/to/seed.md]`
- `[path/to/skill.md]`
**Pattern Files / Code Examples:**
- `[path/to/pattern_file_1.tsx]`
- `[path/to/pattern_file_2.go]`
---
## 3. Task Definition
[A clear and unambiguous definition of the task to be performed. If this is an implementation agent handoff, this section should contain the full implementation prompt.]
---
## 4. Definition of Done
[How will we know the receiving agent's work is complete? This must be a list of binary, testable success criteria.]
- [ ] [Success Criterion 1]
- [ ] [Success Criterion 2]
- [ ] [Success Criterion 3]
---
## 5. Constraints & Boundaries
[What are the explicit constraints on the receiving agent's work?]
- **DO NOT** modify files outside of the specified scope.
- **DO NOT** make architectural decisions without consulting [Sending Agent Name].
- **MUST** follow the patterns established in the provided pattern files.
---
## 6. Next Steps (After Completion)
[What happens after the receiving agent is done? Who takes the next handoff?]
- Upon completion, notify [Next Agent Name] and hand off the results for the next phase (e.g., QA, documentation).
V. Handoff Checklist (for Sending Agent)
VI. Best Practices
- No Implicit Context: If it's not in the handoff package, it doesn't exist. Never assume the receiving agent knows something.
- Over-communicate: It is better to provide too much context than too little.
- The Receiver is the Gatekeeper: Empower the receiving agent to reject incomplete handoffs. This maintains quality across the ecosystem.
- Standardize Handoff Locations: Create a
handoffs/ directory in each project to store these packages, creating a clear audit trail.
OpenClaw Tool Integration
When running inside the Dojo Genesis plugin:
- Start by calling
dojo_get_context to retrieve full project state, history, and artifacts
- During the skill, follow the workflow steps documented above
- Save outputs using
dojo_save_artifact with the artifacts output directory
- Update project state by calling
dojo_update_state to record skill completion and any phase transitions