Skip to content
Development
Skill

/rig-doctor

Check opencode-rig install health and report exact remediation steps.

BOOST
From plugin
ai-rig
2948 skills16 agents2 MCP
Install
$ npx -y skills add Borda/AI-Rig --skill rig-doctor --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/rig-doctor

Context preview

The summary Claude sees to decide when to auto-load this skill.

Check opencode-rig install health and report exact remediation steps.

SKILL.md

rig-doctor.SKILL.md
name: Rig Doctor
description: Check opencode-rig install health and report exact remediation steps.

Rig Doctor

Run `rig_doctor` and interpret the report. Doctor is read-only.

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; duplication and size warn.

Response

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 `rig.json` and `src/resources/agents.json` together with the card.
  • 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 more
Ships withai-rig

Practical agent workflows for Python, ML, and open-source maintenance. AI-Rig turns recurring work—scoping a change, reproducing a bug, reviewing a pull request, running an experiment, or checking release readiness—into explicit workflows with specialist

Get the whole plugin

Other skills on ai-rig.

debug
Skill

debug

Investigation-first debugging — gather evidence, form confirmed root-cause hypothesis, hand off to fix mode with diagnosis file.…

@borda@bordaInstall Skill
feature
Skill

feature

TDD-first feature development — crystallise API as a demo test, drive implementation to pass it, run quality stack and…

@borda@bordaInstall Skill
fix
Skill

fix

Reproduce-first bug resolution — capture bug in failing regression test, apply minimal fix, run quality stack and review loop.…

@borda@bordaInstall Skill
plan
Skill

plan

Analysis-only planning — classify and scope a task without writing code; outputs a structured plan to .plans/active/. TRIGGER…

@borda@bordaInstall Skill
refactor
Skill

refactor

Test-first refactoring — audit coverage, add characterization tests, apply changes with safety net, run quality stack and review…

@borda@bordaInstall Skill
review
Skill

review

Multi-agent code review of local Python files, directories, or the current git diff covering architecture, tests, performance,…

@borda@bordaInstall Skill