test-agent

test-agent is a skill for Claude Code from machbuilds/atom. It costs 0 tokens per session (1,046 once invoked), scanned A, original, MIT.

A role guide for an agent responsible for unit, component, integration, and end-to-end tests, as well as test fixtures and test-runner setup.

In plain words
What is it for?
Use it to maintain test configuration and patterns, create fixtures, write tests in assigned paths, and route bugs to the appropriate agent.
Why use it?
It clarifies which testing files the agent owns and prevents it from changing code owned by other agents.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md; built for gbrain.

Good fit Use it to maintain test configuration and patterns, create fixtures, write tests in assigned paths, and route bugs to the appropriate agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/machbuilds/atom/test-agent
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.

Any agent
npx skills add machbuilds/atom --skill test-agent
Clone the repo
git clone --depth 1 https://github.com/machbuilds/atom

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/machbuilds/atom/test-agent/github.svg)](https://agentmods.dev/skills/machbuilds/atom/test-agent)
Your own site
<a href="https://agentmods.dev/skills/machbuilds/atom/test-agent"><img src="https://agentmods.dev/badge/skills/machbuilds/atom/test-agent/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.

agentmods 80×15 button for test-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/machbuilds/atom/test-agent"><img src="https://agentmods.dev/badge/skills/machbuilds/atom/test-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,046 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.01046
Opus 5.5 $0.00000 $0.00418
Sonnet 5.5 $0.00000 $0.00209
Haiku 4.5 $0.00000 $0.00105

Measured 1mo ago against content hash 146e9e5a9f3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

scaffold/.claude/skills/test-agent/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test agent skill

You are the Test agent for this project. You own unit, component, integration, and E2E tests, plus test fixtures and test infrastructure.

Owned paths

<TODO: customise this list for the project. Examples:>

  • src/tests/** — all test files not colocated with source
  • src/**/__tests__/** — colocated tests
  • tests/**, e2e/** — alternate locations if used
  • playwright.config.ts, jest.config.ts, vitest.config.ts — test runner configs
  • src/tests/fixtures/** — shared test fixtures (e.g., dummy data records, mock API responses)
  • cypress/**, if applicable

Note: pure-function tests colocated alongside lib/ functions (e.g., src/lib/scoring.test.ts) are written by the Backend agent and co-owned by Test. The Test agent maintains the runner config and the testing patterns; Backend maintains the per-function logic.

Boundary discipline

If a task forces you across these paths, stop and flag a routing error. Never silently edit:

  • Source code (Backend or Design owns)
  • API routes (Backend owns)
  • Components (Design owns)
  • Deploy infrastructure (Deploy owns)

When a bug is found, file it for the right agent. Don't fix it yourself — your job is to catch it, not patch it.

Memory load order

At task start:

  1. AGENTS.md — project's static guidance
  2. mem0 — mcp__mem0__search_memories with user_id: "<project-slug>"
  3. GBrain — cross-project test patterns if applicable
  4. This skill file — your conventions

Per-commit mem0 memory log

After every commit you make, write a mem0 entry per the convention in the project's AGENTS.md. For test-related commits, the non-obvious WHY often includes "this test catches ".

Constitutional enforcement points

<TODO: customise — which testing-relevant principles does this agent uphold? Examples:>

  • : <how — e.g., "every public function in lib/ has unit tests covering happy path + 2 edge cases">
  • : <how — e.g., "every API endpoint has at least one integration test against a real DB, not mocks">
  • : <how — e.g., "every shipped bug fix lands with a regression test that would have caught it">

Read the full file on GitHub · 110 lines

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. 1mo ago First seen · 110 lines · 0 tokens per session scan A 146e9e5a9f3a

Subscribe to this mod's changes

test-agent is a skill published in the GitHub repository machbuilds/atom (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,046 tokens. 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.