name: run-plan description: Use when the user invokes it to run a plan's unlanded tasks, which it hands to build, or to install the terminal exo run. Not for a plan built inside this session, which build owns, or a plan not yet written, which spec owns. argument-hint: "<plan path> | setup" disable-model-invocation: true metadata: version: "1.0.1"
Run a plan
Build the plan the user invokes run-plan on through exo:build, each task landed by agents in this session. The enemy is a session that starts the headless scripts itself, which refuse inside a session. The overcorrection is a session that builds tasks itself beside the build loop.
Run
- When the argument is
setup, run node "${CLAUDE_SKILL_DIR}/../build/scripts/exo-cli.mjs" setup, report its output and stop.
- Otherwise the argument is one plan path; with none, ask for it and run nothing.
- With a plan path, invoke
exo:build <plan> with the flags the user typed that build takes. - Report one line: the headless loop, each task in its own process, runs only from a terminal, as the user's
exo run <plan> --detach.
Judgment
- When a run is already live, touch no task, branch or file it owns.
- When an in-session loop is wanted, the official
/ralph-loop plugin runs beside exo, because exo registers no Stop hook.