Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Borda/AI-Rignpx agentmods add skills/borda/ai-rig/rig-healthWrote 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/borda/ai-rig/rig-health)<a href="https://agentmods.dev/skills/borda/ai-rig/rig-health"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-health/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/borda/ai-rig/rig-health"><img src="https://agentmods.dev/badge/skills/borda/ai-rig/rig-health.svg" alt="Reviewed on agentmods" width="80" 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.00066 | $0.00640 |
| Opus 5.5 | $0.00026 | $0.00256 |
| Sonnet 5.5 | $0.00013 | $0.00128 |
| Haiku 4.5 | $0.00007 | $0.00064 |
Grade A, and why
Rig Health 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rig Health
Run rig_doctor with action: "report" and interpret the report. Diagnosis is read-only; deletion requires the separate confirmed cleanup path below.
Start with the project check:
test -f package.json
Checks
- Plugin is loaded and reports the expected version.
package.json,rig.json,src/version.ts, and the README marker agree.- Agent files are installed and stamped with the current version.
- Git is available and a local Git grant state can be read.
- The artifact root exists or can be created, and is gitignored.
- Configured gates are detectable.
- Stale run directories older than the configured TTL are reported.
Use action: "assets" (CLI: opencode-rig doctor --assets) to curate the shipped cards: rig.json roster agreement, skill frontmatter and headings, relative reference links, duplicated prose, and oversized skill or role cards. Roster drift and dead links fail; the in-session tool also fails a frontmatter description that differs from the routing manifest. Duplication and size warn.
Response
Lead with the handoff table: verdict, alignment, findings, next action, confidence. Then the evidence below.
Report each line as pass, warn, or fail. For every failure, give the exact command or edit that fixes it:
- Missing or stale agents:
opencode-rig init --project(or--upgrade). - Missing Git grant: answer Approve always once in the main checkout, or keep per-commit questions.
- Missing artifact ignore: add
.opencode-rig/to.gitignore. - No gates: configure a Makefile or package script, or set
options.gates. - Asset roster drift: update the installed package's
rig.json,src/resources/agents.json,src/skill-manifest.ts, andsrc/dispatch.tsROLE_IDStogether with the card, keeping skill and role rosters consistent. - Dead reference link or duplicated prose: fix the link, or move the shared text into a reference file.
Do not change files while diagnosing. Do not run paid checks.
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.
- 13d ago First seen · 48 lines · 66 tokens per session scan A 9eaade852857
Rig Health is a skill published in the GitHub repository Borda/AI-Rig (31 stars, last pushed yesterday), licensed Apache-2.0. It adds 66 tokens to every session and 640 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.
Rig Health compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Rig HealthBorda/AI-Rig | Skill | 31 | yesterday | Apache-2.0 | A | 66 | Claude Code, Codex |
| anomaly-alerthoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 86 | Claude Code, Codex |
| transcript-grephoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 73 | Claude Code, Codex |
| regression-watchhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 82 | Claude Code, Codex |
| hook-inventoryhoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 71 | Claude Code, Codex |
| event-tracehoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 73 | Claude Code, Codex |
| api-error-reporthoangsonww/Claude-Code-Agent-Monitor | Skill | 1.2k | yesterday | MIT | A | 72 | Claude Code, Codex |