Agent skill

Rigor Baseline Reduce

by rigortype in rigortype/rigor

Reduce an existing .rigor-baseline.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline.

MPL-2.0Auto-check passedDevelopment

Install Rigor Baseline Reduce

skills CLI
$ npx skills add rigortype/rigor --skill rigor-baseline-reduce -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rigortype/rigor rigor-baseline-reduce --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rigortype/rigor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/rigor-baseline-reduce .claude/skills/rigor-baseline-reduce && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rigor-baseline-reduce
GitHub stars
106
Token cost
~1.3k tokens
SKILL.md length
647 words
Files
3 (incl. references)
Skills in repo
36
Repo updated
First seen
Licence
MPL-2.0

At a glance

Reduce an existing .rigor-baseline.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline.

  • Baseline diagnostics already acknowledged by a project
  • SKILL.md covers First: load the…, Phase 0 — When to use this skill, What baseline reduction is and Phase outline, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Not for first-time setup

What it does

Rigor Baseline Reduce is an agent skill from rigortype/rigor. Reduce an existing .rigor-baseline.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline. Use for baseline diagnostics already acknowledged by a project; not for first-time setup or plugin authoring.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/01-classify.md` and `references/02-fix-or-suppress.md`).

It sits in Development. The repository describes itself as: Inference-first static analysis for Ruby. The licence is MPL-2.0.

When your agent uses it

  • Baseline diagnostics already acknowledged by a project
  • Not for first-time setup
  • Plugin authoring

Example prompts

  • “/rigor-baseline-reduce”

What it can do on your machine

Read from SKILL.md and the folder at commit 57a67cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rigor Baseline Reduce loads about 1.3k tokens when it runs, and up to ~4k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 647 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rigortype/rigor at commit 57a67cf, republished under its MPL-2.0 licence (© rigortype). 647 words, ~1,340 tokens.

Download SKILL.mdSave it as .claude/skills/rigor-baseline-reduce/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
rigor-baseline-reduce
description
Reduce an existing `.rigor-baseline.yml` rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline. Use for baseline diagnostics already acknowledged by a project; not for first-time setup or plugin authoring.
license
MPL-2.0
metadata.version
0.1.0
metadata.homepage
https://github.com/rigortype/rigor

Rigor Baseline Reduce

Opportunistic, session-bounded quality improvement for a project that already has a .rigor-baseline.yml. Each session picks a rule, walks its sites, and lands a mix of fixes, intentional suppressions, and issue reports — then refreshes the baseline so the gains stick.

This skill is for users improving their own project. It uses the published rigor executable on PATH and references only public CLI flags and config keys.

First: load the version-current copy

The step-by-step commands live in this skill's references/ files, and their exact flags 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:

sh
rigor skill --full rigor-baseline-reduce   # 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.

Phase 0 — When to use this skill

Precondition: the project is in acknowledge mode. This skill operates on a .rigor-baseline.yml that .rigor.yml / .rigor.dist.yml declares via baseline:. A strict-mode project (severity_profile: strict, no baseline) has nothing for this skill to reduce — its diagnostics are already all live; fix them as ordinary rigor check output. If no baseline exists, the user wants rigor-project-init, not this skill.

Do NOT trigger for:

  • First-time onboarding — no .rigor.yml yet → rigor-project-init.
  • Writing a plugin for the project's DSL → rigor-plugin-author.

What baseline reduction is

.rigor-baseline.yml records (file, rule, count) buckets — the diagnostics that existed when the project adopted Rigor. They are suppressed while their count holds. Reduction means: go through them deliberately, decide what each one really is, and shrink the file. Three outcomes per site:

  • Real bug — Rigor caught a genuine defect. Fix the code.
  • Stylistic / safe — the static reading is worst-case-sound but the site is fine in practice (an idiom the analyzer's narrowing doesn't follow, a slot the project always initialises). Mark it # rigor:disable <rule> with intent.
  • False positive — Rigor is wrong; the rule should narrow further. Leave it baselined and open a Rigor issue.

Shrinking the baseline is progress whichever outcome applies — the file gets smaller, and "reduce the baseline by N this sprint" is a trackable goal.

Show full SKILL.md (272 more words)Show less

Phase outline

PhaseWhatReference
1Prioritise — rigor triage --format json + rigor baseline dump pick the rule to work.references/01-classify.md
2Per rule: sample 3–5 sites, classify each (real bug / stylistic / FP).references/01-classify.md
3Act — fix, # rigor:disable, or open a Rigor issue.references/02-fix-or-suppress.md
4Refresh — rigor baseline drift, then rigor baseline regenerate.references/02-fix-or-suppress.md

Phases 2–4 repeat per rule until a stop condition (below) fires.

Reading order — modules

ModuleReadCovers
1references/01-classify.mdPhases 1–2. Priority order from the rigor triage hints + ascending bucket count. The sample-and-classify protocol; the three-way real-bug / stylistic / FP triage and how to tell them apart.
2references/02-fix-or-suppress.mdPhases 3–4. Acting on each classification — fix patterns, # rigor:disable placement (per-line vs per-file), FP escalation as a Rigor GitHub issue. Refreshing the baseline with drift + regenerate.

Stop conditions

End the session — do not grind indefinitely — when any of these hit:

  • The user signals halt.
  • The next rule's site count exceeds the session budget (default: ~20 sites). A 200-site rule is systemic; escalate it as a decision (below), do not walk it site by site.
  • A wall-time budget is reached (default: ~60 minutes).

Always finish with Phase 4 (refresh the baseline) before stopping, so the landed work is recorded.

Decision points to escalate to the user

  • "This rule has 200 sites across 14 files — it looks systemic. A plugin or an engine fix would clear them in bulk; want me to investigate that instead of walking sites one by one?"
  • "This file's diagnostics would be cleaner under one per-file # rigor:disable-file <rule> than 30 per-line comments — switch?"
  • "The diagnostic wording changed between Rigor versions and the baseline no longer matches cleanly — regenerate now?"

© rigortype, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/rigor-baseline-reduce of rigortype/rigor.

  • SKILL.md
  • references/01-classify.md
  • references/02-fix-or-suppress.md

Open the folder on GitHubat commit 57a67cf

Compare with similar skills

Rigor Baseline Reduce next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rigor Baseline Reduce compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rigor Baseline Reduce this skillrigortype/rigor106—~1.3kAutomated safety check: PassMPL-2.0
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from rigortype/rigor

All 36 skills in this repo
  • Rigor Regression Sweep

    rigortype/rigor

    Measure Rigor's baseline drift across the tagged history of a real OSS Ruby project.

    106 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Adjudicate a rigor unused report safely before proposing dead-code removal.

    106 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rigor Doctor

    rigortype/rigor

    Validate that a project's Rigor configuration, plugins, paths, and baseline are actually healthy.

    106 GitHub stars~767 tokensUpdated today
    Auto-check passed
  • Rigor Plugin Author

    rigortype/rigor

    Author a new Rigor plugin, choosing plugins/ for production support or examples/ for a contract walkthrough.

    106 GitHub stars~3.3k tokensUpdated today
    Auto-check: notes
  • Rigor Plugin Author

    rigortype/rigor

    Author a Rigor plugin in an adopting project or standalone rigor- gem for a DSL, framework, or metaprogramming pattern.

    106 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Rigor Plugin Review

    rigortype/rigor

    Audit an existing Rigor plugin against the current authoring contract and produce a prioritized upgrade path.

    106 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Categories

Questions about Rigor Baseline Reduce

What does Rigor Baseline Reduce do?

Reduce an existing .rigor-baseline.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline. Rigor Baseline Reduce is an agent skill from rigortype/rigor.yml rule by rule by triaging sites, fixing or intentionally suppressing them, and regenerating the baseline.

When should I use Rigor Baseline Reduce?

Rigor Baseline Reduce fits situations like: baseline diagnostics already acknowledged by a project; not for first-time setup; plugin authoring.

How do I install Rigor Baseline Reduce in Claude Code?

Run `npx skills add rigortype/rigor --skill rigor-baseline-reduce -a claude-code`. Or copy the skill folder (skills/rigor-baseline-reduce in rigortype/rigor) into .claude/skills/rigor-baseline-reduce in your project. Claude Code loads it when a task matches its description.

How do I install Rigor Baseline Reduce in Codex?

Run `npx skills add rigortype/rigor --skill rigor-baseline-reduce -a codex`. Or copy the skill folder (skills/rigor-baseline-reduce in rigortype/rigor) into .agents/skills/rigor-baseline-reduce in your project. Codex loads it when a task matches its description.

Can I use Rigor Baseline Reduce in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rigortype/rigor --skill rigor-baseline-reduce -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rigor-baseline-reduce, .gemini/skills/rigor-baseline-reduce, .github/skills/rigor-baseline-reduce and .opencode/skills/rigor-baseline-reduce in your project.

What does Rigor Baseline Reduce need to run?

SKILL.md names no scripts, command-line tools or credentials: Rigor Baseline Reduce is instructions for the agent only.

Does Rigor Baseline Reduce access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rigor Baseline Reduce safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rigor Baseline Reduce use?

Rigor Baseline Reduce is published under the MPL-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rigor Baseline Reduce use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Rigor Baseline Reduce?

Skills that share tags, products or a category with Rigor Baseline Reduce: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rigor Baseline Reduce?

rigortype (a GitHub organization) maintains it in rigortype/rigor, which has 106 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 8, 2026.

Source: rigortype/rigor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.