run-plan

run-plan is a skill for Claude Code from atretyak1985/swarmery. It costs 42 tokens per session (3,179 once invoked), scanned A, original, Apache-2.0.

A runner that executes an already-written implementation plan through ordered phases, with implementation and review steps. It is intended for completed plans and does not create the plan itself.

In plain words
What is it for?
Use it to dispatch implementation work from a plan, track phase completion, run reviews after fixes, and coordinate parallel work across separate worktrees.
Why use it?
It preserves progress, respects dependencies between phases, and prevents completed work from being repeated. Review gates help confirm each phase before continuing.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the core plugin — 37 skills, 9 commands, 13 agents shipped together

Good fit Use it to dispatch implementation work from a plan, track phase completion, run reviews after fixes, and coordinate parallel work across separate worktrees.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add atretyak1985/swarmery
Claude Code
/plugin install core

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 9 commands, 13 agents.

Wrote 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.

agentmods badge for run-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/atretyak1985/swarmery/run-plan/github.svg)](https://agentmods.dev/skills/atretyak1985/swarmery/run-plan)
Your own site
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/run-plan"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/run-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/atretyak1985/swarmery/run-plan"><img src="https://agentmods.dev/badge/skills/atretyak1985/swarmery/run-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.03179
Opus 5.5 $0.00017 $0.01272
Sonnet 5.5 $0.00008 $0.00636
Haiku 4.5 $0.00004 $0.00318

Measured 2d ago against content hash 081562e0c629, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-plan scanned grade A with 1 finding 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 2d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`curl -s http://localhost:7777/api/epics`, the epic whose `planDir` is this
plugins/core/skills/run-plan/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Turn a finished plan directory into shipped code with one command. The main session acts as controller: it parses the phase DAG, picks a route, dispatches executors with the plan's own prompts, reviews each result, and keeps durable progress. The plan is the spec; this skill is the runner.

Main session only. Subagents cannot spawn subagents, so this playbook can never be delegated.

Rules (never violate)

  1. Read the ledger first — phases marked reviewed-clean in <task-dir>/logs/run-ledger.md are DONE; never re-dispatch them.
  2. Tick as you verify — flip each satisfied criterion - [ ] → - [x] immediately, never in a batch; unsatisfied criteria stay unticked.
  3. Write the ## Completion Report into the phase doc itself — the only per-phase summary the platform surfaces; a reports/ file is no substitute. Three fields are mandatory and written out even when empty: Blocked calls, Delegation cost, and the one-sentence What would have made this cheaper — omitting one is not the same as having nothing to report. Exact wording: workspace-plans/resources/plan-format.md.
  4. Executors never commit — commits, pushes, MRs, migrations, and deploys are ASK-gated controller business.
  5. Never skip the re-review after a fix dispatch; review the reconciled tree, never the agent's own worktree.
  6. One worktree per concurrent implementer on route P — parallel edits to one checkout corrupt each other.
  7. Don't check in between phases — the ledger is the status, and a progress note belongs in the same message as the next dispatch. Stop and ask only when a phase cannot continue without the operator, or at one of rule 4's ASK-gated actions.
  8. Record every review round in the phase doc — brief the reviewer with its round (round: 1 for the first review of a phase, 2 for the re-review after a fix dispatch), then append the reviewer's kind: review yaml block verbatim under the doc's ## Review section, immediately before ## Completion Report (create the section on the first round; never edit an earlier round's block). When the reviewer subagent hit its turn limit and had to be resumed, set complete: false in that round's block and list what it did not cover in scope_left, whatever the resumed turn said. A reviewer reply without the block is recorded as a block you write from its findings, with complete: false. Shape: workspace-plans/resources/plan-format.md → "## Review".
  9. Brief the reviewer with where the executor changed course — before each review, collect the executor's own workaround words: the guards list workaround, instead, bypass, pre-existing, skip, skipped, flaky, for now, temporarily, обхід, обійти, замість, тимчасово, поки що, пропускаю, пропустив, нестабільний, вже був зламаний (whole word, any case, prose only — not code).
    • With the daemon reachable, read them from it: in curl -s http://localhost:7777/api/epics, the epic whose planDir is this plan, then the phase by seq; its workaroundHits hold the word, the sentence and the sentences around it. The same list is GET /api/epics/<taskId>/phases/<phaseId>/workaround-hits. The daemon reads the executor's whole transcript, so dispatch every executor with a description that starts Phase <N> — that is how it attributes the prose to the phase.
    • Without a daemon, or while it lists none yet, find the same words in the executor's final message yourself.
    • Put them at the top of the code-reviewer brief, under Look first — the agent changed course here:, one line each (word and sentence). They are places to check first, not findings.
    • Those lines are pointers to places, not explanations — the brief adds no assessment of yours to them.
  10. Incomplete is never passed; two automatic rounds, then the operator. A round is incomplete when the reviewer timed out or was resumed after a turn limit, gave no VERDICT line, gave no readable block (a PASS without a block included), said complete: false, or its block's verdict disagrees with its VERDICT line. An incomplete round starts no fix dispatch. Brief round 2 with ONLY round 1's open findings (ids, file:line, evidence), its scope_left and the diff since the tree round 1 reviewed — not the whole phase — and require round: 2 with resolves: [ids]. A round-1 finding round 2 neither resolves nor re-reports goes into round 2's block as a plan-conformance finding unaddressed <id>, written by you, not the reviewer. There is no third automatic round: an incomplete round, or a FAIL at round 2, is handed to the operator with exactly two options — repeat the review or accept it as is (recorded as a D-n decision in the plan). When the plan is tracked by the swarmery daemon and it offers a review phase_decision for the phase, answer through that instead of asking in chat.
  11. An executor's stop goes to the operator as it came. When an executor ends PHASE BLOCKED: <trigger> with a kind: stop block (shape: workspace-plans/resources/plan-format.md → "kind: stop"), never pick an option yourself and never work around the stop in a fix dispatch. Hand the operator the block's reason and its two options — label and consequence, verbatim — plus a third choice: answer in their own words. Then append the answer under the phase doc's ## Decisions by hand, shaped exactly - **D-n** (stop: <trigger>) — <reason> → <option id | other: text> (n = the next free decision number in the plan). The executor is untrusted, so its paths never go into allow: as written. For a protected-path stop, vet each entry first and keep only a literal, repo-relative FILE: no glob characters (* ? [ ] { }, no +( @( !(), no .. segment, no leading /, no backslash, nothing unprintable or invisible (control, zero-width or bidi characters), not a directory in the worktree and not the parent of any other path in play, nothing under .swarmery, and matched by one of the guard's protected_paths globs. Show the operator the exact list that survived, and say what was dropped, before they answer. Only when they answer allow-add-to-scope does that list, and nothing else, join the guard block's allow: list. When the run changed a protected file, or the guard refused one of its calls, offer reject as well whatever the trigger was, and continue on the same worktree only after an allow-add-to-scope answer. Any other answer means a fresh worktree, so the next run does not build on edits the operator did not accept. Otherwise re-dispatch the phase with Decision D-n: <answer> in the brief, on the same worktree so the partial work survives. A block whose options are not exactly two, or whose trigger is outside the four, is still handed over — say what the block got wrong. When the daemon tracks the plan and offers a stop phase_decision for the phase, answer through that instead: it vets the paths, writes the line and the allow: list itself.
  12. Executors cite the ids they satisfy. Every executor brief carries: "Cite the IDs you satisfy (D-n, SC-n) in the Completion Report; a decision you deliberately do not implement is written as not implemented: D-n — <why>." Check the citations before accepting the phase — an id the phase's **Covers:** or **Depends on decisions:** line claims but its report never cites is remaining, not done.
  13. Run the plan-end drift review. When the last phase settles and the plan declares decisions (## Decisions in plan/README.md) or spec criteria (plan/spec.md), dispatch one code-reviewer over the whole plan branch. Hand it the decisions-and-criteria table — one row per D-n and SC-n: id, text, status (a decision's answer included), and the phases that claim it — and the diffs, and tell it to judge each id from the diffs, not from the reports. Require a kind: review block with round: plan and:
    ids:                     # one entry per row of the table, in table order
      - {id: D-2, evidence: "phase 3 @ abc1234"}   # the phase (and commit) whose diff implements it
      - {id: SC-4, evidence: missing}              # nothing in the diffs implements it
    drift:                   # where the code departed from what a decision says
      - {id: D-4, where: "path/to/file.go:42", how: "adds a second table where D-4 chose a column"}
    
    A not implemented: D-n — <why> gap is not drift; each drift entry is a merge-blocking plan-conformance finding. Append the block verbatim under ## Review of the plan's last phase doc, as rule 8 does for a phase round; an incomplete or INCONCLUSIVE plan round is recorded as such — the dashboard then shows the table as "not verified", never as passed.
  14. Brief the reviewer blind. A reviewer forms its verdict before it sees anyone else's. The round-1 brief, and any repeat the operator asks for, carries the phase doc WITHOUT its ## Completion Report, without the executor's posterior forecast and without earlier ## Review rounds. Never paste the executor's final message, your own opinion of the work, or another reviewer's verdict into it. Word the task neutrally — "here is the diff and the criteria; what does not hold?" — never "confirm that it works". The ticks stay: they are the executor's claims, and checking them is the reviewer's job. Two deliberate exceptions: rule 9's Look-first lines, and rule 10's round-2 brief, which exists to carry round 1's findings. A verifier gets the same doc, also without ## Review.

Read the full file on GitHub · 212 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 2d ago Changed · +13 lines 081562e0c629
  2. 7d ago Changed · +3 lines dfd571827c19
  3. 1mo ago Changed · +69 lines 0d96897ab6fa
  4. 1mo ago Changed · +30 lines 57be7013d40f
  5. 1mo ago Changed · +2 lines 0290ae0db371
  6. 2mo ago Changed · +4 lines 1bb667007fe7
  7. 2mo ago Changed · +1 lines 8a38a7a4e962
  8. 2mo ago Changed · +3 lines 210b40fa0ae5
  9. 3mo ago First seen · 87 lines · 42 tokens per session scan A 103396ef7b53

Subscribe to this mod's changes

run-plan is a skill published in the GitHub repository atretyak1985/swarmery (9 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 3,179 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

run-plan compared with skills from other repositories

run-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-planatretyak1985/swarmerySkill9todayApache-2.0A42Claude Code
commit-messagenetopsengineer/axiomSkill5todayMITA218Claude Code
dependency-versionsnetopsengineer/axiomSkill5todayMITA216Claude Code
finishfakoli/fakoli-pluginsSkill46d agoMITA18Claude Code
gws-quick-reffakoli/fakoli-pluginsSkill46d agoMITA29Claude Code
excalidrawfakoli/fakoli-pluginsSkill46d agoMITA28Claude Code, Codex
style-opsfakoli/fakoli-pluginsSkill46d agoMITA26Claude Code, Codex