rigor-upgrade

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

A procedure for adopting a new version of Rigor, a Ruby code-analysis tool, by comparing its findings with the project's saved baseline. It separates newly found issues from false alarms caused by stricter analysis.

In plain words
What is it for?
Use it after upgrading Rigor to inspect changed diagnostics and update the project's accepted findings safely.
Why use it?
It prevents teams from either hiding real new problems by replacing the baseline or treating every new warning as a regression.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it after upgrading Rigor to inspect changed diagnostics and update the project's accepted findings safely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rigortype/rigor/rigor-upgrade
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-upgrade
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-upgrade

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-upgrade"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 851 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.00051 $0.00851
Opus 5.5 $0.00020 $0.00340
Sonnet 5.5 $0.00010 $0.00170
Haiku 4.5 $0.00005 $0.00085

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

Security

Grade A, and why

rigor-upgrade 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-upgrade/SKILL.md · 101 lines

How it starts

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

Rigor Upgrade

A new Rigor release sharpens inference and may add or tighten rules, so rigor check can report diagnostics it did not before — most are the new version catching more, a few are sig-quality false positives the new sharpness exposes. This skill adopts the upgrade without either blindly regenerating the baseline (which buries genuine new catches) or treating every new line as a regression.

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 — doubly so here, since you just changed the version this skill is meant to track. Get the complete current procedure in one call:

rigor skill --full rigor-upgrade

If you already loaded this skill via rigor skill you have the current copy — just proceed. If rigor is not on PATH, this task needs it: run rigor-next-steps to install Rigor first, then come back.

When to use

  • You just ran mise use gem:rigortype / gem update rigortype and want to understand what the new version changed about your project's diagnostics.

Procedure

Phase 1 — confirm the new version

rigor --version

Phase 2 — see the delta against the committed baseline

rigor check             # everything outside the committed baseline's envelope
rigor baseline drift    # per-bucket movement against .rigor-baseline.yml

With baseline: wired, rigor check already hides what the baseline covers, so what it prints is new relative to the baseline — that set is what the upgrade changed. rigor baseline drift adds the bucket view: buckets now over their recorded count, and buckets the new version cleared or shrank.

Phase 3 — sort the new diagnostics

For each newly-surfaced diagnostic:

  • A genuine new catch — the sharper inference found a real latent issue. Fix it. (Check evidence_tier in rigor check --format json: high is most likely a true positive.)
  • A sig-quality false positive — a known class (Struct call.wrong-arity, an over-nilable RBS return, a regex-capture $1 read). # rigor:disable <rule> the site with a reason, or address the RBS. Read rigor explain <rule> if unsure whether the rule should fire here.
  • Expected envelope growth — broadly acceptable in acknowledge mode.

Read the full file on GitHub · 101 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. 11d ago First seen · 101 lines · 51 tokens per session scan A 7075bef4ef52

Subscribe to this mod's changes

rigor-upgrade is a skill published in the GitHub repository rigortype/rigor (107 stars, last pushed today), licensed MPL-2.0. It adds 51 tokens to every session and 851 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-upgrade compared with skills from other repositories

rigor-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rigor-upgraderigortype/rigorSkill107todayMPL-2.0A51Claude 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
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex