rigor: Skill for Claude Code

.claude/skills/rigor-regression-sweep/SKILL.md

rigor-regression-sweep is a skill for Claude Code from rigortype/rigor. It costs 50 tokens per session (3,015 once invoked), scanned A, original, MPL-2.0.

A procedure for measuring how Rigor's diagnostics change across the tagged history of an open-source Ruby project. A tag is a named snapshot of a repository, often marking a release.

In plain words
What is it for?
Use it to run Rigor against every later release tag, measure the reported diagnostic count, validate baseline and acknowledge-mode behaviour, and expand the research corpus.
Why use it?
It shows whether a fixed baseline produces more reported problems as a project evolves and helps test whether the baseline process reflects real development.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is rigortype/rigor's own configuration. It tells Claude Code how to work on rigor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rigor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rigortype/rigor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rigortype/rigor/master/.claude/skills/rigor-regression-sweep/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rigortype/rigor

Made for: Claude Code.

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-regression-sweep

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rigortype/rigor/rigor-regression-sweep"><img src="https://agentmods.dev/badge/skills/rigortype/rigor/rigor-regression-sweep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,015 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.00050 $0.03015
Opus 5.5 $0.00020 $0.01206
Sonnet 5.5 $0.00010 $0.00603
Haiku 4.5 $0.00005 $0.00301

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

Security

Grade A, and why

rigor-regression-sweep 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/sweep.sh, scripts/tabulate.rb), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/rigor-regression-sweep/SKILL.md · 269 lines

How it starts

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

Rigor Regression Sweep

A contributor workflow for measuring how Rigor's diagnostics behave over a real project's development flow. Pick an OSS Ruby project, baseline it at one version, then run rigor check against every later tag with that baseline + config frozen. The per-tag surfaced diagnostic count is the "error increase" a team adopting Rigor in acknowledge mode would have seen.

It validates two things at once: the baseline mechanism (ADR-22) and the realism of the rigor-project-init acknowledge- mode environment — and grows an empirical corpus under docs/notes/.

First worked run: docs/notes/20260521-mastodon-v4.5-regression-sweep.md (Mastodon, 16 tags v4.5.0-beta.1 → v4.5.10).

Phase 0 — When to use

Trigger when asked to "sweep Rigor across versions of X", "check how the error count grows over a release line", "validate the baseline against real churn", or to add a project to the regression corpus.

Do NOT use for: a single-version check of one project (just run rigor check); authoring a plugin (rigor-plugin-author); the 22-library single-snapshot survey style of docs/notes/20260519-oss-library-survey.md (that is breadth; this is depth-over-time for one project).

Phase 1 — Pick the target and the tag range

Choose a real OSS Ruby project with git tags.

The sampling decision is the single most important one — and it governs what the sweep can prove.

Released tags are a post-spec-gate population. A mature project's CI catches obvious errors before merge, and genuine bugs are fixed before a tag is cut. So a sweep over released tags — whether a patch series or a feature-spanning minor/major range — measures:

  • baseline stability — does ordinary maintenance churn produce false regressions? (a real, valuable question), and
  • standing diagnostics — does newly-added released code carry diagnostics the baseline did not already cover?

Read the full file on GitHub · 269 lines

Files

What ships with it

2 files 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 · 269 lines · 50 tokens per session scan A a1befcce383c

Subscribe to this mod's changes

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

rigor-regression-sweep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rigor-regression-sweeprigortype/rigorSkill107todayMPL-2.0A50Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code