outline-expand
Installation
SKILL.md
$outline-expand
This engine is OMXR's map-reduce shape: one outline in, N first-draft sections out, one Codex subagent dispatch per section, batched when the active runtime supports parallel dispatch. It is the second-simplest engine after $iterate-revision — there is no loop and no reviewer; the verdict is "we wrote the files we said we would."
If you are reading this because Codex's skill auto-discovery surfaced it: invoke it via $outline-expand <outline-path>. Do not hand-edit the manuscript sections or .omx/state/omxr/paper.json while a run is in flight.
When this skill is invoked, immediately execute the workflow below. Do not only restate or summarize these instructions back to the user.
Signature
$outline-expand <outline-path> [--sections <list>] [--max-iter-per-section N]
| Flag | Default | Purpose |
|---|---|---|
--sections |
all sections discovered in the outline whose paper.json.sections[name].status is not approved |
Comma-separated subset to draft. Explicit names override the "already drafted" early-skip but never the approved guard (use --sections + manual status reset to redo an approved section). |
--max-iter-per-section |
1 (unused currently) |
Reserved for now --auto-iterate. This engine produces first drafts only. |