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 existential-birds/beagle --skill exunit-code-reviewgit clone --depth 1 https://github.com/existential-birds/beagleWrote 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/existential-birds/beagle/exunit-code-review)<a href="https://agentmods.dev/skills/existential-birds/beagle/exunit-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/exunit-code-review/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/existential-birds/beagle/exunit-code-review"><img src="https://agentmods.dev/badge/skills/existential-birds/beagle/exunit-code-review.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.00045 | $0.01195 |
| Opus 5.5 | $0.00018 | $0.00478 |
| Sonnet 5.5 | $0.00009 | $0.00239 |
| Haiku 4.5 | $0.00005 | $0.00120 |
Grade A, and why
exunit-code-review 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ExUnit Code Review
Quick Reference
| Issue Type | Reference |
|---|---|
Async pitfalls, Application.put_env, CaptureLog, setup_all |
references/exunit-patterns.md |
Behavior-based mocking, $callers, Mox.allow |
references/mox-boundaries.md |
Req.Test, Bypass, Swoosh, Oban testing |
references/test-adapters.md |
| What to mock vs real, Ecto Sandbox, fixtures | references/integration-tests.md |
Mock Boundary Philosophy
Mock at external boundaries:
- HTTP clients, external APIs, third-party services (
Req.TestforReq,Bypass/Moxfor other clients) - Slow resources: file system, email (
Swoosh.Adapters.Test), job queues (Oban.Testing) - Non-deterministic:
DateTime.utc_now/0,:rand
DO NOT mock internal code:
- Contexts, schemas, GenServers
- Internal modules, PubSub
- Anything you wrote
Review Checklist
Test Structure & Async Safety
- Tests use
async: truewhen isolated (includinguse MyApp.DataCase, async: truevia Ecto Sandbox) -
async: falseused when mutating global state (Application.put_env/3, named singletons,{:shared, self()}sandbox, globalCaptureLog) -
setup_alldoes not leak sandbox connections or per-test state across tests
Mocking & HTTP Testing
-
Req.Test(stub/2,expect/3,json/2) used forReq-based HTTP clients (nimble_ownershipsupportsasync: truewithout ports) -
BypassorMoxused for non-Reqexternal boundaries (behaviors defined for interfaces) - No mocking of internal modules (contexts, schemas,
Repo) -
verify_on_exit!in setup for strictMoxmocking; noMox.allowrace conditions after process spawn
Test Adapters
-
Req.TestorBypassfor HTTP endpoint mocking -
Swoosh.Adapters.Testfor email testing -
Oban.Testingfor background job assertions (assertingOban.drain_queuereturn map%{success: _, failure: 0})
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.
- 4d ago Changed · +1 lines · +7 tokens per session 2c4a7f8ef3f6
- 2mo ago First seen · 84 lines · 38 tokens per session scan A ba48590c718b
exunit-code-review is a skill published in the GitHub repository existential-birds/beagle (91 stars, last pushed 4d ago), licensed Apache-2.0. It adds 45 tokens to every session and 1,195 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-09-16.
exunit-code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| exunit-code-reviewexistential-birds/beagle | Skill | 91 | 4d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| write-testsGoldziher/ai-rulez | Skill | 182 | 6d ago | MIT | A | 28 | Claude Code |
| Unit Test Scaffold (Python/pytest)s977043/river-review | Skill | 8 | today | MIT | A | 19 | Claude Code |
| pythonUnique-Divine/jiyuu | Skill | 7 | today | MIT | A | 30 | Claude Code, Codex |
| coding-standardsSimon-Hwang/gg-plugins | Skill | 2 | 4mo ago | none | A | 34 | Claude Code |
| codex-rule-routerSimon-Hwang/gg-plugins | Skill | 2 | 4mo ago | none | A | 39 | Claude Code |
| golang-testingaffaan-m/ECC | Skill | 313k | 7d ago | MIT | A | 37 | Claude Code, Kiro |