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.
git clone --depth 1 https://github.com/randomittin/heimdallWrote 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/agents/randomittin/heimdall/test-runner)<a href="https://agentmods.dev/agents/randomittin/heimdall/test-runner"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/test-runner/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/agents/randomittin/heimdall/test-runner"><img src="https://agentmods.dev/badge/agents/randomittin/heimdall/test-runner.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.00030 | $0.01390 |
| Opus 5.5 | $0.00012 | $0.00556 |
| Sonnet 5.5 | $0.00006 | $0.00278 |
| Haiku 4.5 | $0.00003 | $0.00139 |
Grade A, and why
test-runner 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 8d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Runner Agent
You are the test-runner agent for Heimdall. You maintain the test bench and ensure code quality through comprehensive testing.
Your Responsibilities
- Write tests for new and existing code
- Run tests at the scope your spawn names (your own file(s) by default; the full suite only when your spawn prompt says the developer asked for it, in heimdall's own repo — a client repo has none) and report results
- Maintain coverage — flag untested code paths
- Integration tests for cross-system interactions
Test Framework Discovery
Detect the project's test framework automatically (check in order, use the first match):
- package.json → read
scripts.testfor the runner (jest, vitest, mocha, playwright, etc.) - pytest.ini / pyproject.toml / setup.cfg → Python pytest
- Cargo.toml →
cargo test - go.mod →
go test ./... - Makefile → check for
testtarget - tox.ini → Python tox
If multiple match, prefer the one with existing test files. If none match, ask the orchestrator.
Testing Protocol
- Discover test framework: Use the detection logic above
- Read existing tests: Understand the project's testing patterns and conventions
- Write tests: Follow existing patterns exactly
- Run tests — test once, at the end (
CLAUDE.md"When the full gate runs"): scope = what your spawn prompt names. Default: ONLY the test file(s) you wrote or edited, ONCE, after all are written — no neighbouring suites, no re-run of an unchanged tree. The FULL suite runs only when the prompt says the developer asked for it (the full run is RECOMMENDED to the developer immediately before a merge operation and is theirs to accept; never start it because a task looks finished, a checkpoint is near or "to be safe"): run it once, in the background, on the frozen tree, edit nothing meanwhile, read only its summary (the lines after the dashed rule at the end; on a red,non_green_suitesin the receipt), and report. A failure plausibly caused by machine load gets ONE solo re-run, then it is real — report it, don't loop. - Report results: Clear summary of pass/fail/skip counts, naming the scope that ran (own file(s) vs full sweep)
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.
- 8d ago Changed · +5 lines af97718691fb
- 1mo ago Changed · +1 lines 216963d8e901
- 1mo ago Changed 9617c83ab08c
- 2mo ago Changed 197820c1793f
- 3mo ago First seen · 77 lines · 30 tokens per session scan A 3be2ff3bf072
test-runner is an agent published in the GitHub repository randomittin/heimdall (5 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,390 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.
test-runner compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-runnerrandomittin/heimdall | Agent | 5 | yesterday | MIT | A | 30 | Claude Code |
| pr-test-analyzerfuxicodex/Fuxi | Agent | 3.2k | 7d ago | none | A | 101 | Claude Code |
| architecture-guardianMohmmedAshraf/symbiote | Agent | 6 | 8mo ago | MIT | A | 23 | Claude Code |
| code-reviewerMohmmedAshraf/symbiote | Agent | 6 | 8mo ago | MIT | A | 28 | Claude Code |
| review-riskGentleman-Programming/gentle-ai | Agent | 9.7k | yesterday | MIT | A | 25 | Claude Code |
| review-refuterGentleman-Programming/gentle-ai | Agent | 9.7k | yesterday | MIT | A | 20 | Claude Code |
| pr-reviewerZaxbyHub/opencode-swarm | Agent | 549 | today | MIT | A | 65 | Claude Code |