/odin-run:gate-file-completionfrom ODIN Run
Creates gate files with observable-outcome checkboxes to prevent premature "done" claims. Runs gate_check.py, records evidence, and enforces leaf-level verification before completion.
Ships in ODIN Run. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
| Field | Bound contract |
|---|---|
| Trigger | User invokes 'gate-file-completion', 'depth tree', 'gates', or 'do not stop until it is done'; laziness symptoms appear (half-done work, premature done claims, stubs, silently narrowed scope); or a build decomposes three or more layers deep. |
| Authority | Reversible local: writes only named local gate files and evidence; rollback is file deletion of the created .outline/ tree. |
| Side effect | Creates .outline/GATES.md and per-leaf gate files; executes gate_check.py; flips checkboxes; records EVIDENCE. In orchestrated mode, writes .outline/dispatch.json and approval logs. No remote mutation. |
| Done | Solo mode: gate_check.py exits 0; every leaf box is checked and EVIDENCE is non-pending; no stubs, placeholders, or follow-up remain. Honestly surfaced abandonment (ABANDON lines with reasons) is accounted in the report but blocks a clean done: the report carries the abandoned count and ids. Orchestrated mode: same gate requirements plus every returned leaf is parent-reverified, dispatch state is valid, and abandoned count is zero: any abandonment produces HANDOFF REQUIRED and blocks done per references/dispatch-gates.md. |
Required: task decomposition and intended outcome. Optional: depth hint (tree N) and any work already in progress. The skill directory is found by locating scripts/gate_check.py relative to the working directory.
Each item in the gates file is a checkbox with a unique ID, an observable outcome statement, and either an automated CHECK/EXPECT pair or a manual EVIDENCE field. CHECK is the shell command; EXPECT is the substring or /regex/ the output must contain. A checked box with EVIDENCE still reading pending counts as UNMET. Template files live in assets/gates.md under the skill directory.
- [ ] <id>: <observable outcome> CHECK: <command> / EXPECT: <substring or /regex/> / EVIDENCE: pending EVIDENCE: pendingABANDON: <id> <reason>, reported, not deletedTemplates: plan contract, leaf gates, and branch gates in assets/gates.md.
python3 <skill-dir>/scripts/gate_check.py [.outline/GATES.md ...]
It runs each CHECK command, compares output against EXPECT (substring by default, or /regex/ with flags i, s, m, and neutral g; any other tail makes the value a literal), flips a box from [ ] to [x] when the gate is met, and records EVIDENCE with the actual command output. --status reports without changing anything. Done when: gate_check.py has been run and boxes are flipped or unmet gates are identified.references/dispatch-gates.md. Done when: all gates are checked with non-pending EVIDENCE, or remaining work is identified.references/dispatch-gates.md. Done when: the ABANDON line is added and surfaced (solo), or the handoff is declared (orchestrated).references/dispatch-gates.md: strict parsing without executing, human approval bound to the exact CHECK before execution, the dispatch state machine in .outline/dispatch.json, and parent reverification of every returned leaf. A CHECK cannot approve itself; child-produced evidence alone cannot mark a leaf VERIFIED. The parent reruns every runnable leaf CHECK on return. Done when: every returned leaf is parent-reverified, dispatch state is valid, and branch integration gates pass.The gates ledger with every box and its EVIDENCE line showing actual command output, a summary line (N of N checked, M abandoned with reasons), and the final report. Solo mode: abandonment is surfaced honestly with ids and reasons but blocks a clean done. Orchestrated mode: zero abandonment required; any abandonment produces HANDOFF REQUIRED and blocks done per references/dispatch-gates.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-run46 skills in this plugin
/append-run-logUse when a completed agent run must be recorded as durable, queryable evidence. Not for remote, credential, publish, deploy, or irreversible changes./artifact-arenaUse when asked to run /artifact-arena to generate and judge competing artifact implementations. Not for remote, credential, publish, deploy, or irreversible changes./audit-loop-scaffoldUse when loop scaffold files have drifted from their provenance-pinned templates. Not for remote, credential, publish, deploy, or irreversible changes./autopilotUse when a human has an approved delivery plan and wants the full chain run under phase gates. Not for planning, open-ended debugging, or single-step execution: use work directly./cloud-task-orchestratorUse when a human explicitly runs /cloud-task-orchestrator for a large task across cloud agents to drain a verified task graph. Not for local subagent coordination: use orchestration-patterns./corroborate-by-independent-rerunsUse when a candidate patch or answer needs independent corroboration before it is trusted. Not for multi-stance investigation: use council.Other plugins' skills for the same job