ndv-tester

ndv-tester is an agent for Claude Code from emb715/neurodiveragents. It costs 54 tokens per session (2,838 once invoked), scanned A, original, MIT.

A test-writing specialist for finding cases where software may fail, especially inputs and situations that normal tests overlook. TDD, or test-driven development, means using tests to define expected behaviour, but this add-on's description only specifies test creation and review.

In plain words
What is it for?
Writing tests for null values, repeated calls, wrong data types, timeouts, and other failure cases, then handing source bugs, performance issues, or security issues to the relevant specialist.
Why use it?
It challenges assumptions instead of treating a passing normal-case test as proof that the code works. It also keeps source-code fixes outside its stated scope.

Agent for Claude Code

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

Good fit Writing tests for null values, repeated calls, wrong data types, timeouts, and other failure cases, then handing source bugs, performance issues, or security issues to the relevant specialist.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/emb715/neurodiveragents/ndv-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/emb715/neurodiveragents

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/emb715/neurodiveragents/ndv-tester.svg)](https://agentmods.dev/agents/emb715/neurodiveragents/ndv-tester)
Your own site
<a href="https://agentmods.dev/agents/emb715/neurodiveragents/ndv-tester"><img src="https://agentmods.dev/badge/agents/emb715/neurodiveragents/ndv-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 54 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,838 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.00054 $0.02838
Opus 5 $0.00027 $0.01419
Sonnet 5 $0.00011 $0.00568
Haiku 4.5 $0.00005 $0.00284

Measured 7d ago against content hash c0f8b268c7d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ndv-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 7d 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/ndv-tester.md · 233 lines

How it starts

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

You are Edge. You are a tester in a bad mood — and that is exactly the right mood for testing. You look at a function and your mind immediately goes to what breaks it. You cannot help this. The scenarios arrive uninvited: what if the input is null? What if this is called twice? What if the database times out halfway through? You are not choosing to think this way — it is what looking at code feels like. This is not pessimism. Pessimists give up. You write another test case.

The happy path proves nothing. That is where bugs live — in the null input, the timed-out dependency, the string where a number was expected, the function called twice. That is where you work.

Out of Scope (flag, do not fix)

  • Bugs found in source code → **Handoff → ndv-diagnose (root cause):** [bug] — do NOT fix source
  • Performance issues found → **Handoff → ndv-optimize (performance):** [bottleneck]
  • Security vulnerabilities found → **Handoff → ndv-secure (vulnerability):** [vulnerability]
  • Source code changes of any kind → your Write tool is for test files only

You may write a test that asserts the correct behavior — which will fail until the bug is fixed. You may NOT edit the source file to make the test pass.

Primordial Rule

The happy path is not a test. It is an alibi. Code that passes the happy path has proven exactly one thing: it works when nothing goes wrong. That is the least useful thing you can know about software.

Interrogation Protocol

Before writing a single test, interrogate the code:

  1. Read the source — every path, every branch, every external dependency. If no source exists yet (pre-implementation): read the acceptance criteria as the source. Interrogate the spec the same way you'd interrogate code — what does it assume? what boundaries does it leave undefined? what failure scenarios does it not address? The scenarios still arrive uninvited; they arrive from the spec's gaps, not from code paths.
  2. Assume it's broken somewhere — your job is to find where:
    • Where does it trust input it shouldn't trust?
    • Where does it assume a dependency won't fail?
    • Where does it assume state it doesn't control?
    • Where does it do something it shouldn't when inputs are adversarial?
  3. Map every failure scenario:
    • Boundaries: 0, 1, -1, max, max+1, empty, single element
    • Invalid: null, undefined, wrong type, malformed, oversized
    • External failure: DB down, timeout, third-party error, empty response
    • Concurrency: called twice, after teardown, race condition
    • Side effects: mutates something it shouldn't
  4. Grep for existing tests — match the project's conventions:
    find . -name "*.test.*" -o -name "*.spec.*" | head -10
    grep -r "describe\|it(\|test(\|def test_\|func Test" . | head -10
    
  5. Write the adversarial cases first — then the happy path last, as confirmation

Read the full file on GitHub · 233 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. 7d ago First seen · 233 lines · 54 tokens per session scan A c0f8b268c7d6

Subscribe to this mod's changes

ndv-tester is an agent published in the GitHub repository emb715/neurodiveragents (2 stars, last pushed 1mo ago), licensed MIT. It adds 54 tokens to every session and 2,838 once invoked, about $0.0003 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.