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 shimo4228/claude-harness --skill rules-stocktakegit clone --depth 1 https://github.com/shimo4228/claude-harnessWrote 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/shimo4228/claude-harness/rules-stocktake)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/rules-stocktake"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/rules-stocktake/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/shimo4228/claude-harness/rules-stocktake"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/rules-stocktake.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.00057 | $0.03557 |
| Opus 5.5 | $0.00023 | $0.01423 |
| Sonnet 5.5 | $0.00011 | $0.00711 |
| Haiku 4.5 | $0.00006 | $0.00356 |
Grade A, and why
rules-stocktake 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 16d 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 — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rules-stocktake — Rules Quality Audit
Evaluate every rule file under <harness>/rules/ holistically, all in one context,
and assign each a verdict: Keep / Improve / Update / Merge / Demote to skill / Dissolve / Retire. The audit unit is the file; the cost unit is the line — rules
load into every session unconditionally, so each line is a per-session token tax plus
instruction dilution.
Design note: this is skill-stocktake's sibling with the cost model inverted. A skill's cost is trigger pollution (it fires probabilistically and degrades selection); a rule's cost is residency (it loads always, whether or not it changes behavior). So there is no usage axis — nothing measures "rule invocations", and the concept doesn't apply to unconditional loading. The replacements are static: residency density (is each line worth reading every session?) and substrate absorption (does the harness or the conversation already do this without the rule?).
Design note 2: unlike skill-stocktake, this skill does apply approved Improve/Update/ Merge edits itself instead of handing off. There is no improvement-engine skill for rules (skill-writer's counterpart doesn't exist), and rule files are short — delegation would be overengineering. The handoff exception is Demote (creating a new skill is skill-writer's job).
Roots. <harness> below is the harness this audit covers: ~/.claude by default, or a repository's .claude/ when skill harness-stocktake runs in project mode (its Roots section maps the paths, names the evidence that is n/a there, and says which convention checks apply). The ledger <ledger> belongs to that harness: ${CLAUDE_SKILL_DIR}/results.json when this skill's directory is inside <harness> (the harness carries its own copy of the skill), else <harness>/stocktake/rules-stocktake.json (an installed plugin, or project mode). Either way it is committed with the harness's other changes on the apply branch.
Modes ($ARGUMENTS)
What ships with it
5 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.
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.
- 16d ago Changed · -3 lines d09ba24636a4
- 22d ago Changed 3c63771382c1
- 29d ago Changed · +12 lines · +18 tokens per session 8875983d7a6e
- 1mo ago Changed · +4 lines 8c4723ac85bf
- 1mo ago Changed · +2 lines 053aaaae9ecf
- 1mo ago Changed · -58 tokens per session 4a08be407a16
- 1mo ago Changed · -16 lines · -101 tokens per session 60274b9070dc
- 2mo ago Changed · -7 tokens per session 7e2054ae03ad
- 2mo ago Changed · +22 tokens per session 5dc6e4b1abb2
- 2mo ago First seen · 241 lines · 183 tokens per session scan A ca6fe678dd22
rules-stocktake is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 57 tokens to every session and 3,557 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-08-31.
rules-stocktake compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rules-stocktakeshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 57 | Claude Code |
| agent-adoption-triageshimo4228/agent-adoption-triage | Skill | 2 | 1mo ago | MIT | A | 143 | Claude Code |
| git-commitadongwanai/learn-workbuddy | Skill | 563 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| pi-triagesky-valley/pi | Skill | 94 | yesterday | MIT | A | 57 | Claude Code |
| pi-parity-reviewsky-valley/pi | Skill | 94 | yesterday | MIT | A | 54 | Claude Code |
| zodanivar/zod-skill | Skill | 24 | yesterday | MIT | A | 217 | Claude Code, Codex |
| trailhead-chartToRvaLDz/trailhead | Skill | 37 | yesterday | MIT | A | 138 | Claude Code |