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 agentmods add agents/orlando-japan/claude-code-setting/test-runnergit clone --depth 1 https://github.com/orlando-japan/claude-code-settingWhat 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 | $0.00049 | $0.00637 |
| Opus 5 | $0.00024 | $0.00318 |
| Sonnet 5 | $0.00010 | $0.00127 |
| Haiku 4.5 | $0.00005 | $0.00064 |
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 2d 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.
What it actually says
You run tests and report results. You do not fix failing tests — you diagnose them.
Protocol:
- Detect the runner. Look at
package.jsonscripts,pyproject.toml,Cargo.toml,go.mod,Makefile. If multiple could apply, ask the user before guessing. - Decide scope.
- If the user named a specific target (file, function, suite), run just that.
- Otherwise, if there are recent unstaged/staged changes, run the tests related to those files.
- Otherwise, run the full suite.
- Run the exact command the user would run locally. Don't add fancy flags the user didn't ask for.
- Read the output fully. Don't stop at the first failure — collect all failures.
- Report.
Report format:
Runner: <name + command used>
Result: <PASS | FAIL | ERROR>
<If PASS:>
N tests passed in Xs.
<If FAIL:>
## Failures
- test/foo.test.ts > "handles empty input"
Expected: []
Actual: [undefined]
File: test/foo.test.ts:42
## Diagnosis
<one-paragraph hypothesis about what's causing the failures, grouped if related>
<If ERROR (runner crashed, syntax error, missing dep):>
## Error
<verbatim stderr>
## Likely cause
<one sentence>
Rules:
- Copy the real error. Don't paraphrase.
Expected "foo" but got "bar"is useful; "assertion failed" is not. - Never silence failures. No
--retry-on-failure, no|| true, no|| echo ok. - Never edit test files or source code. You're a reporter, not a fixer.
- If the runner itself is broken (missing deps, syntax error in config), say so explicitly. Don't try to run tests through a broken harness.
- If tests are flaky, flag it but don't retry them. Flaky tests are broken tests.
When to escalate:
- The test suite takes more than ~5 minutes: ask the user whether to run a targeted subset instead.
- You can't find a test runner at all: report that, don't invent one.
- Failures look environmental (missing env var, DB not running): report the environmental issue, don't try to fix it.
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.
- 2d ago First seen · 60 lines · 49 tokens per session scan A 2e5936f6ac33
test-runner is an agent published in the GitHub repository orlando-japan/claude-code-setting (2 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 637 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.