test-runner

test-runner is an agent for Claude Code from wasintoh/toh-framework. It costs 61 tokens per session (2,522 once invoked), scanned A, original, MIT.

An automated testing agent that checks whether an application works as expected. It can create tests from the user interface, run browser tests with Playwright, and investigate failures.

In plain words
What is it for?
Use it for quality checks, browser-based testing, test generation from screens, failure analysis, automatic fixes, and pre-deployment verification.
Why use it?
It reduces the need to write and run every test manually, and helps identify and correct problems before release.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it for quality checks, browser-based testing, test generation from screens, failure analysis, automatic fixes, and pre-deployment verification.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wasintoh/toh-framework/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/wasintoh/toh-framework

Made for: Claude Code.

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/wasintoh/toh-framework/test-runner/github.svg)](https://agentmods.dev/agents/wasintoh/toh-framework/test-runner)
Your own site
<a href="https://agentmods.dev/agents/wasintoh/toh-framework/test-runner"><img src="https://agentmods.dev/badge/agents/wasintoh/toh-framework/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/wasintoh/toh-framework/test-runner"><img src="https://agentmods.dev/badge/agents/wasintoh/toh-framework/test-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,522 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.00061 $0.02522
Opus 5.5 $0.00024 $0.01009
Sonnet 5.5 $0.00012 $0.00504
Haiku 4.5 $0.00006 $0.00252

Measured 1mo ago against content hash f98ead00227c, 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 1mo 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.

src/agents/test-runner.md · 297 lines

How it starts

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

Test Runner Agent v2.1

🧠 Memory Protocol (Tiered Loading)

Read only what the task needs — never all 7 files by reflex. If the orchestrator delegated this task, use the context it passed instead of re-reading.

BEFORE WORK
├── Tier 1 — ALWAYS read (~800 tokens)
│   ├── .toh/memory/active.md    (current task + previous tests)
│   └── .toh/memory/summary.md   (features to test)
├── Tier 2 — read for this task type
│   ├── components.md            (components to test)
│   └── changelog.md             (debug work — recent changes & past attempts)
└── Tier 3 — read only when referenced
    ├── decisions.md    (past testing decisions)
    └── agents-log.md   (other agents' activity)

AFTER WORK (write per relevance)
├── active.md      → ALWAYS (test results summary + next steps)
├── summary.md     → when a testing milestone is complete
├── changelog.md   → | 🧪 Test | [action] | [files] |
├── agents-log.md  → | HH:MM | 🧪 Test Runner | [task] | ✅ | [results] |
└── components.md / decisions.md → per relevance (test status · strategy)

⚠️ Always save active.md before finishing.

Identity

You are Test Runner Agent - Expert in automated testing.

📢 Agent Announcement

When starting work, announce:

[🧪 Test Runner] Starting: {task_description}

When completing work, announce:

[🧪 Test Runner] ✅ Complete: {summary}
Tests: {passed}/{total} passed

When running in parallel with other agents:

[🧪 Test Runner] Running in PARALLEL with [{other_agent_emoji} {other_agent_name}]

🧠 Ultrathink Principles

Before executing any task, apply these principles:

  1. Question Assumptions - Are we testing the right things? Are test cases comprehensive?
  2. Obsess Over Details - Check every assertion. Verify test isolation and reliability.
  3. Iterate Relentlessly - Run, fix, run again. Never deliver flaky tests.
  4. Simplify Ruthlessly - Minimum tests for maximum coverage. Avoid redundant tests.

⚡ Parallel Execution

Read the full file on GitHub · 297 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. 1mo ago Changed · +1 lines f98ead00227c
  2. 1mo ago First seen · 296 lines · 61 tokens per session scan A 9dc5a88ea872

Subscribe to this mod's changes

test-runner is an agent published in the GitHub repository wasintoh/toh-framework (98 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 2,522 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-08-30.

Related

Other agents, from other repositories

e2e-runner

End-to-end testing specialist using Vercel Agent Browser (preferred) with Playwright fallback. Use PROACTIVELY for generating, maintaining, and running E2E tests. Manages test journeys, quarantines flaky tests, uploads artifacts (screenshots, videos, traces), and ensures critical user flows work.

masrisystems/dot-agents · 69 tokens

Metis Verifier

L3 independent G6 verifier - proves behavior with real before/after runs, regression checks, adversarial inputs, and >=95% changed-line coverage.

Wholiver/metis · 36 tokens

test-engineer

A software testing specialist that designs test plans, writes tests, and checks which parts of code are covered. It chooses unit, integration, or end-to-end tests based on what the code does.

vinvcn/addyosmani-agent-skills-zh · 39 tokens

quality-guardian

MANDATORY specialist subagent for Testing, Security Hardening, TDD Debugging, and Anti-Slop Auditing. Delegate to this subagent to verify builds, execute test suites, audit code quality, or run security red-teaming before production release.

roedyrustam/vibes-plug · 55 tokens

rn-pr-qa

Device-tests a GitHub pull request on iOS simulator, Android emulator, and/or a physical device using rn-dev-agent. Installs the PR head, exercises the change, and reports pass/fail with repro steps and screenshots/logs. PARENT-SESSION-ONLY: requires MCP tools (cdp, device, rnsession) — do NOT spawn via Task tool, run…

Lykhoyda/rn-dev-agent · 299 tokens

verify-app

Runs end-to-end verification of the project. Executes test suite, type checker, linter, and dev server. Reports pass/fail with specific failure details.

gosha70/code-copilot-team · 35 tokens