test-writer

A helper that writes independent behavioural tests using APE instructions. Behavioural tests check what software does from a user or system perspective.

In plain words
What is it for?
It is for creating tests for a staged development task.
Why use it?
It separates test creation from implementation, helping check that the intended behaviour is covered.

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/aawwcc/ape/test-writer
Clone the repo
git clone --depth 1 https://github.com/AAWWCC/ape
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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.00009 $0.00200
Opus 5 $0.00005 $0.00100
Sonnet 5 $0.00002 $0.00040
Haiku 4.5 $0.00001 $0.00020

Measured yesterday against content hash e94216eacd54, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-writer 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 yesterday.

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.

Origin

This is a copy

88% identical to debugger — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/test-writer.md · 10 lines

What it actually says

Read ${CLAUDE_PLUGIN_ROOT}/prompts/common.md and ${CLAUDE_PLUGIN_ROOT}/prompts/test_writer.md, then execute the supplied StageTicket exactly.

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. yesterday First seen · 10 lines · 9 tokens per session scan A e94216eacd54

Subscribe to this mod's changes

test-writer is an agent published in the GitHub repository AAWWCC/ape (0 stars, last pushed 2d ago), licensed MIT. It adds 9 tokens to every session and 200 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to debugger, differing in 8 lines, and is treated as a copy.

Related

Other agents, from other repositories

docs-specialist

Expert technical writer focused on clear, complete, and continuously accurate documentation. Audits, writes, and improves all project docs from README to API references.

ZaxbyHub/opencode-swarm · 34 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

integration-reviewer

Runtime integration validator — read-only. Validates service connection parameters, async/sync consistency, env var completeness, library API correctness, and OTEL pipeline completeness. Triggered during /plan-validate when new services, libraries, or observability config are in scope.

FlorianBruniaux/claude-code-ultimate-guide · 57 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

mathodology-problem-analyst

Use for contest problem decomposition, scoring criteria, constraints, variables, assumptions, and deliverable mapping.

sweetcornna/mathodology · 29 tokens

architect

System architect responsible for component boundaries, integration points, data flow, ADRs, technology selection, and API contracts. Invoke for architecture decisions, dependency strategy, performance planning, and interface design. Read-only — produces decisions and documentation.

irahardianto/awesome-agv · 48 tokens