wave-planner-acpx
Skill1 starsChanged 9 months agoMITView on GitHub
Plan and execute large multi-step, multi-stack changes with contract-first waves, parallel worker ownership, user approval gates, ordered integration, and final verification/docs updates through acpx. Use this when you explicitly want cross-CLI or cross-provider workers instead of Codex subagents.
In this repository3 other files it gives its agents.
- acpxSkill
- wave-planner-claudeSkill
- wave-plannerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
24 rules. About 0 are common, 17 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create and run a Wave-Driven Development plan for large, cross-stack tasks.
- Distinctive: line 26
Use only if work is large, multi-step, and touches multiple parts/stacks.
- Distinctive: line 27
If not large enough, do not use this skill.
- Very specific: line 28
If the user is already in Codex and does not need external workers, recommend using wave-planner instead.
- Distinctive: line 29
Ask for Gate 1 user approval before planning:
- Distinctive: line 31
Stop until user accepts or declines.
- Distinctive: line 32
If accepted, draft the plan:
- Distinctive: line 37
Use a clear feature-based filename for the plan.
- Distinctive: line 39
Use the minimum number of waves that still avoids conflicts.
- Distinctive: line 42
Keep each worker task medium-sized (not tiny and not overloaded).
- Distinctive: line 43
Ensure each worker has explicit file/module ownership.
- Distinctive: line 53
Ask for Gate 2 user approval before execution:
- Very specific: line 56
If accepted, load and use acpx skill, then execute:
- Very specific: line 57
Use acpx to create/run named sessions per worker in current wave.
- Very specific: line 58
Use --prompt-retries when transient failures are likely or already observed.
- Very specific: line 59
Use --suppress-reads when cleaner logs are helpful for orchestration.
- Distinctive: line 60
Run workers in parallel inside a wave, but execute waves sequentially.
- Distinctive: line 61
Wait for all workers in wave to finish and validate handoffs before next wave.
- Distinctive: line 66
Follow existing documentation format and conventions.
- Very specific: line 86
Read templates/model-routing.md before choosing models.
- Distinctive: line 91
If a model fails/unavailable, fallback to the next model in order.
- Distinctive: line 92
If placeholder guidance still exists in routing config, stop and tell user to edit routing first.
- Distinctive: line 106
Always output the final plan using this section order:
- Very specific: line 115
Use templates from templates/ when helpful.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Wave Planner
Create and run a Wave-Driven Development plan for large, cross-stack tasks.
Objective
Produce:
- Vision and scope boundaries
- Decision Log
- Wave 0 contracts
- Wave 1..N parallel implementation waves
- Integration wave
- Final verification wave
- Documentation update step
- Saved plan file
- Ready-to-send worker prompts and execution checklist
Workflow
- Decide whether to use this skill:
- Use only if work is large, multi-step, and touches multiple parts/stacks.
- If not large enough, do not use this skill.
- If the user is already in Codex and does not need external workers, recommend using
wave-plannerinstead.
- Ask for Gate 1 user approval before planning:
- Send a short reason: "I recommend Wave method because
<short reason>. Do you agree?" - Stop until user accepts or declines.
- If accepted, draft the plan:
- Clarify done criteria and out-of-scope.
- Build Decision Log (naming, API shape, error model, logging, tests, style constraints).
- Define Wave 0 contracts first (types/interfaces/schemas, boundaries, API shapes, constants, flags/migrations).
- Save the plan by default inside
.planning/; create the folder if it does not exist. - Use a clear feature-based filename for the plan.
- Choose wave and agent count with balancing rules:
- Use the minimum number of waves that still avoids conflicts.
- Group independent tasks into the same wave.
- Move dependency-bound tasks to later waves.
- Keep each worker task medium-sized (not tiny and not overloaded).
- Ensure each worker has explicit file/module ownership.
- Produce a one-line execution preview before full detail:
- One line per wave.
- One line per worker with task summary.
- Produce the full plan with complete shared context:
- Include full vision and all waves so each worker sees global intent.
- Include worker-specific goals, files, constraints, and verification.
- Include explicit wave order for execution (Wave 0, then Wave 1..N, then Integration, then Final Verification, then Docs).
- Make each worker prompt highly specific: exact ownership, exact files/modules, exact handoff format, exact verification steps, and any important non-goals.
- Save the full plan to the plan file by default; do not dump the full plan in chat unless the user explicitly asks.
- Ask for Gate 2 user approval before execution:
- "Plan is ready. Execute now?"
- Stop until user accepts or declines.
- If accepted, load and use
acpxskill, then execute:
- Use
acpxto create/run named sessions per worker in current wave. - Use
--prompt-retrieswhen transient failures are likely or already observed. - Use
--suppress-readswhen cleaner logs are helpful for orchestration. - Run workers in parallel inside a wave, but execute waves sequentially.
- Wait for all workers in wave to finish and validate handoffs before next wave.
- Close worker sessions after completion.
- After all waves:
- Main agent reviews merged result and runs verification tests.
- Main agent updates existing docs if needed, or adds new docs for new features.
- Follow existing documentation format and conventions.
- Main agent updates the original plan file status to
CompletedorBlocked. - Main agent adds final verification notes to the original plan file.
Global Rules
- Gating rule: planning and execution require explicit user approvals (Gate 1 and Gate 2).
- Ownership rule: workers edit only assigned files.
- Dependency rule: if outside scope is needed, return a Dependency Note instead of editing.
- Consistency rule: follow existing repo patterns; do not invent new architecture unless requested.
- Verifiability rule: each worker includes at least one concrete verification method.
- Ordering rule: wave order is strict; do not start next wave early.
- Session rule: one named session per worker; close finished sessions.
- Plan-location rule: save plans in
.planning/by default and create the folder if needed. - Worker-context rule: every worker must read the original plan file first for the full picture before editing.
- Verification-scope rule: run targeted checks first, then broader final checks; report unrelated pre-existing failures clearly as outside scope.
- Docs rule: docs update is mandatory in final step (update existing docs or add new).
Model Routing Configuration
Read templates/model-routing.md before choosing models.
Rules:
- Classify each worker task as
hard,middle, oreasy. - Select the first available model from that class's ordered list.
- If a model fails/unavailable, fallback to the next model in order.
- If placeholder guidance still exists in routing config, stop and tell user to edit routing first.
Mandatory Worker Handoff Format
- Summary (1-3 lines)
- Files changed (exact list)
- Patch/diffs (or exact edits)
- How to test (commands + expected result)
- Risks/TODOs/Dependency Notes
- Main plan log entry (what to append to shared execution log)
- Completion marker:
WAVE {WAVE_ID} / {AGENT_NAME} DONE
Output Contract
Always output the final plan using this section order:
- A) Vision
- B) Decision Log
- C) Contracts (Wave 0)
- D) Waves (1..N with agents)
- E) Integration + Final Verification + Docs
- F) Worker prompts
- G) Execution checklist (acpx sessions + wave order)
Use templates from templates/ when helpful.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

