test-runner

test-runner is an agent for Claude Code from rp1-run/rp1. It costs 27 tokens per session (1,425 once invoked), scanned A, original, Apache-2.0.

An agent that runs automated tests and checks implemented features against their requirements and acceptance criteria. It reports test results and coverage, meaning how much of the code tests exercise.

In plain words
What is it for?
It helps execute test suites, measure coverage, verify acceptance criteria, and produce a testing report.
Why use it?
It finds broken behavior or unmet requirements without changing the implementation itself.

Agent for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; positional $N argument.

Part of the rp1-dev plugin — 23 skills, 36 agents shipped together

Good fit It helps execute test suites, measure coverage, verify acceptance criteria, and produce a testing report.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rp1-run/rp1/test-runner
Install

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.

Clone the repo
git clone --depth 1 https://github.com/rp1-run/rp1

Made for: Claude Code.

Or install rp1-dev, the plugin that ships this one along with the rest of its 23 skills, 36 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/rp1-run/rp1/test-runner/github.svg)](https://agentmods.dev/agents/rp1-run/rp1/test-runner)
Your own site
<a href="https://agentmods.dev/agents/rp1-run/rp1/test-runner"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/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/rp1-run/rp1/test-runner"><img src="https://agentmods.dev/badge/agents/rp1-run/rp1/test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,425 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.00027 $0.01425
Opus 5 $0.00014 $0.00713
Sonnet 5 $0.00005 $0.00285
Haiku 4.5 $0.00003 $0.00143

Measured yesterday against content hash ea72d209649b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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/dev/agents/test-runner.md · 185 lines

How it starts

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

Test Runner Agent - Comprehensive Test Execution

You are TestRunner, an expert test execution agent that runs comprehensive functional testing on implemented software features. Your role is to execute automated tests, measure coverage, verify acceptance criteria, and ensure functionality works correctly before release.

CRITICAL: You EXECUTE tests to validate functionality - you do not develop or modify code. Focus on running comprehensive test suites, measuring coverage accurately, verifying requirements, and providing detailed, reliable test results.

Here are the testing parameters for this session:

<milestone_id> $2 </milestone_id>

<feature_id> $1 </feature_id>

<test_scope> $3 </test_scope>

<coverage_target> $4 </coverage_target>

Your Testing Process

You will execute comprehensive functional testing following this structured four-phase approach:

Phase 1: Context Loading and Planning

  1. Load test context from the rp1_root directory, including:
    • Feature requirements and design documentation
    • README, AGENTS.md, and CLAUDE.md for testing hints and context
    • Task completion status and acceptance criteria
  2. Detect build tools and testing frameworks automatically (e.g., Cargo.toml → cargo test, package.json → jest/mocha, etc.)
  3. Analyze test scope to determine what needs testing based on acceptance criteria and completed tasks
  4. Generate a focused test plan that maps requirements to specific test categories

Phase 2: Test Execution

Execute tests in this prioritized order for maximum efficiency:

  1. Unit Tests: Verify individual components work correctly
  2. Integration Tests: Verify components work together (APIs, database, services)
  3. End-to-End Tests: Verify complete user workflows (execute only if scope includes "e2e" or "all")
  4. Coverage Measurement: Generate detailed coverage reports

Phase 3: Results Analysis and Verification

  1. Verify acceptance criteria: Map test results to specific requirements
  2. Analyze failures: Identify root causes and assess severity levels
  3. Evaluate coverage gaps: Determine if uncovered code paths are critical
  4. Generate quality assessment: Provide pass/fail recommendation based on quality gates

Read the full file on GitHub · 185 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 First seen · 185 lines · 27 tokens per session scan A ea72d209649b

Subscribe to this mod's changes

test-runner is an agent published in the GitHub repository rp1-run/rp1 (38 stars, last pushed 2d ago), licensed Apache-2.0. It adds 27 tokens to every session and 1,425 once invoked, about $0.0001 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-09-07.

Related

Other agents, from other repositories

senior-qa

Senior QA engineer for acceptance tests. Use for creating or modifying acceptance tests, Gherkin specs, step definitions, cucumber-js or behave runner configuration, or OpenSpec tasks involving acceptance tests. Follows the acceptance-test-authoring skill.

intent-driven-dev/intent-driven-template · 47 tokens

senior-dev

Senior developer for test-first implementation. Use for implementing features or bugfixes through strict red-green-refactor TDD. Follows the test-driven-development skill.

intent-driven-dev/intent-driven-template · 32 tokens

skill-eval-reporter

Compares repeated paired execution results using blind A/B methodology and generates a skill effectiveness report. Use when valid skill-evaluation result pairs are available.

shinpr/rashomon · 35 tokens

test-sufficiency

Review a pull request diff and judge whether the newly added code is adequately covered by tests — especially boundary conditions, error paths, and exception branches. Output a short "covered / uncovered" table with specific line-level gaps. Use this agent on PRs that add behavior. It supplements Codex / CodeRabbit…

0xmariowu/AgentLint · 78 tokens

balrog

Adversarial validation agent. Spawned by quest as the first step of its Review phase, before the conventions and code-quality reviews. Analyzes the quest diff for failure modes, writes targeted test cases, runs them, and delivers a severity-ranked findings report. Critical/High findings must be addressed before the…

justinjdev/fellowship · 70 tokens

qa

QA lens agent: probes the RUNNING product — web UI via Playwright MCP, API via curl/HTTP — through ONE assigned lens (user-flow · edge-state · honesty · contract · ux-critique) and returns STRUCTURED FINDINGS with repro steps + evidence. Observation-only: it never decides, never fixes, never edits files, never clicks…

awrshift/agent-memory-kit · 182 tokens