Multi-agent orchestration for reliable, scalable engineering workflows
Agents check their own work via hooks that run automatically after each action.
Coordinated multi-agent workflows with Builder + Validator patterns.
Prompts that generate prompts in consistent, reusable formats.
The Claude Code Task System is a paradigm shift from ad-hoc sub-agent calls to organized teams of agents that communicate through a shared task list with dependencies and blocking capabilities.
"More agents, more autonomy, and more compute doesn't always mean better outcomes. What we want is more organized agents that can communicate together to work toward a common goal."
task create - Create new tasks with dependencies and blockerstask update - Primary communication channel between agentstask list - View all tasks and their current statestask get - Get details of a specific taskThe Builder agent focuses on implementing one specific task with high quality.
post_tool_use - Runs after file writeshooks:
post_tool_use:
write_edit:
- command: |
if [[ "$TOOL_INPUT_FILE_PATH" == *.py ]]; then
ruff check --fix "$TOOL_INPUT_FILE_PATH"
ty check "$TOOL_INPUT_FILE_PATH"
fi
The Validator agent verifies the builder's work was completed correctly.
2x Compute Principle: Spending compute on validation increases trust that work was delivered correctly.
A meta-prompt is a prompt that generates another prompt in a specific, consistent format.
Create task list
Execute in parallel
Verify work
Update status
| # | Task | Owner | Depends On | Status |
|---|---|---|---|---|
| 1 | Build session_end hook | Builder_SessionEnd | None | Running |
| 2 | Validate session_end hook | Validator_SessionEnd | 1 | Blocked |
| 3 | Build permission_request hook | Builder_Permission | None | Running |
| 4 | Update README | Builder_Docs | 1, 2, 3 | Pending |
Tasks 1 and 3 run in parallel. Task 2 is blocked until task 1 completes. Task 4 waits for multiple dependencies.
Generate customized meta-prompts for your Claude Code multi-agent workflows.