rigor-doctor

rigor-doctor is a skill for Claude Code, Codex from rigortype/rigor. It costs 44 tokens per session (770 once invoked), scanned A, original, MPL-2.0.

A diagnostic workflow that runs Rigor's own checks on configuration, the Ruby signature environment, plugins, file paths, baselines, and installation layout. It interprets whether the setup works rather than merely checking that files exist.

In plain words
What is it for?
It is for investigating incorrect analysis results, configuration problems, plugin gaps, baseline drift, or other unhealthy Rigor setup.
Why use it?
It helps explain suspiciously few or many diagnostics and catches broken setup after configuration changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for investigating incorrect analysis results, configuration problems, plugin gaps, baseline drift, or other unhealthy Rigor setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rigortype/rigor/rigor-doctor
Install

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.

Any agent
npx skills add rigortype/rigor --skill rigor-doctor
Clone the repo
git clone --depth 1 https://github.com/rigortype/rigor

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 rigor-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/rigortype/rigor/rigor-doctor/github.svg)](https://agentmods.dev/skills/rigortype/rigor/rigor-doctor)
Your own site
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-doctor"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-doctor/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 rigor-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-doctor"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 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.00044 $0.00770
Opus 5.5 $0.00018 $0.00308
Sonnet 5.5 $0.00009 $0.00154
Haiku 4.5 $0.00004 $0.00077

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

Security

Grade A, and why

rigor-doctor 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 11d 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.

skills/rigor-doctor/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rigor Doctor

rigor skill describe reports what exists (presence checks). This skill goes a level deeper: rigor doctor runs Rigor's own setup validators (config audit, RBS environment, plugin loading, baseline drift, plugin gaps, install layout) and this skill interprets the result — the difference between "a .rigor.yml is present" and "it parses, loads its plugins, and analyses the right files." Reach for it when the diagnostics look wrong (suspiciously zero, or suspiciously many) or after editing the config.

First: load the version-current copy

This skill's exact commands, flags, and config keys drift between Rigor releases, so follow the copy that ships with the installed Rigor rather than any vendored or frozen copy of this file. Get the complete current procedure in one call:

rigor skill --full rigor-doctor   # this body + all its references/, inline

If you already loaded this skill via rigor skill you have the current copy — just proceed (read any references/NN-*.md from the directory the header names). If rigor is not on PATH, this task needs it: run rigor-next-steps to install Rigor first, then come back.

When to use

  • After editing .rigor.yml / .rigor.dist.yml.
  • When rigor check reports suspiciously few or suspiciously many diagnostics, or the config feels like it isn't taking effect.
  • NOT for first-time setup (→ rigor-project-init) or working real diagnostics down (→ rigor-baseline-reduce).

What it validates

rigor doctor runs the setup checks in one pass (--format json gives each finding's checks[].id and status) and exits non-zero when any check fails. It does not check whether the analysis sees the right files; that is a separate look at stats.target_files in rigor check --format json. What each check id means and how to act on it live in the version-current references/01-checks.md (loaded per the directive above).

Interpreting the result

Read the full file on GitHub · 80 lines

Files

What ships with it

1 file 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.

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. 11d ago First seen · 80 lines · 44 tokens per session scan A 38215b9de2b5

Subscribe to this mod's changes

rigor-doctor is a skill published in the GitHub repository rigortype/rigor (107 stars, last pushed today), licensed MPL-2.0. It adds 44 tokens to every session and 770 once invoked, about $0.0002 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-10-26.

Related

rigor-doctor compared with skills from other repositories

rigor-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rigor-doctorrigortype/rigorSkill107todayMPL-2.0A44Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41ktodaynoneA151Claude Code, Codex