Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add Eigenwise/eigenwise-toolshed/plugin install live-rulesWrote 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/eigenwise/eigenwise-toolshed/audit-rules)<a href="https://agentmods.dev/skills/eigenwise/eigenwise-toolshed/audit-rules"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/audit-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/eigenwise/eigenwise-toolshed/audit-rules"><img src="https://agentmods.dev/badge/skills/eigenwise/eigenwise-toolshed/audit-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00036 | $0.00626 |
| Opus 5.5 | $0.00014 | $0.00250 |
| Sonnet 5.5 | $0.00007 | $0.00125 |
| Haiku 4.5 | $0.00004 | $0.00063 |
Grade A, and why
audit-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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Audit the rules
Run the script from the project root and read the result:
node "${CLAUDE_PLUGIN_ROOT}/scripts/audit-rules.mjs" --rules .claude/rules --table
It needs Node 22.5 or later. If Node is missing or older, say the audit cannot run here and stop. Drop --table for JSON. Add --file <path> to look at one rule. For user scope use --rules ~/.claude/rules.
The script reads files only. It exits 0 unless a file cannot be parsed, so a clean exit does not mean no findings. Read the table.
Findings and their one fix
| Code | Meaning | Fix |
|---|---|---|
parse-error |
The frontmatter cannot be read. The rule is not loading. | Open the file, fix the line it names. Each frontmatter line is key: value or - item. |
ignored-field |
A v1 key (globs, dirs, prompt, include, priority, enabled) sits in a native rule. Claude Code ignores it, so the rule may be loading everywhere. |
Apply the fix in the finding. |
no-match |
A paths glob matches no file in the project. |
Correct the glob. Delete the rule if that code is gone. |
over-budget |
The body is over 1.5 KB for an always-loaded rule, or 2 KB for a path-scoped one. | Trim it. For an always-loaded rule, adding a paths glob is usually better. Otherwise split it by concern. |
possible-duplicate |
Two rules have the same paths and a shared heading. | Merge them or delete one. It is a hint, so read both first. |
The audit skips the codebase map (codebase-map.md and map/), which has its own limits and status check, and says so in one line. Files under guides/ are audited like any rule.
The last line of the table is the total always-loaded bytes. Every byte there is paid for in every session. If the number is large, point at the biggest always-loaded rules and ask whether each really applies everywhere.
How to report
Lead with what is wrong and how bad it is. One line per finding: file, problem, fix. Do not apply the fixes without being asked, since rules are the user's standing instructions. When asked, edit the file and run the audit again to show it is clean.
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 First seen · 37 lines · 36 tokens per session scan A 35c417baedd8
audit-rules is a skill published in the GitHub repository Eigenwise/eigenwise-toolshed (290 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 626 once invoked, about $0.0001 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-11-26.
audit-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-rulesEigenwise/eigenwise-toolshed | Skill | 290 | today | MIT | A | 36 | Claude Code |
| code-reviewphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 58 | Claude Code |
| health-checkbitwize-music-studio/claude-ai-music-skills | Skill | 723 | 3d ago | CC0-1.0 | A | 38 | Claude Code |
| triageboshu2/agentops | Skill | 464 | yesterday | Apache-2.0 | A | 46 | Claude Code |
| cybersecuritysecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 79 | Claude Code |
| multi-ai-consultantsecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 48 | Claude Code |
| cloudflare-workers-observabilitysecondsky/claude-skills | Skill | 257 | 8d ago | MIT | A | 47 | Claude Code |