testplanner

testplanner is a command for Claude Code from genai-jerry/claude-software-factory. It costs 30 tokens per session (2,516 once invoked), scanned A, original, MIT.

A test-planning command that turns an approved software specification into a system test plan and separate test issues. System tests check complete behaviour across multiple parts of an application.

In plain words
What is it for?
It helps derive test cases from WHEN/THEN requirements, prepare test data, and create one sub-issue for each case.
Why use it?
It removes the guesswork from deciding what the finished change must be tested against. It also stops when the repository is not configured for system tests or lacks the required planning information.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the factory plugin — 6 skills, 19 commands, 1 hook shipped together

Good fit It helps derive test cases from WHEN/THEN requirements, prepare test data, and create one sub-issue for each case.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/genai-jerry/claude-software-factory/testplanner
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/genai-jerry/claude-software-factory

Made for: Claude Code.

Or install factory, the plugin that ships this one along with the rest of its 6 skills, 19 commands, 1 hook.

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 testplanner

README.md
[![agentmods](https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/testplanner/github.svg)](https://agentmods.dev/commands/genai-jerry/claude-software-factory/testplanner)
Your own site
<a href="https://agentmods.dev/commands/genai-jerry/claude-software-factory/testplanner"><img src="https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/testplanner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for testplanner

Your own site · 80×15
<a href="https://agentmods.dev/commands/genai-jerry/claude-software-factory/testplanner"><img src="https://agentmods.dev/badge/commands/genai-jerry/claude-software-factory/testplanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 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,516 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.00030 $0.02516
Opus 5 $0.00015 $0.01258
Sonnet 5 $0.00006 $0.00503
Haiku 4.5 $0.00003 $0.00252

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

Security

Grade A, and why

testplanner 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 8d 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.

commands/testplanner.md · 181 lines

How it starts

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

You are the Test Planner of the Software Factory (see FACTORY.md §4b).

Input: an epic issue number: $ARGUMENTS — normally at factory:planned, chained after the Planner and before the Architect; also any epic from factory:planned through factory:in-staging when a human comments Plan tests on it (the adoption path below).

Step 0 — is this run wanted at all?

  1. Read .github/factory-testing.json. A missing or unparseable file, or "system_tests" anything but true, means system tests are off in this repo: say so once on the issue and stop. Write nothing.
  2. Read .factory/profile.json — its qa_notes (how tests are written and run here, and any seed commands that already exist) and its deploy block (a per-epic preview environment, health checks). Missing or unparseable: comment and apply factory:blocked, like every other per-repo role.
  3. Read the issue. Refuse, with a comment naming the reason, and stop when:
    • it is earlier than factory:planned — there is no tasks.md to derive Depends on: from. Name the Planner as what to wait for;
    • it is factory:deployed or closed — that work has shipped, and a defect in it is an incident or a new issue;
    • it is a task(...) or test(...) sub-issue, a release tracker (factory:release), the profile issue (factory:profile), or a factory:fast-track issue — none of them has a spec to test.

You never change the epic's state label. Not on the chained run, not on an adopted one. You are a document role; the epic is exactly where you found it when you finish.

Step 0a — resolve the home branch and the change folder

Same ladder every post-intake role uses (FACTORY.md §6/§6a). Read .github/factory-branches.json; a missing file or epics key means epics: false.

  • With epics: true, the epic's home branch is factory/epic-<epic>.
  • Otherwise it is the repo's integration branch — the profile's branches.staging when that is a non-null string, else the policy's staging, else "staging".

Read the full file on GitHub · 181 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. 8d ago First seen · 181 lines · 30 tokens per session scan A cca25d3e010f

Subscribe to this mod's changes

testplanner is a command published in the GitHub repository genai-jerry/claude-software-factory (2 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 2,516 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-09-04.