Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/outlinedriven/odin-claude-plugin/ci-fixnpx skills add OutlineDriven/odin-claude-plugin --skill ci-fixgit clone --depth 1 https://github.com/OutlineDriven/odin-claude-pluginWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/ci-fix)<a href="https://agentmods.dev/skills/outlinedriven/odin-claude-plugin/ci-fix"><img src="https://agentmods.dev/badge/skills/outlinedriven/odin-claude-plugin/ci-fix.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.02437 |
| Opus 5 | $0.00047 | $0.01218 |
| Sonnet 5 | $0.00019 | $0.00487 |
| Haiku 4.5 | $0.00009 | $0.00244 |
Grade A, and why
ci-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to ci-fix — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CI fix
Repair failing CI on a PR or branch. Two modes: interactive (default, reversible local) and autonomous (remote push, entered only on an explicit user ask). Never widen workflow permissions, never add pull_request_target, never offer a rerun in place of a code fix. Merge conflicts route to resolve-merge-conflicts; non-CI bugs route to strike-the-root.
Contract
| Field | Bound contract |
|---|---|
| Trigger | Interactive: user asks to diagnose or repair failing CI on a PR or branch. Autonomous: user explicitly asks for the fix to be pushed. |
| Authority | Interactive: reversible local — write only named source files after plan approval; no remote mutation. Autonomous: the only remote mutation is creating or updating ci-fix/<original-branch> on the same remote; never opens a PR. |
| Side effect | Interactive: local source files are edited and a local-equivalent check passes; remote CI is unchanged. Autonomous: a fix branch is pushed with the approved change set and a new CI run is observed. |
| Done | Interactive: failing checks identified, the approved local fix is applied, and every local equivalent passes; return local-fix-ready because remote CI is unchanged. Autonomous: a new run on ci-fix/<original-branch> is green and the ordered root-cause record is delivered. checks-pass is claimed only after a green remote run is observed. |
Inputs
repo: path inside the repo (default.). Must be a Git repository.- Target: PR number or URL, original branch name, or run ID; defaults to the current branch's PR. A working tree already carrying the in-progress fix is fine.
ghauthenticated for the repo host with workflow/repo scopes; an unauthenticated CLI stops the skill before any change.- Optional: a specific job ID for full-log inspection, or an artifact download when logs alone do not identify the cause.
Procedure — interactive (spine)
- Verify gh authentication:
gh auth status. If unauthenticated, stop and ask the user to rungh auth login; no mutation before this. Done when: an authenticated identity is confirmed bygh auth statusoutput, or the handoff is asked and no mutation has occurred. - Resolve the failing run. PR:
gh pr view --json number,url. Non-PR branch or supplied run ID:gh run list --branch <branch> --status failure --limit 5, thengh run view <run-id>. Done when: one failing run is identified by its run ID and branch name from command output. - Inspect failing checks (GitHub Actions only). Prefer the bundled script, which handles gh field drift, run-id/job-id extraction, failure-snippet extraction, and exits non-zero while failures remain:
python "<path-to-skill>/scripts/inspect_pr_checks.py" --repo "." --pr "<number-or-url>"(--jsonfor machine output).- Manual fallback:
gh pr checks <pr> --json name,state,bucket,link,startedAt,completedAt,workflow; rerun with the fieldsghaccepts if one is rejected. Extract the run id fromdetailsUrl, thengh run view <run_id> --json name,workflowName,conclusion,status,url,event,headBranch,headShaandgh run view <run_id> --log; for one failing job usegh run view <run-id> --log --job <job-id>; for evidence logs cannot supply,gh run download <run-id> -D .artifacts/<run-id>. If a run log is still in progress, fetch job logs viagh api "/repos/<owner>/<repo>/actions/jobs/<job_id>/logs". - A check whose
detailsUrlis not a GitHub Actions run is external: report the URL only; do not attempt Buildkite or other providers. Done when: every failing check has a name, URL, and a log snippet from command output — or an explicitlog_pending/log_unavailablemarker; never a fabricated snippet.
- Triage every failing check: classify each as a root cause or a downstream symptom of another failure. A single root cause may surface as several failing checks. Order the work so root causes are fixed before the symptoms they produce. Done when: every failing check is classified as root cause or symptom in a written list, and the work order places root causes before their symptoms.
- For each root-cause failure, read the failure log and the relevant source to determine the smallest deterministic fix for that cause; prefer a code change over workflow plumbing; for a flaky test, fix the nondeterminism instead of rerunning. Request approval before editing any file. Done when: the plan is approved in writing with the file paths and change described, or refused — then report the plan and wait without editing.
- Implement the approved plan and summarize diffs and tests. Keep the change set inside the failing job/step where possible. Done when:
git diff --name-onlylists only the approved file paths and the diff summary matches the approved plan. - Run the local equivalent of each failing CI check to confirm the fix before any push. Done when: the local check command exits 0 with its output captured, confirming the fix reproduces green locally.
- Capture the current remote status with
gh pr checks <pr>. Interactive mode has not pushed, so reportlocal-fix-readywith the local proof and the observed red or pending remote checks; never imply that local edits changed CI. If the remote checks are already green because another actor updated the branch, report the observed green state without attributing it to the local patch. Done when: the currentgh pr checksoutput is captured and the result islocal-fix-readywith remote status quoted, or an independently updated remote run is observed green with its output quoted.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 68 lines · 94 tokens per session scan A 5a5f9db49528
ci-fix is a skill published in the GitHub repository OutlineDriven/odin-claude-plugin (35 stars, last pushed yesterday), licensed Apache-2.0. It adds 94 tokens to every session and 2,437 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ci-fix, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
java-fix
Diagnoses and fixes Java compile errors, runtime exceptions, and stack traces. Use when user asks to "fix this error", "this won't compile", "I'm getting an exception", "debug this", or "build is failing".
java-perf-check
Quick Java performance scan flagging N+1 queries, memory issues, threading problems, and algorithmic hotspots. Use when user asks to "check performance", "performance scan", "any N+1 queries", "performance issues", "is this efficient", or "slow code".
postmortem
Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.
health-check
Runs plugin health checks (venv packages, skill registration, and album slug collisions). Use when the user asks to check plugin health, verify setup, or troubleshoot missing skills.
rch
Use RCH once to offload a build or collect remote-compilation diagnostics. Triggers: "use RCH", "offload this build".
performance-analysis
Measurement approaches, profiling patterns, bottleneck identification, and optimization guidance. Use when diagnosing performance issues, establishing baselines, identifying bottlenecks, or planning for scale. Always measure before optimizing.