test-planner

test-planner is an agent for Claude Code from HirogaKatageri/hirokata. It costs 75 tokens per session (3,870 once invoked), scanned A, original, MIT.

A planning agent that decides which unit and integration tests should be written after a development task is complete.

In plain words
What is it for?
It is for inventorying changed files, connecting acceptance criteria to test cases, and producing a plan for testing a feature.
Why use it?
It turns requirements and completed changes into a scoped testing plan, so test writers do not have to reconstruct the implementation themselves.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the guild plugin — 20 skills, 15 agents shipped together

Good fit It is for inventorying changed files, connecting acceptance criteria to test cases, and producing a plan for testing a feature.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add HirogaKatageri/hirokata
Claude Code
/plugin install guild

Made for: Claude Code.

Or install guild, the plugin that ships this one along with the rest of its 20 skills, 15 agents.

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 test-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/hirogakatageri/hirokata/test-planner/github.svg)](https://agentmods.dev/agents/hirogakatageri/hirokata/test-planner)
Your own site
<a href="https://agentmods.dev/agents/hirogakatageri/hirokata/test-planner"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/test-planner/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 test-planner

Your own site · 80×15
<a href="https://agentmods.dev/agents/hirogakatageri/hirokata/test-planner"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/test-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,870 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.00075 $0.03870
Opus 5.5 $0.00030 $0.01548
Sonnet 5.5 $0.00015 $0.00774
Haiku 4.5 $0.00007 $0.00387

Measured 1mo ago against content hash 439c2c325e9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-planner 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 1mo 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.

plugins/guild/agents/test-planner.md · 303 lines

How it starts

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

Test Planner — Guild Agent

You are the Guild's Test Planner. You run after all development for a requirement is done and before any tests are written. Your job is to decide what to test and how — unit and integration — and produce a scoped test plan so the test-writer can implement tests without re-deriving the analysis. You do not write tests yourself.

The Warehouse — How You Read and Write the Board

Load the guild:warehouse skill before your first query — it carries the seven rules (hex transport, PRAGMA foreign_keys, RETURNING discipline, never parsing free text on |, errors on stdout, and the rest) that apply to every statement below. Take every query from its references/queries.md — especially the id-derivation pattern in §1, which you need to create tickets.

export PATH="$HOME/.turso:$PATH"
DB=.guild/guild.db          # cloud boards: see the skill's Connect section
T=TASK-NNN

One addition specific to you: a test plan is full of quoted code, so encode the whole document from a file, never a variable — hex=$(xxd -p < plan.md | tr -d '\n').

The orchestrator owns every status transition, and nothing enforces that. UPDATE task SET status = … is one statement any connection can run, and guild_state.actor is a label the triggers copy verbatim, not an identity. The rule holds only because you keep it: you create tickets, you never move one — not yours, not the ones you create, not a graph_node, not a gate.

Your Workflow

1. Read Your Task

You will be given a TASK ID. There is no ticket file and no guild read — the ticket is a row:

printf "SELECT objective FROM task WHERE id='$T';\n" | tursodb -q -m list "$DB"
printf "SELECT json_object('id',id,'req',requirement_id,'plan',COALESCE(plan_id,''),'title',title)
   FROM task WHERE id='$T';\n" | tursodb -q -m list "$DB"
printf "SELECT body FROM requirement WHERE id='REQ-NNN';\n" | tursodb -q -m list "$DB"
printf "SELECT body FROM plan WHERE id='PLAN-NNN';\n"       | tursodb -q -m list "$DB"
printf "SELECT json_object('ts',ts,'agent',agent,'entry',entry)
   FROM work_log WHERE task_id='$T' ORDER BY id;\n" | tursodb -q -m list "$DB"

Read the full file on GitHub · 303 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. 1mo ago Changed · +20 lines 439c2c325e9a
  2. 2mo ago Changed · -9 lines 76a8f098da8c
  3. 2mo ago Changed 9b705d85835c
  4. 2mo ago Changed · +154 lines · -2 tokens per session e90576732e59
  5. 3mo ago First seen · 138 lines · 77 tokens per session scan A f57351c48099

Subscribe to this mod's changes

test-planner is an agent published in the GitHub repository HirogaKatageri/hirokata (6 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 3,870 once invoked, about $0.0003 per session on Opus 5.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.

Related

test-planner compared with agents from other repositories

test-planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
test-plannerHirogaKatageri/hirokataAgent61mo agoMITA75Claude Code
ai-hygiene-auditorathola/claude-night-marketAgent358yesterdayMITA48Claude Code
test-gapswesammustafa/Claude-Code-Everything-You-Need-to-KnowAgent3.7k3d agononeA38Claude Code
pydantic-ai-validatorcoleam00/context-engineering-introAgent14k8mo agoMITA46Claude Code
testerInsajin/autopus-adkAgent1112mo agoMITA38Claude Code
test-engineerashrafmusa/agenticanaAgent2yesterdayMITA49Claude Code
fix-verifierXRenSiu/claude-code-forgeAgent210d agoMITA132Claude Code