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.
npx skills add FlorianBruniaux/claude-code-plugins --skill eval-rulesgit clone --depth 1 https://github.com/FlorianBruniaux/claude-code-pluginsWrote 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.
[](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/eval-rules)<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/eval-rules"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/eval-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.
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/eval-rules"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/eval-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.03773 |
| Opus 5.5 | $0.00033 | $0.01509 |
| Sonnet 5.5 | $0.00016 | $0.00755 |
| Haiku 4.5 | $0.00008 | $0.00377 |
Grade A, and why
eval-rules scanned grade A with 1 finding 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 4d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
git = subprocess.run(["git", "-C", root, "ls-files", "-co", "--exclude-standard"], capture_output=True, text=True) How it starts
The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rules evaluator
Discover every Claude Code rule file, validate its structure and paths globs against the real project, then review each rule with the user so the rules directory ends in better shape than it started.
This skill covers Claude Code instruction rules in .claude/rules/ and ~/.claude/rules/. It does not cover Codex .rules files, which are Starlark command-approval policies, not instructions. See "Codex" below.
When to use
- Writing
.claude/rules/files for the first time - A rule never seems to apply, or applies to everything
- Moving
@imports from CLAUDE.md into path-scoped rules - Periodic hygiene: are these rules still accurate and useful?
- After onboarding to a new codebase
Modes
| Request | Run |
|---|---|
| Default | Steps 1-5, with the interactive review |
audit-only, or the user asks for no changes |
Steps 1-3 and 5: list each proposed change instead of asking or editing, and omit the user-answer rows from the report |
When a ctxharness doctor --format json report generated during this task is available, every rules-layer finding it reports must appear in the audit. The doctor checks structure only; dead patterns, breadth and content are this skill's job.
Key concepts
| Mechanism | When it loads |
|---|---|
@file import in CLAUDE.md |
Session start |
Project rule without paths |
Session start, same priority as .claude/CLAUDE.md |
Project rule with paths |
When Claude reads a file matching a pattern, not on every tool use |
User rule in ~/.claude/rules/ |
Applies to every project; loaded before project rules. Whether paths scoping applies to user rules is not documented: report it as unverified instead of assuming |
- All
.mdfiles under.claude/rules/are discovered recursively. pathsis the only frontmatter field Claude Code reads from a rule; other fields are ignored without an error. It accepts a YAML list or a comma-separated string. Fields from other tools' rule formats, such as Cursor'sglobs,alwaysApplyordescription, are therefore ignored too: a rule scoped withglobs:silently loads always-on.- If the frontmatter YAML does not parse, Claude Code ignores the frontmatter and loads the rule as if it had no
paths, so a broken scoped rule silently becomes always-on. - Brace expansion works (
"src/**/*.{ts,tsx}"). A rule's wholepathslist shares a budget of 1,000 expanded patterns and 4 MiB; a pattern over budget is used unexpanded and its literal braces match nothing. - A
[that cannot be read as a bracket expression (for examplephotos [2024/**) makes that pattern invalid: it matches nothing, the other patterns still work. Escape a literal bracket as\[. - Project rules are skipped when
projectis excluded from--setting-sources. - User rules load before project rules; neither overrides the other, so a conflict between them is a defect to resolve.
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.
- 4d ago Changed · +8 lines 632cd5fe307d
- 1mo ago Changed · -1 lines · -2 tokens per session 4e4ce502f34f
- 3mo ago First seen · 226 lines · 84 tokens per session scan A 0f13fe736dac
eval-rules is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (48 stars, last pushed 4d ago), licensed MIT. It adds 82 tokens to every session and 3,773 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.
eval-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| eval-rulesFlorianBruniaux/claude-code-plugins | Skill | 48 | 4d ago | MIT | A | 82 | Claude Code |
| pentest-forensicsfatihkan/badi | Skill | 8 | 2mo ago | MIT | A | 60 | Claude Code |
| pentest-malwarefatihkan/badi | Skill | 8 | 2mo ago | MIT | A | 69 | Claude Code |
| security-checkfatihkan/badi | Skill | 8 | 2mo ago | MIT | A | 91 | Claude Code |
| expo-troubleshootingfatihkan/badi | Skill | 8 | 2mo ago | MIT | C | 0 | Claude Code |
| skill-repairaeonfun/aeon | Skill | 803 | today | MIT | A | 28 | Claude Code, Codex |
| self-improveaeonfun/aeon | Skill | 803 | today | MIT | A | 44 | Claude Code, Codex |