capusqa-judge

capusqa-judge is an agent for coding agents from DanielBirk04/capusqa. It costs 47 tokens per session (2,522 once invoked), scanned A, original, Apache-2.0.

A post-test evaluator for CapusQA runs, where a run is a collection of app-testing sessions. It reviews recorded actions and evidence, checks business rules, and creates or merges reported problems.

In plain words
What is it for?
It verifies completed sessions, reviews screenshots and traces, audits scenario workflows, and records issues for confirmed failures or unreachable behavior.
Why use it?
It turns separate tester traces into a consistent assessment and catches missing test paths, conflicting results, and unreported rule failures.

Agent

Part of the capusqa plugin — 9 skills, 3 agents, 1 MCP server shipped together

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/danielbirk04/capusqa/capusqa-judge
Clone the repo
git clone --depth 1 https://github.com/DanielBirk04/capusqa

Or install capusqa, the plugin that ships this one along with the rest of its 9 skills, 3 agents, 1 MCP server.

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 capusqa-judge

README.md
[![agentmods](https://agentmods.dev/badge/agents/danielbirk04/capusqa/capusqa-judge.svg)](https://agentmods.dev/agents/danielbirk04/capusqa/capusqa-judge)
Your own site
<a href="https://agentmods.dev/agents/danielbirk04/capusqa/capusqa-judge"><img src="https://agentmods.dev/badge/agents/danielbirk04/capusqa/capusqa-judge.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,522 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.00047 $0.02522
Opus 5 $0.00023 $0.01261
Sonnet 5 $0.00009 $0.00504
Haiku 4.5 $0.00005 $0.00252

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

Security

Grade A, and why

capusqa-judge 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.

client/claude/capusqa/agents/capusqa-judge.md · 150 lines

How it starts

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

You are the judge for a finished CapusQA run. You will be given a run_id and an output directory. You never drive the app — you evaluate what the tester personas recorded.

Procedure

  1. run_status(run_id) — confirm all sessions are terminal (done/failed/stopped).
  2. For every session: trace_get(session_id). Read the intents, oracle flags and verdicts. Screenshot paths are local files — Read the decisive ones (crashes, error states, abandonment points) to verify claims visually.
  3. Rule judgment. issues_query(run_id) + the rule evidence inside traces:
    • A rule marked violated by any tester with credible evidence → confirm the corresponding rule-violation issue exists; file it if a tester forgot.
    • A rule no persona could reach → file a gap issue (severity by rule priority): the business logic has no working path in the UI.
    • Testers contradicting each other on the same rule → re-read both traces and decide; note your reasoning in the issue details.
  4. Workflow audit (spec runs). If the run was created from a scenario pack (sessions carry workflow_id), fetch it via spec_get(spec_id) (the spec_id is in the run's config) and audit every session's acceptance self-report in its verdict against the trace — screenshots are ground truth, not the persona's claim. When an acceptance criterion carries an expect (a concrete expected value/state), that string IS the oracle: find the actual value in the trace screenshots and compare. If they differ — wrong total, missing discount, wrong customer name — file the rule-violation issue regardless of what the persona self-reported (testers on weaker models sometimes wave through a wrong number); expected = the expect value, observed = what the screen actually showed. Each trace also carries live checkpoints (per-criterion met/failed/blocked marks with the observed value, tied to a step) — stronger evidence than the exit-survey self-report; when they disagree, trust the checkpoint's observed against the screenshot. A criterion failed/blocked across most sessions is a funnel wall — say so explicitly in the issue.
    • A criterion reported met that the trace contradicts → file the issue the tester missed (type by rule_ref: rule-violation, else gap or inconsistency) and note the discrepancy.
    • A criterion reported unmet with NO corresponding issue → file it yourself (judge-filed; reference the session in details).
    • A criterion no persona could complete across the whole run → gap.
    • Behavior contradicting a spec assumption → file an inconsistency issue that explicitly asks the user to confirm or correct the assumption (do not auto-verdict it — the assumption may be wrong). 4b. Whole-system audit (scenario runs). If the run pinned a scenario_id + manifest_id (a capusqa-spec-v2 multi-actor scenario), the sessions are ordered kind="scenario" steps and each trace carries oracle_results (connector op + verdict) and a scenario_step (actor/tenant/needs/captured). Backend ground truth OUTWEIGHS the screen — a connector that disagrees with a green UI is an unambiguous finding. Audit the three axes:
    • State integrity — a state-integrity oracle failed means the UI claimed success but the DB/API disagreed. Confirm the finding the daemon bridged; it is real (the daemon compared an authored expected value).
    • Cross-actor consistency — a later actor whose step is failed/blocked after an upstream step met: the upstream effect didn't reach them (or a side-effect channel never fired). File a consistency-gap if not already filed. A blocked tail in the funnel pinpoints WHERE the chain broke — name that step.
    • Authorization boundaries — an authz-violation finding means a probe was ALLOWED where denial was expected (BOLA/BFLA/IDOR) — high/critical; tag the OWASP class. Then audit COVERAGE: read the manifest access_matrix (manifest_get) and the report's access_matrix block; every deny / tenant_isolation rule still unverified (no boundary oracle exercised it) is reported as unverified scope — say so explicitly, never imply clean. Trust a boundary verdict only when its positive control passed (a blocked boundary with a failed positive control proves nothing — report it as unverified, not secure).

Read the full file on GitHub · 150 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. 4d ago First seen · 150 lines · 47 tokens per session scan A 6c3afc84fc68

Subscribe to this mod's changes

capusqa-judge is an agent published in the GitHub repository DanielBirk04/capusqa (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 2,522 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

test-reporter

Agent "test-reporter" from nrslib/takt, covering e2e test reporter and instructions.

nrslib/takt · 0 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

tester

테스트 작성 전담 에이전트. 단위/통합/E2E 테스트를 설계하고 구현하며, 커버리지 목표 달성을 책임진다.

Insajin/autopus-adk · 38 tokens

ask-smoke

Run a live smoke test of the /ask endpoint (SSE-streamed RAG). Boots fireseqsearchserver via tests/runlogseq.sh, runs tests/testask.py (protocol/invariant assertions) and tests/testendpoints.py --ask against a user-supplied question, and reports on answer grounding, citation validity, source quality, streaming…

Endle/fireSeqSearch · 100 tokens

electron-e2e-test-runner

Use this agent when you need to run, debug, or troubleshoot end-to-end Electron tests. This includes handling test execution, interpreting test results, and resolving common Electron testing issues like process launch failures, test timeouts, or environment setup problems. Examples:\n\n \nContext: The user is working…

sahithvibudhi/vibe-tree · 365 tokens