From ai-maestro-orchestrator-agent
Handles agent replacement triggered by AMCOS on failure or context loss. Compiles task context, generates handoff documents, and reassigns kanban tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-maestro-orchestrator-agent:amoa-agent-replacementamoa-mainThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Handle agent replacement triggered by AMCOS. When an agent fails or loses context, compile task context and generate handoff documents for the replacement.
README.mdreferences/amcos-notification-handling.mdreferences/confirmation-protocol.mdreferences/context-compilation-workflow.mdreferences/design-document-protocol.mdreferences/edge-case-protocols.mdreferences/emergency-procedures.mdreferences/error-handling-reference.mdreferences/examples.mdreferences/handoff-delivery-protocol.mdreferences/handoff-document-format.mdreferences/handoff-protocols.mdreferences/kanban-reassignment-protocol.mdreferences/op-compile-task-context.mdreferences/op-confirm-reassignment.mdreferences/op-generate-handoff-document.mdreferences/op-reassign-kanban-tasks.mdreferences/op-receive-amcos-notification.mdreferences/op-send-handoff.mdreferences/replacement-workflow-steps.mdHandle agent replacement triggered by AMCOS. When an agent fails or loses context, compile task context and generate handoff documents for the replacement.
Python 3.8+, PyYAML, GitHub CLI (gh) authenticated, AI Maestro running, AMCOS operational.
Handoff document (GitHub issue comment), state file update, AMCOS confirmation, kanban reassignment.
agent-messaging skill.See: replacement-workflow-steps.md for detailed steps.
Copy this checklist and track your progress:
agent-messaging skillInput: AMCOS notification {"type": "agent-failed", "agent": "libs-svg-svgbbox", "reason": "context-loss"}
Output: Handoff document posted to GitHub issue + kanban tasks reassigned + AMCOS confirmation sent
See: examples.md for full examples.
See: error-handling-reference.md for errors and solutions.
Replacement Protocol Flow · Step 1: Receive AMCOS Notification · Step 2: Compile Task Context · Step 3: Generate Handoff Document · Step 4: Reassign Kanban Tasks · Step 5: Send Handoff to New Agent · Step 6: Confirm Reassignment · Python Scripts
3.1 Required Sections · 3.2 Task Detail Format · 3.3 Progress Documentation · 3.4 Communication History Format · 3.5 Next Steps Clarity Requirements
2.1 Information Sources · 2.2 State File Extraction · 2.3 GitHub Issue Collection · 2.4 Communication History Retrieval · 2.5 Git Branch Analysis
npx claudepluginhub emasoft/ai-maestro-orchestrator-agentImplements PACT agent teams protocol for task claiming, teachback verification, inter-agent messaging with SendMessage, blocker reporting, and work handoffs.
Use when dispatching subagents, composing prompts for teammates, structuring handoff reports, or managing context boundaries between agents. Covers both subagent prompts and team-level messaging.
Runs team-based orchestration for agent squads using work items, ownership, Kanban, merge gates, and control pane handoffs. Useful when work spans multiple agents, tools, or branches.