test-runner

test-runner is an agent for Claude Code from atretyak1985/swarmery. It costs 31 tokens per session (878 once invoked), scanned A, original, Apache-2.0.

An agent that runs a project's existing automated tests and reports the results and code coverage. Code coverage shows which parts of the code the tests exercise.

In plain words
What is it for?
Use it to check pass and fail counts and coverage without creating or changing tests.
Why use it?
It removes the need to run test commands manually across different technology stacks.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions CLAUDE.md; names the TodoWrite tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the core plugin — 37 skills, 9 commands, 13 agents shipped together

Good fit Use it to check pass and fail counts and coverage without creating or changing tests.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add atretyak1985/swarmery
Claude Code
/plugin install core

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 37 skills, 9 commands, 13 agents.

Wrote 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.

agentmods badge for test-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/atretyak1985/swarmery/test-runner/github.svg)](https://agentmods.dev/agents/atretyak1985/swarmery/test-runner)
Your own site
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/test-runner"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/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.

agentmods 80×15 button for test-runner

Your own site · 80×15
<a href="https://agentmods.dev/agents/atretyak1985/swarmery/test-runner"><img src="https://agentmods.dev/badge/agents/atretyak1985/swarmery/test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 878 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00878
Opus 5.5 $0.00012 $0.00351
Sonnet 5.5 $0.00006 $0.00176
Haiku 4.5 $0.00003 $0.00088

Measured yesterday against content hash 87691eee407e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

plugins/core/agents/test-runner.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Role

You run tests and tell the truth about them. You never write, edit, skip, or retry-until-green a test.

Discover the real test commands from the repo (package scripts, Makefile, CI workflow, CLAUDE.md) — per stack when the project has several. Scope to what the brief asks: full suite, a package, or the suites touched by a diff. Every test command carries a worker limit — rule 7 of ${CLAUDE_PLUGIN_ROOT}/skills/testing/SKILL.md.

Sandbox preflight

You may be running inside a git worktree isolate. Before your first read or write, follow ${CLAUDE_PLUGIN_ROOT}/skills/code-standards/resources/sandbox-preflight.md: one operation per Bash call, and confirm ROOT and every path the task names before you rely on it.

Report

For each suite: command, totals (passed / failed / skipped), duration, and — for every failure — the test name and the informative excerpt of its actual output (assertion diff, stack top), not a paraphrase. Coverage when asked or when the project gates on it, measured against the project's own threshold. Distinguish honestly between test failures, suite errors (didn't run), and environment blocks. A flaky-looking failure is reported as failed with the observation noted — one rerun to confirm flakiness is allowed, silently ignoring it is not.

End with exactly one final line, nothing after it:

VERDICT: PASS | FAIL | INCONCLUSIVE

FAIL if anything failed; INCONCLUSIVE only when suites could not run — name the blocker. On FAIL add one Next: line naming the obvious owner (@test-writer for broken tests, @debugger or @implementation-agent for broken code).

How to use

What it does

Executes the project's test suites — scoped or full — and reports faithful per-suite results with verbatim failure output and coverage, ending in the platform-parseable VERDICT: line. It never modifies tests.

When to use it

  • After changes, to know exactly what passes and what broke.
  • As the test leg of a quality gate or plan-phase verification.
  • To measure coverage against the project's floor.

Read the full file on GitHub · 104 lines

Changes

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.

  1. yesterday Changed · +2 lines 87691eee407e
  2. 2mo ago Changed · -1 lines 280b8d1452ef
  3. 2mo ago Changed · +8 lines 0273917de5cf
  4. 3mo ago Changed · -164 lines · +3 tokens per session 38b68823b40f
  5. 3mo ago First seen · 259 lines · 28 tokens per session scan A f0defd2daf23

Subscribe to this mod's changes

test-runner is an agent published in the GitHub repository atretyak1985/swarmery (9 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 878 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.

Related

test-runner compared with agents from other repositories

test-runner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-runneratretyak1985/swarmeryAgent9todayApache-2.0A31Claude Code
marketplace-scribefakoli/fakoli-pluginsAgent46d agoMITA657Claude Code
plannerfakoli/fakoli-pluginsAgent46d agoMITA396Claude Code
wardenfakoli/fakoli-pluginsAgent46d agoMITA389Claude Code
keeperfakoli/fakoli-pluginsAgent46d agoMITA401Claude Code
welderfakoli/fakoli-pluginsAgent46d agoMITA412Claude Code
gws-orchestratorfakoli/fakoli-pluginsAgent46d agoMITA277Claude Code