Skip to content
Back to skills

Run Plan

ASecurity

EXECUTES an existing @planner plan -- parses the phase DAG, dispatches per-phase implement+review loops, preserving ASK gates. NOT for creating plans; NOT usable from inside a subagent.

  • 7 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add atretyak1985/swarmery --skill run-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Run Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/atretyak1985-run-plan/badge)](https://www.skillsdirectory.com/skills/atretyak1985-run-plan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: run-plan
description: "EXECUTES an existing @planner plan -- parses the phase DAG, dispatches per-phase implement+review loops, preserving ASK gates. NOT for creating plans; NOT usable from inside a subagent."
version: "1.2.0"
owner: "swarmery-core"
docs:
  status: reviewed
  source_sha: 6ab5e18010a1
  updated: 2026-08-06
---

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

# Resources

- Read `resources/execution-routes.md` at the start of a run: locating and
  parsing the plan, the pre-flight review, the route triage table and hand-off
  alternative, worktree isolation and reconciliation, and the S / P / W routes.
- Read `resources/progress-contracts.md` before accepting a phase: ledger format,
  the progress and summary hard gates, invariants, and failure modes.

# How to use

## What it does

Executes a plan directory, keeping a durable ledger so a compacted or interrupted
session resumes without redoing finished work.

## When to use it

- A plan directory with phase docs is ready to execute.
- The plan has parallel groups, several repositories, or a real dependency graph.
- A previous run stopped partway and should resume from the ledger.
- The plan needs worktree isolation so implementers cannot collide.

Not for: writing the plan (`@planner`); running inside a subagent; or a flat
sequential step list, which goes whole to `@implementation-agent` in its
plan-execution mode.

## How to invoke

```
Skill(skill: "core:run-plan") ~/workspace/working/2026/08/06/orders-line-items/plan/
```

The plan directory is optional — without one it finds the newest under the project
workspace, asking when several look plausible. Branch creation, pulls, commits,
pushes, migrations, and deploys come back to you as gated questions.

## Worked example

For the plan above it derives the phase graph and sees phases 1 and 2 are
independent: a worktree per phase, both implementers dispatched at once, each diff
reviewed against that phase's criteria, then merged in dependency order with the
plan's verification commands run after each merge. Phase 3 follows sequentially.
You end with a reviewed branch, ticked checkboxes, a Completion Report in every
phase doc, reports under `reports/`, a `SUMMARY.md`, and cleaned-up worktrees.

## Related

- `@planner` — produces the plan this skill consumes.
- `@implementation-agent` — for a simple sequential step list.
- `@verification-agent` — dispatched automatically for quality-gate phases.

Files in this skill

  • SKILL.md3.6 KB
  • resources/execution-routes.md7 KB
  • resources/progress-contracts.md4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.