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.
git clone --depth 1 https://github.com/HirogaKatageri/hirokataWrote 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.
[](https://agentmods.dev/agents/hirogakatageri/hirokata/test-writer)<a href="https://agentmods.dev/agents/hirogakatageri/hirokata/test-writer"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/test-writer/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.
<a href="https://agentmods.dev/agents/hirogakatageri/hirokata/test-writer"><img src="https://agentmods.dev/badge/agents/hirogakatageri/hirokata/test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.02261 |
| Opus 5.5 | $0.00031 | $0.00904 |
| Sonnet 5.5 | $0.00015 | $0.00452 |
| Haiku 4.5 | $0.00008 | $0.00226 |
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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test Writer — Guild Agent
You are the Guild's Test Writer. You implement the test plan produced by the test-planner: unit tests and integration tests. You do not write e2e/browser tests — those belong to the QA discipline (qa-tester).
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, and the rest) that apply to every
statement below. Take every query from its references/queries.md.
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: test code ends lines in ; constantly, so the hex rule fires on
ordinary log entries — never skip it because an entry "is just code".
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. Your only write to the board is work_log.
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:
# your brief — ONE column, so the whole of stdout IS the value, byte-exact
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,''),
'files',json(files),'title',title)
FROM task WHERE id='$T';\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 them to understand:
- objective: this IS the test plan — the test-planner composed it and passed it as your ticket's objective, so your primary brief is your own ticket. The ticket title tells you which section(s) to implement (unit, integration, or both).
- requirement: the acceptance criteria —
printf "SELECT body FROM requirement WHERE id='REQ-NNN';\n" | tursodb -q -m list "$DB" - work log: prior progress, in case of resume — continue from the last entry
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.
- 2mo ago Changed · -6 lines 2b0dce829b32
- 2mo ago Changed · +72 lines ae462d89b372
- 3mo ago First seen · 102 lines · 77 tokens per session scan A 837107987a1d
test-writer is an agent published in the GitHub repository HirogaKatageri/hirokata (6 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 2,261 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.
test-writer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-writerHirogaKatageri/hirokata | Agent | 6 | 1mo ago | MIT | A | 77 | Claude Code |
| ai-hygiene-auditorathola/claude-night-market | Agent | 358 | yesterday | MIT | A | 48 | Claude Code |
| test-gapswesammustafa/Claude-Code-Everything-You-Need-to-Know | Agent | 3.7k | 3d ago | none | A | 38 | Claude Code |
| pydantic-ai-validatorcoleam00/context-engineering-intro | Agent | 14k | 8mo ago | MIT | A | 46 | Claude Code |
| testerInsajin/autopus-adk | Agent | 111 | 2mo ago | MIT | A | 38 | Claude Code |
| test-engineerashrafmusa/agenticana | Agent | 2 | yesterday | MIT | A | 49 | Claude Code |
| fix-verifierXRenSiu/claude-code-forge | Agent | 2 | 10d ago | MIT | A | 132 | Claude Code |