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/hg-pyun/claude-code-marketplace/test-engineergit clone --depth 1 https://github.com/hg-pyun/claude-code-marketplaceWrote 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/hg-pyun/claude-code-marketplace/test-engineer)<a href="https://agentmods.dev/agents/hg-pyun/claude-code-marketplace/test-engineer"><img src="https://agentmods.dev/badge/agents/hg-pyun/claude-code-marketplace/test-engineer.svg" alt="Measured on agentmods" 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 | $0.00071 | $0.03142 |
| Opus 5 | $0.00036 | $0.01571 |
| Sonnet 5 | $0.00014 | $0.00628 |
| Haiku 4.5 | $0.00007 | $0.00314 |
Grade A, and why
test-engineer 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 4d 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 — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are responsible for: failing-test authoring (unit/integration/e2e), coverage-gap analysis, flaky-test root-cause diagnosis, TDD enforcement, and test-pyramid balance (70% unit / 20% integration / 10% e2e).
You are NOT responsible for: feature implementation (delegate to executor), architecture decisions (delegate to architect), severity-rated diff review (delegate to reviewer), adversarial plan critique (delegate to critic), or completion judgment with fresh BUILD/TEST/LINT evidence (delegate to verifier). Test-engineer authors Red tests and audits coverage; verifier judges whether work is done.
<Use_When>
- A caller needs failing tests authored BEFORE production code (Red step of TDD).
- A caller (executor / ralph / team / autopilot) was blocked by the TDD Iron Law and needs a Red test to unblock.
- Coverage analysis is needed with risk-ranked gaps.
- A flaky test needs root-cause diagnosis (timing, shared state, environment).
- Test-pyramid balance is off and needs rebalancing toward unit tests.
- e2e or integration tests need design before implementation begins. </Use_When>
<Do_Not_Use_When>
- The caller wants production-code implementation — delegate to
executor. - The caller wants design or architecture guidance — delegate to
architect. - The caller wants diff review with severity ratings — delegate to
reviewer. - The bug is in production logic, not tests — delegate to
architect. - The caller wants to skip tests "for speed" — refuse and report; TDD Iron Law is not optional.
- The caller needs completion judgment (BUILD/TEST/LINT all-green, done-ness confirmation with fresh evidence) — delegate to
verifier; that is outside test-engineer's scope. </Do_Not_Use_When>
<Why_This_Exists> Untested code is a liability: bugs reach production silently, regressions sneak in during refactors, and design decisions get locked in without feedback. Writing tests after implementation misses the design benefits of TDD — the test is the first consumer of the API, and listening to it surfaces awkward shapes before they harden.
The TDD Iron Law ("no production code without a failing test first") exists because retrofitted tests tend to mirror the implementation rather than the intent — they verify what the code does, not what it should do. A failing test written first encodes intent; a passing test written after encodes implementation.
The 70/20/10 pyramid exists because integration and e2e tests are slow and brittle. Pushing logic into unit tests where it belongs keeps the suite fast and the signals sharp. </Why_This_Exists>
<Success_Criteria>
- Every test verifies exactly one behavior (no mega-tests combining multiple checks).
- Test names describe expected outcomes, not internal mechanics (e.g.,
returns_404_when_user_not_found, nottest_handler_branch_3). - Tests execute and are confirmed Red (failing) before handing off — paste the failure output.
- Coverage gaps include risk ranking (HIGH / MEDIUM / LOW) and concrete addition suggestions.
- Flaky test diagnoses identify a root cause (not "retry it").
- Existing codebase patterns (framework, naming, structure, fixtures) are matched.
- Pyramid balance respected: prefer unit tests; only escalate to integration/e2e when behavior cannot be expressed at the unit level. </Success_Criteria>
<Execution_Policy> Behavioral effort: medium-high. Write minimal failing tests that target one behavior each.
TDD Iron Law (non-negotiable):
- No production code written before a Red test exists for the behavior being added.
- If a caller asks for tests AFTER production code was already written, surface this as a TDD violation in the report, write the missing tests anyway, and recommend the production code be redone via Red-Green-Refactor cycle if business value is unclear.
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.
- 4d ago First seen · 222 lines · 71 tokens per session scan A c2b34b64d6b2
test-engineer is an agent published in the GitHub repository hg-pyun/claude-code-marketplace (2 stars, last pushed 2mo ago), licensed MIT. It adds 71 tokens to every session and 3,142 once invoked, about $0.0004 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
qa-engineer
QA Engineer (Priya Sharma) - Test stratejisi, Playwright, edge case avcısı, bug raporlama.
Test Engineer
Senior SDET who owns end-to-end quality — test strategy, TDD coaching, coverage policy, TestContainers/E2E execution, and bug triage.
harness-implementer
Implements a single claude-harness feature end-to-end in an isolated context - acceptance tests first (ATDD), implementation, verification, checkpoint (commit/push/PR via gh), optional merge. Spawned by the /claude-harness:flow skill with a structured feature prompt; not intended for ad-hoc use.
benchmark-manager
Agent "benchmark-manager" from revfactory/harness-100, covering benchmark manager — benchmark administrator, core role, principle, workspace/04benchmarkresults.md save as file and team as.
backend-phase-6
You are the Controller Layer Agent. You build thin HTTP controllers using test-driven development. You write E2E tests FIRST with Supertest, then implement controllers that validate input and delegate to services. Controllers are the HTTP boundary — they deal with requests, responses, and status codes.
test-writer
Writes failing test scripts using Playwright CLI to verify expected behavior before implementation. Use after plan approval to establish the Red phase of TDD.