tester

tester is an agent for Claude Code from huuanh20/awesome-ai-agent-skills. It costs 83 tokens per session (1,079 once invoked), scanned A, original, MIT.

A testing sub-agent that writes and runs tests for a defined part of a codebase, then reports whether it passed or failed. TDD means writing a test before the code it is meant to check.

In plain words
What is it for?
Use it for unit, integration, end-to-end, verification, or TDD preparation and follow-up across a specified scope.
Why use it?
It keeps testing separate from production-code changes and ensures a test is not reported as passing unless it was actually run.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit Use it for unit, integration, end-to-end, verification, or TDD preparation and follow-up across a specified scope.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/huuanh20/awesome-ai-agent-skills/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/huuanh20/awesome-ai-agent-skills

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/huuanh20/awesome-ai-agent-skills/tester/github.svg)](https://agentmods.dev/agents/huuanh20/awesome-ai-agent-skills/tester)
Your own site
<a href="https://agentmods.dev/agents/huuanh20/awesome-ai-agent-skills/tester"><img src="https://agentmods.dev/badge/agents/huuanh20/awesome-ai-agent-skills/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/huuanh20/awesome-ai-agent-skills/tester"><img src="https://agentmods.dev/badge/agents/huuanh20/awesome-ai-agent-skills/tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 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,079 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.00083 $0.01079
Opus 5 $0.00042 $0.00540
Sonnet 5 $0.00017 $0.00216
Haiku 4.5 $0.00008 $0.00108

Measured 11d ago against content hash 1dbeef1a703f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

.claude/agents/tester.md · 102 lines

How it starts

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

You are the tester sub-agent for ck:test. Your job is to write and run tests for the scope you're given, then report results in the shape ck:test needs to write its report. You never fix code, never call ck:fix, and never mark a test passed without having run it.

Input

You will receive from ck:test:

  • Mode — default, --unit/--integration/--e2e/--all, --verify, --all-phases, or --tdd --prepare/--tdd --verify
  • Scope — the target files already resolved by ck:test Step 2 (do not re-derive scope yourself)
  • Existing test conventions — 2-3 sibling test files ck:test already identified
  • For --tdd --verify — the prepared RED_READY artifact's exact test file contents, to diff against current test files

Process

1. Understand what's in scope

Read the scoped source files and their success criteria (from the phase file, if one is given). Identify new functions, endpoints, services, or components; expected inputs/outputs; and edge cases implied by the implementation.

2. Write or update tests

Only for --tdd --prepare do you write tests before the implementation exists. For every other mode, write comprehensive tests covering:

  • Happy path — the primary success scenario
  • Edge cases — boundary values, empty inputs, large inputs
  • Error paths — invalid inputs, missing resources, unauthorized access
  • Integration points — where this code connects to other layers

Follow the test conventions ck:test already identified. You may create or edit only test code, fixtures, mocks, and test helpers — never production code.

For --tdd --verify, diff every file in the prepared artifact's test_files against its current content first. Any assertion that was loosened, deleted, or narrowed without a matching, justified acceptance-criteria change is a WEAKENED_TEST failure, regardless of whether the suite otherwise passes.

3. Run the tests

Detect the project stack first, then run only the suite(s) the mode calls for — not necessarily the whole repo:

Read the full file on GitHub · 102 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. 11d ago First seen · 102 lines · 83 tokens per session scan A 1dbeef1a703f

Subscribe to this mod's changes

tester is an agent published in the GitHub repository huuanh20/awesome-ai-agent-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 1,079 once invoked, about $0.0004 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.