calibrate-rules

calibrate-rules is a skill for Claude Code from odere-pro/claude-calibration. It costs 166 tokens per session (1,178 once invoked), scanned A, original, MIT.

A checker and fixer for Markdown rule files that guide the coding agent. It reviews rules in your personal setup, project, or plugin.

In plain words
What is it for?
It is for auditing and tuning .claude/rules files so the right guidance loads in the right places.
Why use it?
It finds rules that are too long, apply too broadly, use broken file patterns, expose secrets, or conflict with other instructions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the claude-calibration plugin — 20 skills, 6 agents, 2 hooks shipped together

Good fit It is for auditing and tuning .claude/rules files so the right guidance loads in the right places.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/odere-pro/claude-calibration/calibrate-rules
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 odere-pro/claude-calibration --skill calibrate-rules
Clone the repo
git clone --depth 1 https://github.com/odere-pro/claude-calibration

Made for: Claude Code.

Or install claude-calibration, the plugin that ships this one along with the rest of its 20 skills, 6 agents, 2 hooks.

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 calibrate-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/odere-pro/claude-calibration/calibrate-rules/github.svg)](https://agentmods.dev/skills/odere-pro/claude-calibration/calibrate-rules)
Your own site
<a href="https://agentmods.dev/skills/odere-pro/claude-calibration/calibrate-rules"><img src="https://agentmods.dev/badge/skills/odere-pro/claude-calibration/calibrate-rules/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 calibrate-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/odere-pro/claude-calibration/calibrate-rules"><img src="https://agentmods.dev/badge/skills/odere-pro/claude-calibration/calibrate-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 166 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,178 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.00166 $0.01178
Opus 5 $0.00083 $0.00589
Sonnet 5 $0.00033 $0.00236
Haiku 4.5 $0.00017 $0.00118

Measured 9d ago against content hash e3640754d456, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

calibrate-rules 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/enumerate.sh, scripts/lint.sh), 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.

skills/calibrate-rules/SKILL.md · 96 lines

How it starts

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

calibrate-rules — per-feature bundle

You audit and tune .claude/rules/ files. You receive one of two kinds of work:

  • Direct invocation (/claude-calibration:calibrate-rules) — audit everything, report findings, propose fixes inline. The user drives the conversation.
  • Dispatch from the calibrator — one approved plan row at a time, applied surgically.

In both cases the workflow is the same; only the framing differs.

1. Enumerate

bash <BUNDLE>/scripts/enumerate.sh "$PROJECT_DIR"

Yields TSV scope\tpath. Scope is user (~/.claude/rules/...), project (<PROJECT_DIR>/.claude/rules/...), or plugin-self (<plugin-root>/rules/... when the project itself is a plugin).

2. Lint

bash <BUNDLE>/scripts/lint.sh <path …>

Yields TSV path\tsignature\tseverity\tdetail. The signatures this bundle owns (see reference.md):

  • rule:secret-leak (CRITICAL)
  • rule:over-200 (MEDIUM)
  • rule:no-paths-when-language-specific (MEDIUM)
  • rule:plugin-shipped-no-paths (HIGH)
  • rule:bad-glob (HIGH)
  • rule:contradicts-claude-md (LOW)
  • rule:should-be-skill (LOW)

3. Fix — kind: edit rows

For each finding, the remediation pattern is in examples/<case>/:

  • rule:over-200examples/over-200/{before,after}.md (split into focused files)
  • rule:no-paths-when-language-specificexamples/no-paths/{before,after}.md (add frontmatter with a paths: list)
  • rule:plugin-shipped-no-paths → same fix as no-paths plus a note that the rule ships to every user who enables the plugin.
  • rule:secret-leak → remove the secret, rotate it, add to .gitignore or move to .local.
  • rule:bad-glob → fix the YAML list shape.
  • rule:contradicts-claude-md → reconcile: move the canonical statement to one place, link from the other.
  • rule:should-be-skill → propose a new skill at .claude/skills/<name>/SKILL.md; remove the rule file or leave it as a one-line pointer.

4. Create — kind: create rows

When the planner detects a recurrence that this bundle owns (per rules/dispatch.md):

Read the full file on GitHub · 96 lines

Files

What ships with it

8 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. 9d ago First seen · 96 lines · 166 tokens per session scan A e3640754d456

Subscribe to this mod's changes

calibrate-rules is a skill published in the GitHub repository odere-pro/claude-calibration (1 stars, last pushed 1mo ago), licensed MIT. It adds 166 tokens to every session and 1,178 once invoked, about $0.0008 per session on Opus 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-08-31.

Related

Other skills, from other repositories

researcher

Delegate a deep research or survey task to Google's Antigravity CLI (agy staffer, fast Gemini). Use when the user says /agy:researcher, "ask agy to research", "have the agy staffer survey X", or wants a second, independent deep-dive on a topic or codebase without spending the host model's quota.

keli-wen/agy-staff · 75 tokens

writing-javascript

How browser JavaScript is written in this repo — both surfaces now speak one modern dialect and this says what that means for the code you type, where ES modules are impossible and where they are merely unused, and how to pick a feature (Baseline plus a file:// gate). Covers functional idiom over imperative DOM work…

AleksandarBisevac/claude-plugins · 163 tokens

writing-python

How Python is written in this repo — free functions over classes, structured returns instead of mutated arguments, comprehensions, no module state, and the stdlib-only, annotation-free, Python 3.8 dialect the AST lints enforce. Covers modular structure and the import-layer rule, DRY without copying a helper into a…

AleksandarBisevac/claude-plugins · 161 tokens

cleanup

Clean up after a merged pull request — return to the base branch, remove the worktree, delete the branch, sweep other stale branches and worktrees, and report tracker state. Use after a merge or whenever asked what is left over.

mikestankavich/claude-ship-workflow · 0 tokens

prep

Spec a ticket before it is dispatched. Brainstorms it, decides everything it can recommend an answer for, asks a present human about the little that survives, and leaves the spec, the decisions and anything still open as one ticket comment. No worktree, no branch, no pull request, and the ticket stays where it was.

mikestankavich/claude-ship-workflow · 0 tokens

dora-expert

DORA expert for EU financial entities. Deep knowledge of Digital Operational Resilience Act including 5 pillars, ICT risk management, incident reporting, resilience testing, third-party oversight, and information sharing for financial sector digital resilience.

GRCEngClub/claude-grc-engineering · 49 tokens