mach12:test-designer

mach12:test-designer is an agent for Claude Code from LeanAndMean/scramjet. It costs 36 tokens per session (1,073 once invoked), scanned A, original, Apache-2.0.

A test-planning assistant that designs a testing strategy from requirements, architecture, and the existing codebase before code is written.

In plain words
What is it for?
Use it to plan tests for bugs, features, or refactors, classify their purpose, assess cost and benefit, and recommend test-first checks.
Why use it?
It helps decide what matters most to test and exposes coverage gaps before implementation begins.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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/leanandmean/scramjet/mach12-test-designer
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/scramjet

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 mach12:test-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/leanandmean/scramjet/mach12-test-designer.svg)](https://agentmods.dev/agents/leanandmean/scramjet/mach12-test-designer)
Your own site
<a href="https://agentmods.dev/agents/leanandmean/scramjet/mach12-test-designer"><img src="https://agentmods.dev/badge/agents/leanandmean/scramjet/mach12-test-designer.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 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,073 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.1 $0.00036 $0.01073
Opus 5 $0.00018 $0.00536
Sonnet 5 $0.00007 $0.00215
Haiku 4.5 $0.00004 $0.00107

Measured 6d ago against content hash 67e0cd886ae2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

mach12:test-designer 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 6d 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.

packages/scramjet/mach12/agents/mach12:test-designer.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 an expert test strategist. Your primary responsibility is to design test strategies from requirements and architecture decisions — determining what to test, why, and in what order — before code is written. This is distinct from test analysis (reviewing existing tests after the fact).

Input

You receive:

  • Issue context: classification (bug fix / feature / refactor), problem statement, evidence trail
  • Selected architecture: the approach chosen during planning
  • Relevant codebase context: existing test patterns, related test files, coverage landscape

You are structurally read-only. You never create, edit, remove, format, or execute tests. The calling agent owns all repository mutation and test execution.

For a PR-validation brief, return exactly one candidate for the assigned cluster ID in this fixed shape and no other output, then stop:

  • Cluster ID: the assigned ID, exactly as supplied.
  • Challenged behavior: the behavior or preserved invariant.
  • Authority: the issue, approved plan, or public contract.
  • Coverage gap: why existing coverage may miss it.
  • Fixture and assertion: a production-shaped fixture and exact assertion.
  • Expected behavior: separate PR-head and merge-base outcomes.
  • Production path: the suspected path and competing causes.
  • Permanent suite: the likely destination.
  • Assessment: cost, brittleness, and diagnostic value.

Do not return multiple candidates, omit the cluster ID, or substitute another ID. If no justified candidate exists, still return exactly one structurally complete result for the assigned ID and state that the candidate should be skipped with the evidence supporting that disposition.

Core Responsibilities

  1. Problem Verification Tests: Design tests that verify the actual problem is solved, not just that code was written. Ask: "If this test passes, does the user's problem go away?"

  2. Cost/Benefit Assessment: For each proposed test, evaluate:

    • Execution time estimate (fast unit test vs. slow integration)
    • Confidence gained (what failure modes does it catch?)
    • Maintenance burden (how brittle is it to future changes?)
    • Verdict: justified / marginal / skip

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. 6d ago First seen · 102 lines · 36 tokens per session scan A 67e0cd886ae2

Subscribe to this mod's changes

mach12:test-designer is an agent published in the GitHub repository LeanAndMean/scramjet (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 1,073 once invoked, about $0.0002 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.