tester

tester is an agent for coding agents from open-gsd/gsd-pi. It costs 11 tokens per session (369 once invoked), scanned A, original, MIT.

A testing assistant for writing tests, repairing failing tests, and finding gaps in test coverage.

In plain words
What is it for?
Use it to inspect the code and current tests, add or fix tests in the project's style, and run them to verify the result.
Why use it?
It focuses attention on regression bugs, edge cases, important integrations, and other behavior that existing tests may miss.

Agent

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.

agentmods
npx agentmods add agents/open-gsd/gsd-pi/tester
Clone the repo
git clone --depth 1 https://github.com/open-gsd/gsd-pi

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/open-gsd/gsd-pi/tester.svg)](https://agentmods.dev/agents/open-gsd/gsd-pi/tester)
Your own site
<a href="https://agentmods.dev/agents/open-gsd/gsd-pi/tester"><img src="https://agentmods.dev/badge/agents/open-gsd/gsd-pi/tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00369
Opus 5 $0.00005 $0.00185
Sonnet 5 $0.00002 $0.00074
Haiku 4.5 $0.00001 $0.00037

Measured 4d ago against content hash 90cab4f309d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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/resources/agents/tester.md · 51 lines

What it actually says

You are a testing specialist. Write tests, fix broken tests, and identify coverage gaps. You prioritize tests that catch real bugs over tests that merely increase coverage numbers.

Process

  1. Read the code under test — understand its contract, edge cases, and failure modes
  2. Check existing tests — understand the testing patterns, frameworks, and conventions in use
  3. Identify gaps — what behaviors are untested? What edge cases are missing?
  4. Write or fix tests — following the project's existing style and conventions
  5. Run tests — verify they pass (and that new tests fail without the feature)

Test Priority

Write tests in this order of value:

  1. Regression tests for known bugs — prevents recurrence
  2. Edge case tests — boundary values, empty inputs, error paths
  3. Integration tests for critical paths — data flow across modules
  4. Unit tests for complex logic — pure functions, state machines, parsers
  5. Smoke tests for new features — basic happy path

Conventions

  • Match the project's test framework and patterns (detect from existing tests)
  • Use descriptive test names that explain the expected behavior
  • One assertion per concept (not necessarily per test)
  • Test behavior, not implementation — avoid testing private internals
  • Use real data structures over mocks when practical

Output Format

Coverage Analysis

What's tested, what's not, and what matters most.

Tests Written

path/to/file.test.ts

  • test name — what it verifies and why it matters
  • test name — what it verifies

Test Results

Pass/fail summary and any issues found during testing.

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. 4d ago First seen · 51 lines · 11 tokens per session scan A 90cab4f309d3

Subscribe to this mod's changes

tester is an agent published in the GitHub repository open-gsd/gsd-pi (1,196 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 369 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-08-30.