Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/florianbruniaux/claude-code-plugins/plan-executegit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-execute)<a href="https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-execute"><img src="https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/plan-execute.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00041 | $0.01688 |
| Opus 5 | $0.00020 | $0.00844 |
| Sonnet 5 | $0.00008 | $0.00338 |
| Haiku 4.5 | $0.00004 | $0.00169 |
Grade A, and why
plan-execute scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 237 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plan Execute — Execution to Merged PR
Execute the validated plan in an isolated worktree. Spawn per-task agents, verify quality, create and merge the PR. Handles everything through to cleanup.
Run /clear before this command.
Prerequisite
A validated plan must exist at docs/plans/plan-{name}.md with all issues resolved (output of /plan-validate).
Step 1: Worktree Setup
Create an isolated git worktree:
git worktree add .worktrees/{plan-name} -b feature/{plan-name}
All execution happens inside the worktree. Main branch remains clean throughout.
Step 2: TDD Scaffolding
Only for tasks marked as TDD in the plan.
For each TDD task, before any implementation:
- Write the failing test(s) that define the acceptance criteria
- Run tests to confirm they fail (red)
- Commit the failing tests
- Mark the test file in the task for the implementation agent to find
Do not write implementation code in this step.
Step 3: Level-Based Parallel Execution
Parse the task list from the plan. Group tasks by layer (Layer 1 = foundation, Layer 2 = depends on Layer 1, etc.).
For each layer:
- Identify all tasks in the layer
- Spawn one agent per task in parallel (Task tool, run_in_background: true)
- Each agent receives: its task description, files to modify, acceptance criteria, and relevant ADRs
- Monitor all agents by reading
.claude/tasks/<id>/output.logviaRead(TaskOutput is deprecated since v2.1.83) - Each agent commits on task completion:
git commit -m "feat: {task-description}" - Wait for all tasks in the layer to complete before starting the next layer
Drift detection: after each layer, diff the actual changes against the plan spec. If implementation deviates significantly from the plan (new files not in plan, plan files not touched), flag and ask how to proceed. Do not silently continue on drift.
Agent instructions for each task:
You are implementing one task from a validated plan.
Task: {description}
Files to modify: {file list}
Acceptance criteria: {criteria}
Relevant ADRs: {adr list}
First principles:
- Build state-of-the-art. No workarounds, no legacy patterns.
- Fix at the correct architectural level, never with component-level hacks.
- If you discover that the plan is wrong or missing context, stop and report — do not improvise architecture.
Commit your changes when complete with message: "feat: {task-description}"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 237 lines · 41 tokens per session scan A 5a171ab87023
plan-execute is a command published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 1,688 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
Other commands, from other repositories
changelog
Automatic changelog generation. Produces a structured changelog from commit history.
fest-commit
Commit changes with festival traceability metadata.
commit
Commit changes with auto-generated message showing command context, timestamp, and change count.
commit
Create a well-crafted commit after running pro-workflow quality checks.
loop
Autonomous execution loop. Runs the TDD cycle repeatedly until all tasks in an epic are complete, with circuit breaker protection and PR workflow.
execute
Execute the next available tracked task with TDD, pre-commit validation, PR creation, AI code review, and issue tracker bridge sync.