/odin-run:diagnose-loop-healthfrom ODIN Run
Diagnoses misbehaving loops by inspecting charter, state, gate, and budget files for correctness. Exits with severity report and prioritized actions.
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.
| Field | Bound contract |
|---|---|
| Trigger | A configured loop misbehaves, or the user asks whether the loop setup is sound |
| Authority | Read-only. No file, VCS, credential, paid, published, deployed, or remote mutation. |
| Side effect | A severity report with at most three prioritized actions and a nonzero exit on blocked; no file mutation |
| Done | Severity is healthy, warning, or blocked with exit 0, 1, or 2, and each finding names the exact missing or stale charter, state, gate, or budget file |
The user must supply the loop directory to inspect. No file is created or written. The skill reads four file classes from that directory: the charter file, the state file, the gate file, and the budget file. If the directory is not named, ask for it and stop until it is supplied.
Obtain the loop directory from the user. If absent, stop and ask; do not infer or create one. Done when: the loop directory is supplied or the skill stops to ask.
Bound scope to read-only inspection of that directory. Do not write, create, rename, delete, or move any file. Done when: scope is bounded to read-only inspection.
Locate and read the loop's charter file, state file, gate file, and budget file. For each, record presence and freshness: missing if absent; stale if its content does not match the loop's declared cadence, gate thresholds, or budget limits. Done when: all four files are read with presence and freshness recorded.
Classify severity on the ladder: healthy if all four files are present and current; warning if any file is missing or stale but the loop can still run; blocked if a required charter or state file is absent or unreadable. Done when: severity is classified healthy, warning, or blocked.
For warning or blocked, emit at most three prioritized actions ordered by impact, each naming the exact missing or stale file by path and class. Done when: zero to three prioritized actions are emitted, each naming the file by path and class.
Exit 0 for healthy, 1 for warning, 2 for blocked. Done when: the exit code matches the severity.
A severity report carrying one of healthy, warning, or blocked, the matching exit code 0, 1, or 2, and zero to three prioritized actions, each naming the exact missing or stale charter, state, gate, or budget file by path and class, ordered obtain-dir → bound-scope → read-files → classify → emit-actions → exit.
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