/workflows:spawn-implementation-agentsfrom workflows
Orchestrates specialized sub-agents during implementation phases to keep main agent context under 40k tokens, reducing context pressure and compaction risk.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub eveld/claude --plugin workflows29 skills in this plugin
/agent-awarenessALWAYS 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./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./determine-feature-slugDetermine feature slug interactively by auto-detecting next number and prompting user for descriptionOther plugins' skills for the same job