Rig Health

Rig Health is a skill for Claude Code, Codex from Borda/AI-Rig. It costs 66 tokens per session (640 once invoked), scanned A, original, Apache-2.0.

A health checker for an OpenCode Rig installation, including its plug-in, agents, version files, Git access, stored artifacts, and configured checks. It can also inspect shipped skill and role cards for broken links or mismatched files.

In plain words
What is it for?
Use it to produce an installation report, check that versions and agent files agree, verify artifact and Git setup, inspect shipped cards, and perform explicitly confirmed cleanup of old runs.
Why use it?
It helps explain why a workflow or tool is unavailable without changing the installation during diagnosis. It also identifies stale runs and content problems that need attention.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is Lead with the [handoff table](../../references/handoff.md): verdict, alignment, findings, next action, confidence. Then the evidence below..

Good fit Use it to produce an installation report, check that versions and agent files agree, verify artifact and Git setup, inspect shipped cards, and perform explicitly confirmed cleanup of old runs.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Borda/AI-Rig
agentmods
npx agentmods add skills/borda/ai-rig/rig-health

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for Rig Health

README.md
[![agentmods](https://agentmods.dev/badge/skills/borda/ai-rig/rig-health/github.svg)](https://agentmods.dev/skills/borda/ai-rig/rig-health)
Your own site
<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.

agentmods 80×15 button for Rig Health

Your own site · 80×15
<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>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 13d ago against content hash 9eaade852857, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/opencode-rig/src/resources/skills/rig-health/SKILL.md · 48 lines

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, and src/dispatch.ts ROLE_IDS together 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.

Read the full file on GitHub · 48 lines

Changes

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.

  1. 13d ago First seen · 48 lines · 66 tokens per session scan A 9eaade852857

Subscribe to this mod's changes

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.

Related

Rig Health compared with skills from other repositories

Rig Health next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Rig HealthBorda/AI-RigSkill31yesterdayApache-2.0A66Claude Code, Codex
anomaly-alerthoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA86Claude Code, Codex
transcript-grephoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA73Claude Code, Codex
regression-watchhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA82Claude Code, Codex
hook-inventoryhoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA71Claude Code, Codex
event-tracehoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA73Claude Code, Codex
api-error-reporthoangsonww/Claude-Code-Agent-MonitorSkill1.2kyesterdayMITA72Claude Code, Codex