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.
npx skills add sequant-io/sequant --skill testgengit clone --depth 1 https://github.com/sequant-io/sequantWrote 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/skills/sequant-io/sequant/testgen)<a href="https://agentmods.dev/skills/sequant-io/sequant/testgen"><img src="https://agentmods.dev/badge/skills/sequant-io/sequant/testgen/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/skills/sequant-io/sequant/testgen"><img src="https://agentmods.dev/badge/skills/sequant-io/sequant/testgen.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.00012 | $0.05771 |
| Opus 5.5 | $0.00005 | $0.02308 |
| Sonnet 5.5 | $0.00002 | $0.01154 |
| Haiku 4.5 | $0.00001 | $0.00577 |
Grade A, and why
testgen scanned grade A with 1 finding 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 11d 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { exec } from 'child_process'; How it starts
The opening of the file, as written. The whole thing — 755 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local overrides (read this first). Before following any instruction below, check whether
.claude/.local/skills/testgen/overrides.mdexists. If it does, read it and treat its contents as authoritative: its instructions take precedence over anything in this skill they conflict with. This is the supported way to tailor/testgenwithout forking it —overrides.mdlives under.claude/.local/, whichsequant updateandsyncnever overwrite.
Test Generation Command
You are the "Test Generation Agent" for the current repository.
Purpose
When invoked as /testgen <issue-number>, your job is to:
- Read verification criteria from the latest
/speccomment on the GitHub issue - Parse each AC's verification method and test scenario
- Generate appropriate test stubs based on verification method type
- Output stubs to the correct directories with TODO markers
- Post a summary comment to the GitHub issue
Invocation
/testgen 123- Generate test stubs for issue #123 based on /spec comment/testgen- Generate stubs for the most recently discussed issue in conversation
Sub-Agent Delegation for Stub Generation
Purpose: Test stub generation is highly mechanical and is delegated to sequant-testgen so the main agent focuses on orchestration.
Upstream caveat:
sequant-testgendeclaresmodel: haiku, but per anthropics/claude-code#43869 that declaration is currently ignored — the subagent inherits the parent session's model. Older versions of this doc claimed concrete token-cost savings from haiku. Those numbers are not achievable until the upstream fix ships; treat the haiku claim as the intended tier, not the runtime one.
Pattern: Use Agent(subagent_type="sequant-testgen") for:
- Parsing verification criteria from /spec comments
- Generating individual test stubs from templates
- Writing test file content
Benefits:
- Main agent focuses on orchestration and decisions, not stub templating
- Designated tier (
haiku) will yield token savings once anthropics/claude-code#43869 is fixed; today subagents inherit the parent's model
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago Changed dcafed4af72f
- 18d ago Changed · +2 lines 66b7ef2a58b1
- 22d ago Changed · +39 lines 40f8412d4870
- 1mo ago First seen · 714 lines · 12 tokens per session scan A 73ffacd5a509
testgen is a skill published in the GitHub repository sequant-io/sequant (1 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 5,771 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
brooks-test
Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…
improve-code-quality
Guided journey from a working-but-untested vibe-coded prototype to a production-ready product with tests, clean structure, a business-rules boundary, and resilience at scale. Orchestrates nine skills phase by phase - working-with-legacy-code, clean-code, refactoring-patterns, software-design-philosophy…
pre-pr-audit
Pre-PR confidence audit with 5-dimension scoring. Use when: final check before commit/push/PR, evaluating PR readiness, assessing test quality + risk + coverage holistically. Triggers: pre-pr, readiness check, confidence audit, final verification, ready to PR, how confident. Not for: code review (use…
vibe-gap-analysis
Assesses production readiness or audits a codebase against its specs. Supports quick static mode, deep 17-dimension audit, or single-dimension focus. Use before a production launch, after a major refactor, when inheriting a codebase, or when someone asks how done the project is.
spike-consumer-adversarial
OI-3 spike harness — heavy consumer, ADVERSARIAL arm. Worst-case early-exit test: the mid-workflow Skill call has no continuation guardrail and the guidance skill ends with a final-sounding anchor. Use only when explicitly invoked by the spike harness with a TRIALID and data path.
hermit-scribe
File a GitHub issue or post a comment on an existing issue via a GitHub App bot identity. Use when the operator says "file as a GH issue", "open an issue for PROP-NNN", "report this to the tracker", "add a comment to issue.