Skip to content
Back to skills

Rig Health

ASecurity

Check opencode-rig install health, including plugin load, version synchronization, agent installation, Git grant, artifact root, and detected gates. Use when a workflow or tool is unavailable. Also curates shipped cards (assets) and deletes stale runs only through explicitly confirmed cleanup. NOT for editing configuration or fixing files.

  • 31 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 18, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Borda/AI-Rig --skill rig-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rig Health?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rig Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borda-rig-health/badge)](https://www.skillsdirectory.com/skills/borda-rig-health)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Rig Health
description: Check opencode-rig install health, including plugin load, version synchronization, agent installation, Git grant, artifact root, and detected gates. Use when a workflow or tool is unavailable. Also curates shipped cards (assets) and deletes stale runs only through explicitly confirmed cleanup. NOT for editing configuration or fixing files.
---

# 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:

```bash
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](../../references/handoff.md): 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: ask the `local-commit-grant` decision through `question` and answer **Approve always** once in the main checkout, or keep per-commit questions ([decision selectors](../../references/decisions.md)).
- 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.

## Confirmed cleanup

1. Run `rig_doctor` with `action: "report"` and show the stale-run count and configured TTL.
2. Obtain the user's explicit confirmation for deleting all stale run directories selected by the tool under that TTL. Without confirmation, stop after the read-only report.
3. Only after confirmation, call `rig_doctor` with `action: "clean"` and `confirm: true`. Report the removed directories or the tool's failure; do not delete runs manually or edit configuration as part of cleanup.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.