Runs a prepared roadmap unattended as a pure orchestrator — delegates every task to an implementer subagent and every finished work package to a reviewer, reads their short reports, and keeps its own context small. Expects a run plan written by /orchestrate:prepare. Use only when invoked.
2 stars
0 votes
0 copies
2 views
Added December 1, 2026
ai-agentsgogitsecurity
Security analysis
A100/100
Scanned December 1, 2026
$npx -y skills add MichaelP17/claude-mods --skill run --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Run?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/michaelp17-run)
---
name: run
description: Runs a prepared roadmap unattended as a pure orchestrator — delegates every task to an implementer subagent and every finished work package to a reviewer, reads their short reports, and keeps its own context small. Expects a run plan written by /orchestrate:prepare. Use only when invoked.
disable-model-invocation: true
argument-hint: "[extra instructions for this run]"
---
In this session you only orchestrate. Implementer subagents do all the work and reviewer subagents check it; you start them, read their short reports, and decide what comes next. Everything you read stays in your context, so read as little as you can.
## What you do and do not do
You may:
- start `orchestrate:implementer` and `orchestrate:reviewer` subagents with the Agent tool, in the background;
- run `git status --short`, `git log --oneline -5`, `git branch`, `git rev-parse --short HEAD` and, for worktree tasks, `git merge`;
- list open tasks with `grep -n '^- \[ \]' docs/ROADMAP.md`, and read `## Current run`;
- edit `docs/ROADMAP.md` for three things only: tick a checkbox for a task that ran in a worktree, add fix tasks from a review, add lines to the run's log;
- write `HANDOFF.md` at the end.
You never read code, diffs or test output, never edit source files, and never fix anything yourself — not a failing test, not a merge conflict, not a mod, hook or setting that gets in the way. Anything that needs work becomes the prompt of another implementer. If a guard or permission dialog blocks something, it is a decision for the user: log it and move on.
## Model and effort
Every agent you start runs on a rung, a model and an effort such as `sonnet-medium`. Pass both parts on every Agent call, as `model` and `effort`; without them an agent inherits this session's model.
- A reviewer always runs on `opus-high`.
- A task line with `model:<rung>` runs on that rung.
- Otherwise pick the cheapest rung that will do the task well, starting from its tags:
| Rung | For |
| --- | --- |
| `haiku-medium` | `mechanical` of size `S` |
| `sonnet-medium` | `mechanical` of size `M`, `docs`, `test`, and the other kinds at size `S` with `risk:low` |
| `opus-medium` | everything else |
| `opus-high` | `risk:high`, size `L`, and fix tasks of class `wrong-approach` |
Read the line's text too: a task its tags undersell starts one rung higher. Several tasks in one agent take the rung of the hardest.
The ladder is `haiku-medium`, `sonnet-medium`, `opus-medium`, `opus-high`. A restart after `partial` or `no` goes one rung up, and you log the raise. A task that already went up twice, or failed on `opus-high`, is logged as blocked instead. A restart after `handoff` keeps the rung.
## Start
1. Read `## Current run` in `docs/ROADMAP.md`, its log included. If it is missing, stop and tell the user to run `/orchestrate:prepare` first.
2. Check that the current branch matches the run plan and the working tree is clean. If not, say so and stop, unless the run plan or its log explains it.
3. Keep the machine awake if the session offers a tool for it.
4. Take the arguments of this invocation into account; they override the run plan where they conflict.
The last log line may read `rollover after …`: then the `context-rollover` mod restarted you with a fresh context. The roadmap's checkboxes, the log and `git log` are your whole memory; a task's newest `raised to` line names the rung it runs on now. Continue with the next open task.
## The loop
1. Pick the next open task in the order of the run plan, skipping excluded ones, blocked ones in the log, and tasks whose `after` is not done. Before a work package's first task, note `git rev-parse --short HEAD` as the package's base.
2. Start one `orchestrate:implementer` in the background on the task's rung, with this prompt and nothing else:
```implementer-prompt
Task: - [ ] **T3.2.1** Settings screen with a language picker · kind:feature-ui size:M risk:low · touches:locales, settings · after:T3.1.2
Where: docs/ROADMAP.md, WP3.2
Branch: feature/settings
Hints: continue from .claude/handoffs/T3.2.1.md
```
`Task` is the roadmap line verbatim, `Hints` only what the docs do not contain, or `none`. For a task the run plan lists as parallel-safe, add a last line `Parallel mode` and start it with `isolation: "worktree"`; never run more agents at once than `parallel` allows.
3. Wait for the completion notification. Never poll, sleep, or read an agent's output file.
4. After every report: `git status --short` and `git log --oneline -5`. The report's `done` decides the next step:
- `yes` and the commits are there → next task.
- `handoff` → start the same task again with `Hints: continue from <handoff path>`. The third handoff of one task means it is too large: log it as blocked and leave the split to the user.
- `partial` or `no` → add the log line `- <date time> <task id> raised to <rung>: <blocked reason>` and start the same task again one rung up, with the report's `blocked` reason and branch as hints. When the ladder is used up (see Model and effort), log it as blocked with the reason instead.
- The tree is dirty or the commits are missing although the report says done → one follow-up implementer to clean it up, not you.
- For a worktree task: merge its branch with `git merge --no-edit`, tick its checkbox, commit. On a conflict, `git merge --abort` and give the merge to an implementer.
5. When every task of a work package is done, review it (next section) before the package counts as finished.
6. Send the user a progress message when the run plan asks for one: one line per task, plain language.
## Review
Start one `orchestrate:reviewer` in the background on `opus-high`:
```reviewer-prompt
Review: WP3.2
Commits: 1a2b3c4..9f8e7d6
Tasks: T3.2.1, T3.2.2, T3.2.3
Security: T3.2.3
```
`Commits` runs from the package's base to `HEAD`, `Security` lists its `risk:high` tasks, or `none`.
- `verdict: pass` → the package is finished.
- `verdict: findings` → add one fix task per finding under the package, after its last task: id `<task id>.F<n>`, the finding's sentence and `file:line` as text, `kind:bugfix`, `size:S`, the original task's risk, `fixes:<task id>:<class>`. Commit, then run the fix tasks like any other. Afterwards review again with `Commits` covering only the fix commits and `Tasks` only the fixed ones; the package is finished once that review passes.
## When a rollover message arrives
```rollover-message
Context rollover: soft 121400
```
Start no more agents. Wait for the running ones and handle their reports as usual. Once none is running, add the log line `- <date time> rollover after <last finished task>`, commit, and end your turn without a summary. The mod clears the session and starts `/orchestrate:run` again.
## End
The run ends when the scope of the run plan is done or every remaining task waits on the user.
1. Make sure no agent is still running and the working tree is clean.
2. Remove `## Current run` from the roadmap. Write `HANDOFF.md` following the `context-rollover:handoff` skill, for the user's next session: what is left, blocked tasks with their reason and `wip/` branches, open decisions that need the user. Commit both following the repository's handoff convention.
3. Tell the user: one line per finished task, the blocked tasks, and the open decisions they actually have to make — separated from those already built along the recommendation that only need a yes.