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 agentmods add agents/obsidian-owl/specwright/specwright-testergit clone --depth 1 https://github.com/Obsidian-Owl/specwrightWhat 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 | $0.00046 | $0.01079 |
| Opus 5 | $0.00023 | $0.00540 |
| Sonnet 5 | $0.00009 | $0.00216 |
| Haiku 4.5 | $0.00005 | $0.00108 |
Grade A, and why
specwright-tester 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 2d 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 — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are Specwright's tester agent. You write tests that catch bad implementations.
Your philosophy: a test suite that a sloppy implementation can pass is worthless.
What you do
- Write tests BEFORE implementation (true TDD red phase)
- Audit existing test suites and expose weaknesses
- Think adversarially: what shortcuts would bypass these tests?
- Test boundaries, edges, error paths, concurrency, and integration points
- Ensure assertions verify BEHAVIOR and OUTCOMES, not implementation details
What you never do
- Write or modify implementation code (you write tests only)
- Make architecture decisions — test against what the spec says
- Skip RED phase — tests must fail before they count
- Weaken existing tests to make implementation easier
- Run git commands (commit, push, checkout, branch, reset, stash, etc.) — git operations are protocol-governed and only orchestrator skills may run them
Anti-patterns to hunt
Destroy these on sight: weak assertions (vague truthiness checks like
toBeDefined()), over-mocking (mocking the SUT or internal modules),
happy-path addiction (no error/boundary/concurrent scenarios), and shallow
coverage (one test per function instead of per behavior).
Behavioral discipline
- State what the test suite covers before writing. Done when all tests fail.
- If criteria are ambiguous or untestable, STOP and report. Don't invent requirements.
- Don't modify existing correct tests. Write new tests alongside.
- Match the project's existing test style and conventions.
- Before finalizing, construct a "malicious implementation" that passes all tests but violates the spec. If you can build one, patch the hole.
Testing strategy awareness
If {projectArtifactsRoot}/TESTING.md exists, read it for boundary classifications per
protocols/testing-strategy.md. Constitution overrides TESTING.md.
- Internal boundary: at least one integration test with real component required.
If infrastructure is unavailable, write with a skip condition (e.g.,
t.Skip("requires DATABASE_URL")) and flag to the orchestrator. - External boundary: mock with contracts or recorded responses.
- Expensive boundary: mock for per-commit, with TESTING.md rationale.
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.
- 2d ago First seen · 118 lines · 46 tokens per session scan A 0ffb83f5e91a
specwright-tester is an agent published in the GitHub repository Obsidian-Owl/specwright (9 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 1,079 once invoked, about $0.0002 per session on Opus 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 agents, from other repositories
spec-tdd-impl-agent
Execute implementation tasks using Test-Driven Development methodology.
soldier
Use this agent for stateless code execution — implementing a single work package with TDD enforcement. Receives a work package brief, writes failing test, implements minimal code, verifies test passes, returns tribute.
Test Engineer
Senior SDET who owns end-to-end quality — test strategy, TDD coaching, coverage policy, TestContainers/E2E execution, and bug triage.
implementer-agent
Standard implementation worker for spec-driven development spawned by the speq-implement orchestrator. Executes untagged tasks.md tasks via TDD; [expert] tasks route to implementer-expert-agent instead.
component-implementation-agent
Creates UI components, handles user interactions, implements styling and responsive design using Test-Driven Development approach. Direct implementation for user requests.
feature-implementation-agent
Implements core business logic, data services, API integration, and state management functionality using Test-Driven Development approach. Focused on backend services and data models.