{"id":"agent-orchestration","name":"agent-orchestration","summary":"エージェントオーケストレーションルール","body":"# Agent Orchestration Rules\n\nWhen the user asks to implement something, use implementation agents to preserve main context.\n\n## The Pattern\n\n**Wrong - burns context:**\n```\nMain: Read files → Understand → Make edits → Report\n      (2000+ tokens consumed in main context)\n```\n\n**Right - preserves context:**\n```\nMain: Spawn agent(\"implement X per plan\")\n      ↓\nAgent: Reads files → Understands → Edits → Tests\n      ↓\nMain: Gets summary (~200 tokens)\n```\n\n## When to Use Agents\n\n| Task Type | Use Agent? | Reason |\n|-----------|------------|--------|\n| Multi-file implementation | Yes | Agent handles complexity internally |\n| Following a plan phase | Yes | Agent reads plan, implements |\n| New feature with tests | Yes | Agent can run tests |\n| Single-line fix | No | Faster to do directly |\n| Quick config change | No | Overhead not worth it |\n\n## Key Insight\n\nAgents read their own context. Don't read files in main chat just to understand what to pass to an agent - give them the task and they figure it out.\n\n## Example Prompt\n\n```\nImplement Phase 4: Outcome Marking Hook from the Artifact Index plan.\n\n**Plan location:** thoughts/shared/plans/2025-12-24-artifact-index.md (search for \"Phase 4\")\n\n**What to create:**\n1. TypeScript hook\n2. Shell wrapper\n3. Python script\n4. Register in settings.json\n\nWhen done, provide a summary of files created and any issues.\n```\n\n## Trigger Words\n\nWhen user says these, consider using an agent:\n- \"implement\", \"build\", \"create feature\"\n- \"follow the plan\", \"do phase X\"\n- \"use implementation agents\"","author":"@parcadei","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/parcadei/Continuous-Claude-v3/tree/main/.claude/skills/agent-orchestration","license":"MIT","category":"document","lang":"en","tokens":367,"stars":0,"calls30d":0,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[],"requires":{"mcp":[],"tools":[]},"safety":{"flags":[],"scannedAt":"2026-08-22","hasScripts":false,"networkEndpoints":[]}}