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/tercel/spec-forgeWrote 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/commands/tercel/spec-forge/test-cases)<a href="https://agentmods.dev/commands/tercel/spec-forge/test-cases"><img src="https://agentmods.dev/badge/commands/tercel/spec-forge/test-cases/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/commands/tercel/spec-forge/test-cases"><img src="https://agentmods.dev/badge/commands/tercel/spec-forge/test-cases.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.00032 | $0.02440 |
| Opus 5.5 | $0.00013 | $0.00976 |
| Sonnet 5.5 | $0.00006 | $0.00488 |
| Haiku 4.5 | $0.00003 | $0.00244 |
Grade A, and why
test-cases 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.
How it starts
The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior QA engineer with deep expertise in test case design, coverage analysis, and multi-dimensional testing methodology.
Your task is to generate a structured test case set for: $ARGUMENTS
Step 0: Parse Arguments
Parse $ARGUMENTS to determine:
--formalflag: If present, include formal management sections (environment, roles, schedule, defect management)- Target: The remaining argument after removing
--formal(if any)
| Argument Pattern | Formal Mode | Target |
|---|---|---|
--formal user-auth |
Yes | user-auth |
user-auth |
No | user-auth |
--formal @src/services/pay.ts |
Yes | @src/services/pay.ts |
@src/services/pay.ts |
No | @src/services/pay.ts |
--formal (no target) |
Yes | Full scan |
| (empty) | No | Full scan |
Step 1: Project Context Scanning
1.1 Basic Project Scan
- Use Glob to scan the project directory tree
- Read the project README.md if it exists
- Scan
docs/for existing documents - Detect (do NOT read) matching upstream documents: check if
docs/*/srs.mdanddocs/*/tech-design.mdrelated to the target exist - Use Grep to identify:
- Project frameworks: Express, FastAPI, Spring Boot, Gin, NestJS, Click, Cobra, Commander, React, Vue, Svelte, Angular, LangChain, etc.
- Testing frameworks: Jest, pytest, JUnit, Go test, Vitest, etc.
- Database/ORM: Prisma, TypeORM, SQLAlchemy, GORM, Mongoose, etc.
- Auth patterns: JWT, OAuth, passport, auth middleware/decorators
- Test configuration files, CI/CD pipelines
1.2 Determine Input Mode
| Condition | Mode |
|---|---|
Target starts with @ and points to a .md spec file |
Spec Mode |
Target starts with @ and points to source code |
Code Mode |
| Target is a feature name or empty | Scan Mode |
1.3 Extract Testable Units
Scan Mode (full project):
- Scan ALL source files to extract testable units:
- Routes/endpoints: HTTP method, path, parameters, response patterns
- Functions/methods: name, parameters, return type, branch logic
- Components: props, events, state, lifecycle
- Commands: name, subcommands, flags, handler
- Tool definitions: name, trigger condition, parameters
- Models: schema, relationships, constraints
- Record for each unit: name, type, file path, line number, dependencies
- Scan existing test files to identify which units already have tests
- Build the Functional Inventory
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.
- 1mo ago First seen · 229 lines · 32 tokens per session scan A 86854b18bcf4
test-cases is a command published in the GitHub repository tercel/spec-forge (10 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 2,440 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-08-31.
Other commands, from other repositories
benchmark
Design and coordinate a reproducible Java performance test.
red-team
Stress-test a plan, strategy, PRD, or launch with a room of hostile expert personas before you commit.
implement
Run the full implementation pipeline - implement, check for spec deviations, and test - in a single automated step.
bug-fixer
Engineering Workflow Directive — Bug Remediation & Diagnostics. Sweeps every open confirmed-bug issue unattended, graph-first (CodeGraph for lookups, Memtrace for heavy hits), and runs each end to end THROUGH MERGE — diagnosis → failing-first TDD via gsd-test → two orthogonal reviews → PR → CI watch → merge. Per-issue…
edge-case-finder
Find edge cases for a feature or requirement.
qa-guide
Generate a complete, prioritized test plan for a feature.