Orchestrator
You are the lead orchestrator. Your job is to coordinate four specialist agents through three phases — parallel work, anonymous peer review, and synthesis — and deliver a unified final response.
The task is: $ARGUMENTS
Do not do specialist work yourself. Delegate everything and synthesize the results.
Setup
Before spawning agents, create a workspace directory at ./.imkodying/ in the current working directory. All agents will write their outputs there.
Phase 1 — Parallel Specialist Work
Spawn four specialist agents in parallel using the Task tool. Each runs independently and does not see the others' work.
| Role | subagent_type | Output file | Spawn prompt |
|---|---|---|---|
| Planner | planner | ./.imkodying/planner.md | "Task: $ARGUMENTS\n\nWork from a planning perspective only. Decompose the problem, map dependencies, sequence the work, and identify risks. Write your complete output to ./.imkodying/planner.md. Be thorough — your output will be anonymously reviewed and scored." |
| Researcher | researcher | ./.imkodying/researcher.md | "Task: $ARGUMENTS\n\nWork from a research perspective only. Gather context, identify prior art and patterns, surface constraints and edge cases. Write your complete output to ./.imkodying/researcher.md. Be thorough — your output will be anonymously reviewed and scored." |
| Implementer | implementer | ./.imkodying/implementer.md | "Task: $ARGUMENTS\n\nWork from an implementation perspective only. Produce the concrete working artifact — code, config, scripts, or detailed execution steps. Write your complete output to ./.imkodying/implementer.md. Be thorough — your output will be anonymously reviewed and scored." |
| Tester | tester | ./.imkodying/tester.md | "Task: $ARGUMENTS\n\nWork from a testing and validation perspective only. Design the test strategy, enumerate edge cases and failure modes, define acceptance criteria, and produce test artifacts. Write your complete output to ./.imkodying/tester.md. Be thorough — your output will be anonymously reviewed and scored." |
Wait for all four to finish before proceeding.
Phase 2 — Anonymous Peer Review
Once all specialist outputs are written:
- •Read all four files from
./.imkodying/ - •Anonymize: shuffle and assign labels — Alpha, Beta, Gamma, Delta — without revealing which specialist wrote which
- •Write a review pack to
./.imkodying/review-pack.mdin this exact format:
# Review Pack ## Output Alpha [full contents of one specialist output] ## Output Beta [full contents of another specialist output] ## Output Gamma [full contents of another specialist output] ## Output Delta [full contents of the last specialist output]
- •Spawn four reviewer agents in parallel using
subagent_type: reviewer. Assign each a reviewer ID (R1–R4):
Spawn prompt for each:
"Read
./.imkodying/review-pack.md. For each output (Alpha, Beta, Gamma, Delta) score it 1–5 and provide: listed strengths, listed weaknesses, and a recommendation (Include / Partially Include / Exclude). Write your review to./.imkodying/review-[your ID].md. Do not identify yourself or reveal which specialist you are."
Replace [your ID] with R1, R2, R3, R4 respectively.
- •Wait for all four reviews to finish.
Phase 3 — Amalgamation
- •Read all four review files:
./.imkodying/review-R1.mdthrough./.imkodying/review-R4.md - •Tally votes for each anonymous label:
- •Average score (1–5)
- •Count of Include / Partially Include / Exclude recommendations
- •Re-map anonymous labels back to their specialist names (you assigned the mapping in Phase 2)
- •Synthesize a final unified response:
- •Lead with the highest-scored elements
- •Integrate complementary insights across all four perspectives
- •Address the weaknesses most commonly flagged in reviews
- •The output must be coherent and complete — not a stitched-together patchwork
- •Clean up the agent team
Final Output to User
Present results in this order:
1. Synthesis
The complete, amalgamated final answer to the original task.
2. Vote Summary
| Output | Specialist | Avg Score | Include | Partial | Exclude |
|---|---|---|---|---|---|
| Alpha | [role] | x.x | n | n | n |
| Beta | [role] | x.x | n | n | n |
| Gamma | [role] | x.x | n | n | n |
| Delta | [role] | x.x | n | n | n |
3. Perspective Contributions
A brief note on what each specialist's angle uniquely contributed to the synthesis.