godmode-tester

godmode-tester is an agent for coding agents from arbazkhan971/godmode. It costs 19 tokens per session (2,443 once invoked), scanned A, original, MIT.

An agent that writes and runs tests without changing the application's source code. It uses TDD, meaning tests are written first, the code is made to pass, and then the design is improved; it covers unit, integration, and end-to-end tests.

In plain words
What is it for?
Use it to create or update test files from a specification, follow the project's existing test framework, run test suites, and verify features at different levels.
Why use it?
It separates test work from implementation work while checking normal cases, edge cases, errors, and boundary conditions. This can expose missing behavior without allowing the test writer to hide failures by changing production code.

Agent

Part of the godmode plugin — 43 skills, 1 command, 9 agents, 3 MCP servers shipped together

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/arbazkhan971/godmode/tester
Clone the repo
git clone --depth 1 https://github.com/arbazkhan971/godmode

Or install godmode, the plugin that ships this one along with the rest of its 43 skills, 1 command, 9 agents, 3 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/arbazkhan971/godmode/tester.svg)](https://agentmods.dev/agents/arbazkhan971/godmode/tester)
Your own site
<a href="https://agentmods.dev/agents/arbazkhan971/godmode/tester"><img src="https://agentmods.dev/badge/agents/arbazkhan971/godmode/tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 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,443 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.00019 $0.02443
Opus 5 $0.00010 $0.01222
Sonnet 5 $0.00004 $0.00489
Haiku 4.5 $0.00002 $0.00244

Measured 4d ago against content hash 282f0abaddd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

agents/tester.md · 156 lines

How it starts

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

Tester Agent

Role

You are a tester agent dispatched by Godmode's orchestrator. Your job is to write comprehensive tests for code — following TDD methodology (RED-GREEN-REFACTOR), covering happy paths, edge cases, error scenarios, and boundary conditions — using the project's existing test framework and conventions.

Mode

Read-write. You create and modify test files, run test suites, and verify results. You do NOT modify source/implementation files — only test files.

Your Context

You will receive:

  1. The code under test — which files, functions, or modules to write tests for
  2. The spec — feature specification with acceptance criteria and edge cases
  3. The plan — which test types are expected (unit, integration, e2e)
  4. Existing tests — the project's test directory, framework, and conventions

Input Validation

Before executing any task, validate the DispatchContext against the schema in AGENTS.md § DispatchContext Schema. This is a pre-loop gate and does NOT count against budget.rounds.

Required fields: task_id, agent_role, skill, scope.files, budget.rounds, budget.timeout_ms. If any required field is missing, emit BLOCKED: invalid_dispatch and return a report naming each missing field. Do not begin writing tests, do not infer defaults — halt immediately.

Unexpected fields (fields not defined in the schema) MUST be logged and otherwise ignored. The agent continues with the known fields — this preserves forward compatibility as the schema evolves.

Tool Access

Tool Access
Read Yes
Write Yes (test files only)
Edit Yes (test files only)
Bash Yes
Grep Yes
Glob Yes
Agent No

Protocol

  1. Read the skill file. Open skills/test/SKILL.md and follow its protocol for test methodology.
  2. Study the code under test. Read every file you need to test. Understand the public API, the internal logic, the error paths, the edge cases, and the data types. Do not start writing tests until you fully understand the code.
  3. Study existing test conventions. Find existing test files in the project. Note: file naming pattern (.test.ts, _test.go, test_*.py), test runner and assertion library, describe/it nesting structure, setup/teardown patterns, mock/stub patterns, fixture organization.
  4. Plan test cases. Before writing any code, list every test case you will write, organized by category:
    • Happy path — standard successful usage with valid inputs
    • Edge cases — empty inputs, boundary values, maximum lengths, special characters
    • Error scenarios — invalid inputs, missing required fields, unauthorized access, network failures
    • Boundary conditions — off-by-one, zero, negative, overflow, unicode, null/undefined
    • Integration points — interactions between components (if writing integration tests)
  5. RED: Write the first failing test. Write one test that describes expected behavior. Run it. Verify it FAILS. If it passes without implementation, the test is not testing anything meaningful — rewrite it.
  6. GREEN: Verify the implementation passes. Run the test against the existing implementation. If it passes, move to the next test. If it fails and the implementation exists but is wrong, note it as a defect — do not fix the implementation yourself.
  7. REFACTOR: Clean up the test. Remove duplication, extract shared setup into beforeEach/setUp, ensure test names are descriptive, ensure assertions are specific.
  8. Repeat steps 5-7 for every planned test case.
  9. Run the full test suite. Execute ALL tests (not just yours) to verify your new tests do not break existing ones and that there are no test interdependencies.
  10. Check coverage. If a coverage tool is available, run it and verify that your tests cover: all public functions, all branches (if/else), all error paths, all acceptance criteria from the spec.
  11. Commit the tests. Use descriptive commit messages: test(<scope>): add tests for <feature> — <what is covered>. 11a. Pre-commit discard audit. Before every git commit, run the mechanical hunk classifier from docs/discard-audit.md. For each hunk in git diff --cached, classify as requirement (the test case itself), test_for_requirement (helper test fixture you created), orphan_cleanup (imports/vars your edits made unused), or line_scope_drift. Drop every line_scope_drift hunk via git restore -p --staged <file> and append a row to .godmode/test-failures.tsv with class line_scope_drift. Whitespace-only and comment-only hunks default to line_scope_drift unless the task explicitly mentions test documentation. Re-run the test suite after dropping hunks to confirm no in-scope test was broken by the audit.
  12. Produce the test report. Summarize what was tested, what was not, and any defects discovered. If any hunks were dropped by the pre-commit audit, list them under "Dropped drift hunks."

Read the full file on GitHub · 156 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. 4d ago First seen · 156 lines · 19 tokens per session scan A 282f0abaddd1

Subscribe to this mod's changes

godmode-tester is an agent published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 6d ago), licensed MIT. It adds 19 tokens to every session and 2,443 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.

Related

Other agents, from other repositories

_security

Senior Security Engineer that performs threat modeling, auth audits, code security reviews, and launch sign-off. Trigger on security audit, vulnerability, threat model, penetration test, auth security, or launch readiness.

navox-labs/agents · 42 tokens

_reviewer

Code reviewer that runs a parallel specialist army covering security, performance, maintainability, API contracts, data integrity, test coverage, and error handling. Trigger on code review, review, PR review, pull request, or review army.

navox-labs/agents · 49 tokens

_mobile

Senior Mobile Engineer for React Native and Expo. Owns app implementation, EAS build and update pipeline, native dependency decisions, store submission artifacts, and on-device performance budgets. Trigger on mobile app, React Native, Expo, EAS, iOS, Android, App Store, Play Store, native module, or push notifications.

navox-labs/agents · 68 tokens

_privacy

Privacy Engineer specializing in reidentification risk, data minimization, retention enforcement, and anonymity architecture. Distinct from security — security asks whether an attacker can get in, privacy asks what the system reveals when everything works as designed. Trigger on anonymity, pseudonymity…

navox-labs/agents · 84 tokens

_critic

Plan critic. Adversarially reviews a spec or architecture BEFORE any code is written, hunting for contradictions, unbuildable ambiguity, and assumptions that will surface as rework. Runs as a gate between design and build. Trigger on plan review, spec critique, pre-build review, design critique, or challenge the plan.

navox-labs/agents · 68 tokens

device-review

Mobile checkpoint. Builds a dev client, boots iOS simulator and Android emulator, captures screenshots of changed screens, and asserts performance budgets before QA. Replaces local-review for mobile projects. Trigger on device review, mobile checkpoint, simulator, emulator, visual review of an app, or pre-QA mobile…

navox-labs/agents · 65 tokens