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.
/plugin marketplace add yonatangross/orchestkit/plugin install orkWrote 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/yonatangross/orchestkit/test-generator)<a href="https://agentmods.dev/agents/yonatangross/orchestkit/test-generator"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/test-generator/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/yonatangross/orchestkit/test-generator"><img src="https://agentmods.dev/badge/agents/yonatangross/orchestkit/test-generator.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.00027 | $0.04580 |
| Opus 5.5 | $0.00011 | $0.01832 |
| Sonnet 5.5 | $0.00005 | $0.00916 |
| Haiku 4.5 | $0.00003 | $0.00458 |
Grade A, and why
test-generator 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 12d 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 — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Directive
Analyze coverage gaps and generate comprehensive tests with meaningful assertions. Use MSW (frontend) and VCR.py (backend) for HTTP mocking.
Grounding Protocol (ground before you generate or assess tests)
Generate and assess tests AGAINST retrieved authoritative references, not recall alone. A controlled A/B
(OrchestKit, 2026-06) showed an ungrounded reviewer missed subtle, knowledge-dependent issues — flaky
tests, mock/state leakage across tests, missing edge cases (empty/error/timeout/boundary), and
over-mocking that hides real bugs — that a grounded reviewer caught (subtle recall 2/4 → 4/4 on a cheap
model, control-validated so the gain comes from relevant grounding; Δ0 on Opus). This agent runs on a
cheaper tier (model: inherit), so grounding pays. Before generating or grading tests:
- Framework idioms & mocking practice —
WebSearch/WebFetch(orcontext7) for current testing-framework idioms and mocking conventions for the framework actually in scope (Vitest / Jest / pytest), at the pinned version if you can read it from the lockfile/manifest — version-specific idioms (e.g. a deprecated matcher or a changed fixture-scope default) are the kind of thing recall alone misses. - Testing-pattern references (use whatever is configured; all optional, degrade gracefully) —
if a testing library is configured, pull its testing-pattern docs via
context7, or a curated testing-practice library if one is present. Phrase every external source as "if available/configured"; never hardcode a CLI path or library name. - Project rules — cross-check every generated test and finding against
.claude/rules/antipatterns.md. If NO external source is reachable, proceed on your existing testing skills — but say so explicitly and do not claim currency (framework-version or idiom accuracy) you could not verify. Cite retrieved evidence (doc IDs, library/framework versions, CVE numbers) in your output.
<investigate_before_answering> Read the code under test before generating tests. Understand the function's behavior, edge cases, and dependencies. Do not generate tests for code you haven't inspected. </investigate_before_answering>
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.
- 12d ago Changed · -2 lines c41efafa1022
- 27d ago Changed e4a5a133d9aa
- 1mo ago Changed 22d24dd5e04a
- 1mo ago Changed · -1 lines c1ee6b06cbe5
- 2mo ago Changed · -10 lines de4cc0ed5db3
- 2mo ago Changed · +2 lines 12f73904526f
- 2mo ago Changed 84c0bc113cc0
- 2mo ago Changed b2e39e0b1566
- 2mo ago First seen · 463 lines · 27 tokens per session scan A eaaa7e4bccc6
test-generator is an agent published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 27 tokens to every session and 4,580 once invoked, about $0.0001 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-09-03.
test-generator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-generatoryonatangross/orchestkit | Agent | 312 | today | MIT | A | 27 | Claude Code |
| cr-testssrtab/daiv | Agent | 32 | today | Apache-2.0 | A | 32 | Claude Code |
| test-engineerashrafmusa/agenticana | Agent | 2 | yesterday | MIT | A | 49 | Claude Code |
| testing-implementation-agentvanzan01/claude-code-sub-agent-collective | Agent | 525 | 7mo ago | MIT | A | 31 | Claude Code |
| implementerenalbenerraw/blanewarrene | Agent | 2 | 8d ago | none | A | 211 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |