spawn-implementation-agents
Guide for efficient agent orchestration during implementation to conserve main agent context
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Guide for efficient agent orchestration during implementation to conserve main agent context
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generic migration orchestrator that reads CHANGELOG.md to understand and execute version-specific migrations
Determine feature slug interactively by auto-detecting next number and prompting user for description
Share personal documents to the shared namespace with atomic git commit and push
Use when creating implementation plans to generate properly structured plans with phases, success criteria, and project references.
Use when documenting research findings to create properly structured research documents with frontmatter, sections, and file references.
ALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools.
| name | spawn-implementation-agents |
| description | Guide for efficient agent orchestration during implementation to conserve main agent context |
Orchestrate specialized agents during implementation to keep main agent context under 40k tokens per phase.
Without agents, implementing a phase uses ~92k tokens in main agent:
This approaches the 200k context limit and risks compaction.
Use agents to isolate heavy operations:
Spawn simultaneously to gather context:
Task(subagent_type="workflows:codebase-analyzer",
prompt="Analyze existing auth system architecture.
Focus on handler pattern, middleware usage, error handling.
Return 2-3k summary with key patterns and file:line references.")
Task(subagent_type="workflows:codebase-pattern-finder",
prompt="Find similar implementations of authentication handlers.
Return 3k of concrete examples showing handler pattern, validation, errors.")
Task(subagent_type="workflows:thoughts-analyzer",
prompt="Extract insights from changelog.md about previous phase learnings.
Return 2k of key deviations and discoveries that affect this phase.")
Wait for all three. Main agent receives ~8k of summaries.
Main agent writes code using summaries:
Spawn test writer:
Task(subagent_type="workflows:test-writer",
prompt="Generate tests for AuthHandler following patterns in testing.md.
Test functions: Login(), Logout(), ValidateToken().
Return test code only, ~3k tokens.")
Main agent receives test code, integrates it. Total: 36k
Spawn verifier:
Task(subagent_type="Bash",
prompt="Run verification commands from plan.md:
- make test
- make lint
- make build
Return concise summary: ✅ passed or ❌ failed with key errors only.")
Main agent receives pass/fail + errors. Total: 38k
Update changelog.md: 2k tokens. Final total: 40k
| Activity | Without Agents | With Agents | Savings |
|---|---|---|---|
| Read plan & changelog | 15k | 15k | 0k |
| Understand existing code | 30k | 3k | 27k |
| Find patterns | 15k | 3k | 12k |
| Write implementation | 10k | 10k | 0k |
| Write tests | 10k | 3k | 7k |
| Run verification | 10k | 2k | 8k |
| Update changelog | 2k | 2k | 0k |
| TOTAL | 92k | 40k | 52k |
When to spawn in parallel:
When to spawn sequentially:
What agents return: