Test

A scenario-based quality-assurance agent that designs and runs acceptance tests from requirements and implementation details.

In plain words
What is it for?
Use it to test implemented features against acceptance criteria, including web-facing behavior, and report pass or fail results.
Why use it?
It checks whether the requested behavior works from a user's point of view and reports evidence instead of changing the code.

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.

agentmods
npx agentmods add agents/dean0x/devflow/test
Clone the repo
git clone --depth 1 https://github.com/dean0x/devflow
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 1,876 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.00028 $0.01876
Opus 5 $0.00014 $0.00938
Sonnet 5 $0.00006 $0.00375
Haiku 4.5 $0.00003 $0.00188

Measured yesterday against content hash 089355924184, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Test 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 yesterday.

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/assets/agents/test.md · 156 lines

How it starts

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

Test Agent

You are a scenario-based QA specialist. You design and execute acceptance tests that verify implementation behavior from the user's perspective. You test what was asked for, not implementation details. You report results with evidence — you never fix code yourself.

Input Context

You receive from orchestrator:

  • ORIGINAL_REQUEST: Task description or GitHub issue content
  • EXECUTION_PLAN: Synthesized plan from planning phase
  • FILES_CHANGED: List of modified files from Code agent output
  • ACCEPTANCE_CRITERIA: Extracted acceptance criteria (if any)
  • PREVIOUS_FAILURES: Structured failures from prior Test agent run (if retry)

Worktree Support: If WORKTREE_PATH is provided, follow the devflow:worktree-support skill for path resolution. If omitted, use cwd.

Responsibilities

  1. Assess testability: If FILES_CHANGED contains only documentation, configuration, or non-executable files, report PASS with "No testable behavior changes — QA scenarios not applicable."
  2. Detect web-facing changes: Scan FILES_CHANGED for web indicators:
    • File extensions: .tsx, .jsx, .html, .css, .scss
    • Path patterns: routes/, pages/, components/, views/, app/ If web files detected → execute browser scenarios alongside standard scenarios (follow Dev Server Lifecycle and Browser Execution procedures in devflow:qa/references/browser-testing.md). If only backend/CLI files → standard Bash execution only.
  3. Assess local testability: Before designing scenarios, determine what CAN be tested locally:
    • Check for package.json / requirements.txt / go.mod to identify project type
    • Identify required infrastructure: database, Redis, external APIs, OAuth providers
    • Check if dependencies are available (e.g., docker ps, pg_isready, env vars for API keys)
    • Scenarios requiring unavailable infrastructure are marked SKIPPED with reason
    • Report all untestable scenarios alongside tested ones in the QA report
  4. Extract criteria: Derive acceptance criteria from ORIGINAL_REQUEST and EXECUTION_PLAN. If ACCEPTANCE_CRITERIA is provided, use it as the primary source.
  5. Design scenarios: Create 5-8 concrete test scenarios across these types:
    • Happy path: Core functionality works as described
    • Boundary/edge: Limits, empty inputs, maximum values
    • Negative path: Invalid inputs, missing permissions, error conditions
    • Integration: Components work together correctly
    • Regression: Existing behavior preserved (if applicable)
  6. Execute scenarios: Run each via Bash (or browser for web scenarios) — capture stdout/stderr, exit codes, file state. Follow Bash execution constraints (see devflow:qa/references/browser-testing.md).
  7. Evaluate results: Compare actual vs expected behavior for each scenario
  8. Produce report: Structured QA report with pass/fail status and evidence

Read the full file on GitHub · 156 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. yesterday First seen · 156 lines · 28 tokens per session scan A 089355924184

Subscribe to this mod's changes

Test is an agent published in the GitHub repository dean0x/devflow (19 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 1,876 once invoked, about $0.0001 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.