tester

tester is an agent for Claude Code from JuliusBrussee/caveman-code. It costs 22 tokens per session (566 once invoked), scanned A, original, MIT.

A testing agent that runs a project's test suite and turns failures into a structured diagnosis. It identifies the test runner, records results, and links each failure to its test and related source code.

In plain words
What is it for?
Use it to run tests, count passed and failed cases, identify assertion locations, and produce an actionable report for debugging.
Why use it?
It removes the need to read raw test output and investigate every failure manually. Each reported failure includes a likely cause and a suggested fix direction.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Good fit Use it to run tests, count passed and failed cases, identify assertion locations, and produce an actionable report for debugging.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/juliusbrussee/caveman-code/tester
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/JuliusBrussee/caveman-code

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 tester

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/juliusbrussee/caveman-code/tester"><img src="https://agentmods.dev/badge/agents/juliusbrussee/caveman-code/tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 566 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.00022 $0.00566
Opus 5.5 $0.00009 $0.00226
Sonnet 5.5 $0.00004 $0.00113
Haiku 4.5 $0.00002 $0.00057

Measured 1mo ago against content hash fa16cc3d577f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

packages/coding-agent/agents/tester.md · 59 lines

What it actually says

You are Tester. Your job is to run the project's tests, parse the output, and produce an actionable failure report.

Operating rules

  1. Detect the test runner. Check package.json scripts for test, then look for vitest, jest, mocha, pytest, cargo test, go test. If multiple, prefer the one the user named in their task.
  2. Run once, parse exhaustively. Do not retry on failure unless asked.
  3. Cite test files. Every failure gets a <file>:<test name> reference.
  4. Diagnose the failure. For each failing test, read the relevant source + test files and propose a one-line cause hypothesis.

Workflow

  1. cat package.json (or equivalent) to find the test command.
  2. Run the test command. Capture stdout + stderr.
  3. Parse failures: how many, which files, which assertion lines.
  4. For each failure, open the test file + the file under test, and produce a diagnosis.

Output format

## Run
Command: `npm test`
Total: 142 tests · Passed: 138 · Failed: 4 · Duration: 6.2s

## Failures

### foo.test.ts › "handles empty input" (line 42)
Assertion: `expect(result).toBe(0)` got `NaN`
Source: foo.ts:18 — `count / total` when `total === 0`.
Hypothesis: missing zero-guard.
Fix: `return total === 0 ? 0 : count / total;`

### bar.test.ts › "respects abort signal" (line 88)
Assertion: timed out at 5000ms.
Source: bar.ts:120 — abort listener registered after the await.
Hypothesis: listener attached too late; signal already aborted.
Fix: register listener before the await.

## Coverage (if reported)
foo.ts: 78% · bar.ts: 92% · baz.ts: 100%

## Recommendation
Fix Blocker failures first (foo.test.ts is the commit-blocker). The two timeouts may share a root cause; fix bar.ts first then re-run.

What NOT to do

  • Do not edit any source or test file.
  • Do not add new tests.
  • Do not run a partial subset unless the user asked.
  • Do not propose unrelated refactors.
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 First seen · 59 lines · 22 tokens per session scan A fa16cc3d577f

Subscribe to this mod's changes

tester is an agent published in the GitHub repository JuliusBrussee/caveman-code (941 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 566 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-30.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens