skills/parallel-agents/SKILL.md
Multi-agent orchestration patterns, architecture design, optimization, and coordination. Use when multiple independent tasks can run with different domain expertise, when comprehensive analysis requires multiple perspectives, or when optimizing multi-agent performance.
npx skillsauth add melikhanmutlu/web_ar parallel-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Orchestration through Antigravity's built-in Agent Tool
This skill enables coordinating multiple specialized agents through Antigravity's native agent system. Unlike external scripts, this approach keeps all orchestration within Antigravity's control.
✅ Good for:
❌ Not for:
Use the security-auditor agent to review authentication
First, use the explorer-agent to discover project structure.
Then, use the backend-specialist to review API endpoints.
Finally, use the test-engineer to identify test gaps.
Use the frontend-specialist to analyze React components.
Based on those findings, have the test-engineer generate component tests.
Resume agent [agentId] and continue with additional requirements.
Agents: explorer-agent → [domain-agents] → synthesis
1. explorer-agent: Map codebase structure
2. security-auditor: Security posture
3. backend-specialist: API quality
4. frontend-specialist: UI/UX patterns
5. test-engineer: Test coverage
6. Synthesize all findings
Agents: affected-domain-agents → test-engineer
1. Identify affected domains (backend? frontend? both?)
2. Invoke relevant domain agents
3. test-engineer verifies changes
4. Synthesize recommendations
Agents: security-auditor → penetration-tester → synthesis
1. security-auditor: Configuration and code review
2. penetration-tester: Active vulnerability testing
3. Synthesize with prioritized remediation
| Agent | Expertise | Trigger Phrases |
|-------|-----------|-----------------|
| orchestrator | Coordination | "comprehensive", "multi-perspective" |
| security-auditor | Security | "security", "auth", "vulnerabilities" |
| penetration-tester | Security Testing | "pentest", "red team", "exploit" |
| backend-specialist | Backend | "API", "server", "Node.js", "Express" |
| frontend-specialist | Frontend | "React", "UI", "components", "Next.js" |
| test-engineer | Testing | "tests", "coverage", "TDD" |
| devops-engineer | DevOps | "deploy", "CI/CD", "infrastructure" |
| database-architect | Database | "schema", "Prisma", "migrations" |
| mobile-developer | Mobile | "React Native", "Flutter", "mobile" |
| api-designer | API Design | "REST", "GraphQL", "OpenAPI" |
| debugger | Debugging | "bug", "error", "not working" |
| explorer-agent | Discovery | "explore", "map", "structure" |
| documentation-writer | Documentation | "write docs", "create README", "generate API docs" |
| performance-optimizer | Performance | "slow", "optimize", "profiling" |
| project-planner | Planning | "plan", "roadmap", "milestones" |
| seo-specialist | SEO | "SEO", "meta tags", "search ranking" |
| game-developer | Game Development | "game", "Unity", "Godot", "Phaser" |
These work alongside custom agents:
| Agent | Model | Purpose | |-------|-------|---------| | Explore | Haiku | Fast read-only codebase search | | Plan | Sonnet | Research during plan mode | | General-purpose | Sonnet | Complex multi-step modifications |
Use Explore for quick searches, custom agents for domain expertise.
After all agents complete, synthesize:
## Orchestration Synthesis
### Task Summary
[What was accomplished]
### Agent Contributions
| Agent | Finding |
|-------|---------|
| security-auditor | Found X |
| backend-specialist | Identified Y |
### Consolidated Recommendations
1. **Critical**: [Issue from Agent A]
2. **Important**: [Issue from Agent B]
3. **Nice-to-have**: [Enhancement from Agent C]
### Action Items
- [ ] Fix critical security issue
- [ ] Refactor API endpoint
- [ ] Add missing tests
The Context Bottleneck: Single agents face inherent ceilings in reasoning capability, context management, and tool coordination. As tasks grow complex, context windows fill and performance degrades via the lost-in-middle effect, attention scarcity, and context poisoning. Multi-agent architectures partition work across multiple clean context windows.
Token Economics Reality:
| Architecture | Token Multiplier | Use Case | |--------------|------------------|----------| | Single agent chat | 1x baseline | Simple queries | | Single agent with tools | ~4x baseline | Tool-using tasks | | Multi-agent system | ~15x baseline | Complex research/coordination |
The Parallelization Argument: Many tasks contain parallelizable subtasks. Multi-agent architectures assign each to a dedicated agent with fresh context, reducing total time to the longest subtask rather than the sum.
The Specialization Argument: Different tasks benefit from different system prompts, tool sets, and context structures. Specialized agents carry only what they need.
Supervisor/Orchestrator: Central agent delegates to specialists and synthesizes results. Best for tasks with clear decomposition and where human oversight is important. Risk: supervisor context becomes bottleneck; "telephone game" problem where supervisors paraphrase sub-agent responses incorrectly.
Telephone Game Fix: Implement a forward_message tool allowing sub-agents to pass responses directly to users without supervisor synthesis when appropriate.
Peer-to-Peer/Swarm: No central control; agents communicate directly via handoff mechanisms. Best for flexible exploration where rigid planning is counterproductive. Risk: coordination complexity and divergence without central state.
Hierarchical: Strategy layer (goals) -> Planning layer (decomposition) -> Execution layer (atomic tasks). Best for large-scale projects with clear hierarchical structure.
The primary purpose of multi-agent architectures is context isolation. Three mechanisms:
| Failure | Mitigation | |---------|-----------| | Supervisor Bottleneck | Output schema constraints; workers return distilled summaries; checkpointing | | Coordination Overhead | Clear handoff protocols; batch results; async communication | | Divergence | Clear objective boundaries; convergence checks; time-to-live limits | | Error Propagation | Validate outputs before passing; retry with circuit breakers; idempotent operations |
Profile across layers with specialized agents:
class MultiAgentOrchestrator:
def __init__(self, agents):
self.agents = agents
self.execution_queue = PriorityQueue()
self.performance_tracker = PerformanceTracker()
def optimize(self, target_system):
with concurrent.futures.ThreadPoolExecutor() as executor:
futures = {
executor.submit(agent.optimize, target_system): agent
for agent in self.agents
}
for future in concurrent.futures.as_completed(futures):
agent = futures[future]
result = future.result()
self.performance_tracker.log(agent, result)
tools
# AI Marketing Suite — Main Orchestrator You are a comprehensive AI marketing analysis and content generation system for Claude Code. You help entrepreneurs, agency builders, and solopreneurs analyze websites, generate marketing content, audit funnels, create client proposals, and build marketing strategies — all from the command line. ## Command Reference | Command | Description | Output | |---------|-------------|--------| | `/market audit <url>` | Full marketing audit (parallel subagents)
testing
# Social Media Content Calendar & Generation You are the social media engine for `/market social <topic/url>`. You generate a complete 30-day content calendar with platform-specific posts, hooks, hashtags, and a content repurposing strategy. Every post is ready to publish or hand to a social media manager. ## When This Skill Is Invoked The user runs `/market social <topic/url>`. If a URL is provided, fetch the site to understand the brand, audience, and content themes. If a topic is provided,
development
# SEO Content Audit ## Skill Purpose Perform a comprehensive SEO audit of a webpage or website, covering on-page SEO, content quality (E-E-A-T), keyword analysis, technical SEO, and content strategy. This skill combines automated analysis via `scripts/analyze_page.py` with expert-level manual review to produce an actionable SEO audit document. ## When to Use - User provides a URL and asks for SEO analysis, audit, or recommendations - User wants to improve organic search rankings and traffic -
tools
# Marketing Report Generator (Markdown Format) ## Skill Purpose Generate a comprehensive, professionally formatted marketing report in Markdown. This skill compiles data from all previous audit and analysis results into a single, client-ready document with scores, findings, recommendations, and a prioritized action plan with revenue impact estimates. ## When to Use - User wants a full marketing report for a client or their own business - User has completed one or more audit skills and wants a