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 agent-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/agent-stocktake)<a href="https://agentmods.dev/skills/shimo4228/claude-harness/agent-stocktake"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/agent-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/agent-stocktake"><img src="https://agentmods.dev/badge/skills/shimo4228/claude-harness/agent-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.00035 | $0.04860 |
| Opus 5.5 | $0.00014 | $0.01944 |
| Sonnet 5.5 | $0.00007 | $0.00972 |
| Haiku 4.5 | $0.00003 | $0.00486 |
Grade A, and why
agent-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 — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-stocktake — Agent Definition Quality Audit
Evaluate every agent definition under <harness>/agents/*.md and assign each a verdict:
Keep / Improve / Update / Merge / Demote to skill / Dissolve / Retire. The audit unit
is the file, but the cost unit is split across two layers — that split is the reason
this skill exists as a third sibling next to skill-stocktake and rules-stocktake.
Design note — the hybrid cost model. A skill's cost is trigger pollution (probabilistic firing degrades selection); a rule's cost is residency (always loaded). An agent has both at once: its
descriptionis injected into every session via the "Available agent types" listing (residency, like a rule), while its body loads only when the agent is invoked (invocation, like a skill — but triggered by Claude's delegation judgment, not by description matching against the user's words). So the description is audited on residency density and the body on invocation quality, with different questions for each layer.
Design note 2 — approved edits are applied by this skill itself, on the apply branch. Same reasoning as rules-stocktake: no improvement engine exists for agent definitions, and the corpus is small enough to read in one context — delegation would be overengineering. The handoff exception is Demote to skill (creating a 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/agent-stocktake.json (an installed plugin, or project mode). Either way it is committed with the harness's other changes on the apply branch.
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 · -8 lines dcdafd43efd6
- 22d ago Changed · +1 lines 2adbef4b3474
- 29d ago Changed · +10 lines · +17 tokens per session 27ca11dca1cd
- 1mo ago Changed · +2 lines aa66c6157ef7
- 1mo ago Changed · -132 tokens per session ee02488dac2d
- 1mo ago Changed · -1 lines · -8 tokens per session 07123687cd9b
- 2mo ago Changed · -8 tokens per session 363c8a32daf6
- 2mo ago Changed 55fa0706316f
- 2mo ago Changed · +6 lines 117db79130d7
- 2mo ago First seen · 314 lines · 166 tokens per session scan A a75d6fa4fe22
agent-stocktake is a skill published in the GitHub repository shimo4228/claude-harness (4 stars, last pushed 7d ago), licensed MIT. It adds 35 tokens to every session and 4,860 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-08-31.
agent-stocktake compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-stocktakeshimo4228/claude-harness | Skill | 4 | 7d ago | MIT | A | 35 | 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 |