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 Arasz/ai-raccoon --skill test-economygit clone --depth 1 https://github.com/Arasz/ai-raccoonWrote 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/arasz/ai-raccoon/test-economy)<a href="https://agentmods.dev/skills/arasz/ai-raccoon/test-economy"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/test-economy/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/arasz/ai-raccoon/test-economy"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/test-economy.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.00127 | $0.01760 |
| Opus 5.5 | $0.00051 | $0.00704 |
| Sonnet 5.5 | $0.00025 | $0.00352 |
| Haiku 4.5 | $0.00013 | $0.00176 |
Grade A, and why
test-economy 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 yesterday.
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 — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test economy
A command, not a gate: this hook only ever adds additionalContext to a PostToolUse event.
It never blocks, denies, or otherwise gates the tool call that triggered it — no decision,
no permissionDecision, no continue field, on any code path (changelog 0.33.0: no
third-party tool-call interception).
The economy
Normal flow runs each affected suite once: the modified surface's tests, plus the suites of anything that consumes the changed behavior — an API change pulls the frontend end-to-end that exercises it. The full suite is CI's job on push. The sequence to eliminate is the triple — the agent's manual full suite, then the gate's full suite, then CI's full suite, all three proving the same commit. The whole budget is one minimal manual run plus CI.
The CI variable decides what proves a push:
- CI alive (public repos always; check
gh run list, the repo's CI badge, or the project's workflow files): skip every slow local gate by design and treat CI's run as the verdict — then read it. Local work is the touched surface's suite, once. - CI dead or absent: run the project's hooked-up local gates once before push; when nothing is hooked up, one manual full-suite run before push is the gate.
Docs checks, comment and documentation discipline, and lint sit on no skip side of this trade — they run on every change, locally or via CI, in both branches.
A suite is never re-run to see whether it passes again. Repetition is measurement, and measurement belongs to a named diagnosis — flake triage runs a suite deliberately, in isolation, and reports the distribution. A re-run after a code fix is a new run, not a repetition.
What triggers it
After every shell-shaped tool call, the hook classifies the command: a test run names a
known runner (pytest, python -m pytest/unittest, dotnet test, npm/yarn/pnpm/
bun test, npx jest/vitest/playwright, go test, cargo test, mvn test,
gradle test, mix test, phpunit, rake test, swift test). It is filtered when
the command carries a selector — a path, -k, --filter, --tests, -Dtest=, -run —
and full otherwise (go test ./... counts full; an unrecognized flag never demotes a
run to filtered).
What ships with it
4 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.
- yesterday First seen · 129 lines · 127 tokens per session scan A e57c5245fbb3
test-economy is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 1,760 once invoked, about $0.0005 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-12-05.
test-economy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-economyArasz/ai-raccoon | Skill | 7 | today | MIT | A | 127 | Claude Code |
| beevibe-verify-prbeevibe-ai/beevibe | Skill | 341 | yesterday | Apache-2.0 | A | 172 | Claude Code, Codex |
| release-db-config-syncPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 91 | Claude Code |
| release-preflightPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 76 | Claude Code |
| cartographer-kb-createBeppeTemp/cartographer | Skill | 74 | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| cartographer-kb-importBeppeTemp/cartographer | Skill | 74 | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| cartographer-kb-source-authorBeppeTemp/cartographer | Skill | 74 | yesterday | Apache-2.0 | A | 106 | Claude Code, Codex |