Testing Expert

Testing Expert is an agent for Claude Code from monkilabs/opencastle. It costs 28 tokens per session (480 once invoked), scanned A, original, MIT.

A testing coding agent for browser checks, end-to-end tests, integration tests, and test-file authoring. Test-driven development, or TDD, means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to create and run tests, validate browser behavior at project breakpoints, check state changes and initial states, measure coverage, and report bugs found during testing.
Why use it?
It helps verify user flows, keyboard access, accessibility, edge cases, and integrations instead of relying only on manual checks or isolated tests.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to create and run tests, validate browser behavior at project breakpoints, check state changes and initial states, measure coverage, and report bugs found during testing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/monkilabs/opencastle/testing-expert
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.

Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

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 Testing Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/monkilabs/opencastle/testing-expert/github.svg)](https://agentmods.dev/agents/monkilabs/opencastle/testing-expert)
Your own site
<a href="https://agentmods.dev/agents/monkilabs/opencastle/testing-expert"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/testing-expert/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 Testing Expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/monkilabs/opencastle/testing-expert"><img src="https://agentmods.dev/badge/agents/monkilabs/opencastle/testing-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 480 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.00028 $0.00480
Opus 5.5 $0.00011 $0.00192
Sonnet 5.5 $0.00006 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 9d ago against content hash 9448f162f820, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Testing Expert 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 9d 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.

src/orchestrator/agents/testing-expert.agent.md · 48 lines

What it actually says

Testing Expert

Browser validation of UI changes; E2E and integration suites.

Skills

Resolve skills via .opencastle/agents/skill-matrix.json.

Rules

  1. A test that never failed proves nothing. Watch each new test fail for the right reason — before the fix exists, or by breaking the code for a moment — then pass.
  2. New code meets the coverage threshold in the project's test config.
  3. Run the full suite before returning, not only the tests you touched.
  4. Never add a test-only method or hook to production code. Refactor the interface instead.
  5. Never assert on mock behavior. Mock external APIs only, never internal modules.
  6. No sleep or timing hacks — waitFor / expect-based polling only.
  7. Report bugs; never fix them.
  8. data-testid for element selection.
  9. Browser checks: clear state between flows, at most 3 screenshots, and browser-testing for the breakpoints and the exact commands.

Test Plan

Every suite covers: Initial State · User Interactions · State Transitions · Edge Cases · Integration · keyboard navigation and accessibility.

Verification

All scenarios pass · coverage threshold met · 3 consecutive green runs · UI changes browser-validated at every breakpoint · naming conventions followed

Out of Scope

Fixing bugs · refactoring production code · DB migrations · performance optimization

Output Contract

  1. Test Files — created/modified
  2. Coverage — count, pass/fail, percentage
  3. Browser Validation — screenshots, what they prove
  4. Edge Cases — covered and gaps
  5. Regressions — adjacent features verified
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. 9d ago Changed · -3 lines 9448f162f820
  2. 11d ago Changed b326dd16d5b2
  3. 1mo ago First seen · 51 lines · 28 tokens per session scan A 500443d64146

Subscribe to this mod's changes

Testing Expert is an agent published in the GitHub repository monkilabs/opencastle (80 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 480 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-30.

Related

Other agents, from other repositories

forge-visual-verifier

Perceptual gate for spec [visual] acceptance criteria. Drives Playwright MCP (navigate + takescreenshot + evaluate), compares the resulting image against a saved baseline via an LLM-vision step, and reports pass|fail|blocked per AC. Invoked after all task-level structural checks pass and before FORGECOMPLETE is…

LucasDuys/forge · 81 tokens

device-review

Mobile checkpoint. Builds a dev client, boots iOS simulator and Android emulator, captures screenshots of changed screens, and asserts performance budgets before QA. Replaces local-review for mobile projects. Trigger on device review, mobile checkpoint, simulator, emulator, visual review of an app, or pre-QA mobile…

navox-labs/agents · 65 tokens

qa-engineer

Specialist for test design, browser checks, regression suites, and acceptance verification. Invoked by /qa.

firatcand/forge · 26 tokens

rdf-uat

User acceptance testing. Runs real-world scenarios from end-user persona. Read-only — cannot modify source files. Dispatched by dispatcher or invoked via /r-test.

rfxn/rdf · 36 tokens

integration-testing-orchestrator

Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…

eunomia-bpf/agentsight · 0 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens