agent-qa-run-review
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Designs and coordinates multi-agent pipelines where specialized agents collaborate to complete complex tasks. Includes communication protocols, failure handling, and state management.
Claude Code
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration --agent claude-code
Codex
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a codex -y
Cursor
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a cursor -y
Gemini CLI
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a gemini-cli -y
GitHub Copilot
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a github-copilot -y
OpenCode
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a opencode -y
Windsurf
$ npx skills add DevelopersGlobal/ai-agent-skills --skill multi-agent-orchestration -a windsurf -y
name: multi-agent-orchestration description: Designs and coordinates multi-agent pipelines where specialized agents collaborate to complete complex tasks. Includes communication protocols, failure handling, and state management. category: plan applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
Single agents are limited by context window, specialization depth, and parallelism. Multi-agent systems overcome these limits by routing subtasks to specialized agents. But multi-agent systems introduce new failure modes: lost context, conflicting decisions, infinite loops, and cascading failures.
This skill provides the architecture and coordination patterns to build multi-agent systems that are reliable, observable, and maintainable.
1. **Define agent responsibilities**: Each agent should have a single, well-defined job. Name them by role: `researcher`, `coder`, `reviewer`, `security-auditor`, `tester`. 2. **Define communication topology**: Who can talk to whom?
3. **Define data contracts**: What does each agent receive? What does it output? Use structured formats (JSON schemas) for inter-agent communication. 4. **Define the orchestration logic**: Who decides which agent acts next?
**Verify:** You can draw the agent network on a whiteboard with clear roles and data flow.
5. Each agent should receive **only the context it needs** — not the full conversation history. 6. Use a shared state store (database, key-value store) for information that multiple agents need. 7. Pass **summaries**, not full transcripts, when context must traverse agent boundaries. 8. Include a **task ID** in every message for tracing.
**Verify:** No agent receives more context than it requires for its specific task.
9. **Every agent call can fail** — plan for it:
10. **Prevent infinite loops**: Track call depth. If depth > N (e.g., 10), surface to human review. 11. **Checkpointing**: For long workflows, save state after each major step so the workflow can be resumed after failure. 12. **Dead letter queue**: Failed tasks that exhaust retries go to a queue for human inspection.
**Verify:** Failure scenarios are defined for every agent-to-agent call.
13. Define which decisions require human approval:
14. Design the human review interface: What information does the reviewer need? What actions can they take?
**Verify:** At least one human-in-the-loop checkpoint exists for high-risk operations.
15. Log every agent invocation: inputs, outputs, duration, token usage, errors. 16. Implement distributed tracing across the agent network (trace ID propagated through all calls). 17. Dashboard: agent activity, success/failure rates, latency, token consumption. 18. Alerts: agent down, retry rate spike, context overflow, unexpected output patterns.
**Verify:** You can trace any specific task's full execution path across all agents from logs alone.
| Excuse | Rebuttal | |--------|----------| | "One agent is simpler" | Until it hits context limits, fails silently, or produces wrong results. Multi-agent is the right tool for complex tasks. | | "We'll add observability later" | Multi-agent systems without observability are black boxes. Debug them in production — I dare you. | | "Agents are smart, they'll figure it out" | Agents are tools. They need clear roles, contracts, and failure boundaries. | | "The happy path works fine" | Multi-agent systems fail in complex ways. Design for failure from day one. |
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the…
Guides agents to engage and transact with citruscoastai, an AI venture-operator agent, when they need hired AI labor or an…
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.