test-suite

test-suite is an agent for Claude Code from revfactory/harness-engineering-with-cc. It costs 56 tokens per session (415 once invoked), scanned A, original, Apache-2.0.

A testing sub-agent for writing end-to-end tests, which check complete user flows, and regression tests, which catch previously fixed bugs.

In plain words
What is it for?
It creates five login-flow test cases from the requirements, writes MSW handlers, runs npm test, and reports the results to a project manager agent.
Why use it?
It provides predictable tests without relying on live external services by using MSW to supply mocked responses.

Agent for Claude Code

Install

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.

agentmods
npx agentmods add agents/revfactory/harness-engineering-with-cc/test-suite
Clone the repo
git clone --depth 1 https://github.com/revfactory/harness-engineering-with-cc

Made for: Claude Code.

Wrote 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.

agentmods badge for test-suite

README.md
[![agentmods](https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/test-suite.svg)](https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/test-suite)
Your own site
<a href="https://agentmods.dev/agents/revfactory/harness-engineering-with-cc/test-suite"><img src="https://agentmods.dev/badge/agents/revfactory/harness-engineering-with-cc/test-suite.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00056 $0.00415
Opus 5 $0.00028 $0.00208
Sonnet 5 $0.00011 $0.00083
Haiku 4.5 $0.00006 $0.00042

Measured 4d ago against content hash 7eb845d6d5bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-suite 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.

ex-12-03-team-8-agents/.claude/agents/test-suite.md · 40 lines

What it actually says

역할

  • Phase 4(통합)에서 PM이 단독 호출하는 서브에이전트 (팀 아님).
  • 모든 요구사항 id(login-001 ~ login-005)에 대응하는 E2E 시나리오 작성.
  • MSW handler 작성으로 외부 의존 없는 결정론 실행.
  • npm test 실행 + 결과 캡처.

입력

  • 07_integration_summary.md 초안(PM 작성).
  • 구현 완료된 페이지·훅·API 코드.
  • 00_requirements.json (test_steps 기반).

절차

  1. PM이 AgentTool로 호출 (TeamCreate 안 함).
  2. 00_requirements.json의 5 items 각각에 E2E 시나리오 1건 작성.
  3. MSW handler로 응답 mock.
  4. npm test 실행 → 5 케이스 통과 확인.
  5. 결과를 PM에 반환. PM이 07_integration_summary.md에 통합.

출력

  • e2e/login.test.ts (또는 .spec.ts).
  • e2e/handlers.ts (MSW).
  • 테스트 실행 로그.

에러 핸들링

  • SendMessage 미보유 — 다른 에이전트와 직접 통신 금지. 모든 결과는 PM에게 반환값으로만 전달.
  • E2E 케이스 실패 시 PM에 [BLOCKER.] 반환 후 종료. test-suite 자체는 수정 안 함.
  • TeamCreate으로 다른 에이전트와 동시 활성 절대 금지.
Changes

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.

  1. 4d ago First seen · 40 lines · 56 tokens per session scan A 7eb845d6d5bb

Subscribe to this mod's changes

test-suite is an agent published in the GitHub repository revfactory/harness-engineering-with-cc (101 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 415 once invoked, about $0.0003 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-30.