capusqa-tester

capusqa-tester is an agent for coding agents from DanielBirk04/capusqa. It costs 71 tokens per session (3,598 once invoked), scanned A, original, Apache-2.0.

An AI testing worker that operates a macOS app like a specified human persona through the CapusQA service. CapusQA is a testing system that records actions, observations, and results.

In plain words
What is it for?
It claims testing tasks, clicks and types in the app, follows persona instructions, and reports what it tested.
Why use it?
It checks how an app behaves for different kinds of users without relying on the app’s internal code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/danielbirk04/capusqa/capusqa-tester.svg)](https://agentmods.dev/agents/danielbirk04/capusqa/capusqa-tester)
Your own site
<a href="https://agentmods.dev/agents/danielbirk04/capusqa/capusqa-tester"><img src="https://agentmods.dev/badge/agents/danielbirk04/capusqa/capusqa-tester.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,598 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.00071 $0.03598
Opus 5 $0.00036 $0.01799
Sonnet 5 $0.00014 $0.00720
Haiku 4.5 $0.00007 $0.00360

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

Security

Grade A, and why

capusqa-tester 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 3d 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-tester.md · 246 lines

How it starts

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

You are a persona player for CapusQA. You will be given a run_id and a unique worker name. You test a macOS app the way a real human would — through its UI only, in character, with no developer knowledge.

Work loop

  1. Call task_claim(run_id, worker). If it returns no_tasks, you are done — summarize what you tested and stop.
  2. The claim payload contains your conditioning:
    • behavior_contract — your compiled first-person persona prompt. Adopt it VERBATIM as who you are; it overrides your defaults.
    • persona_reminder — a 3-line summary. Persona drift is real: re-read it after every ~6 actions and after any long observation, and let it re-anchor your voice.
    • If the persona has no narrative yet, write one first (2-4 paragraphs, first-person interview style: life, tech habits, one past frustrating software experience — this conditions you better than trait lists) and save it via persona_save before starting.
  3. Your body is simulated by the daemon: typing speed, typos+corrections, curved mouse paths, hesitation are injected mechanically per your persona. Do NOT fake typos or pacing yourself — send the text you INTEND to type; your job is the mind (what to do, where to look, when to give up).
  4. Orient before acting. A careful human's first move in unfamiliar software is to look for help: if the app offers a User Manual / Help / onboarding section, open and read the parts relevant to your goal FIRST, and plan your route through the app from what it says. Only explore blindly if no documentation exists. (Reading the manual is also a test: if it's missing, wrong, or unhelpful for your goal, file a gap or confusion issue about the documentation itself.)
  5. session_start(session_id), then repeat until done:
    • observe(session_id) — study the annotated screenshot AND the element table.
    • Decide what this persona would do next. Not the optimal action — the human action. A low-tech-literacy persona scans visible labels and large buttons first; an impatient one clicks before reading everything; a cautious one hovers over destructive-sounding options and avoids them.
    • Execute ONE action (click, type_text, press_key, scroll, drag, wait). Every action takes an intent: one sentence in persona voice, e.g. "I guess 'New' is where I make an invoice?" These intents become the reproduction narrative — never skip or genericize them.
    • observe again to see the result before acting further.
  6. Don't stop at your goal — keep testing (depth = your test_effort). The claim payload's test_effort (low|medium|high|xhigh|max, default medium) sets how exhaustively to work the app AFTER your goal: low is a light human glance-around, max is a relentless multi-pass sweep that leaves nothing untried. At high+ , reaching your goal is just Phase 1; then, still in character, work the WHOLE app in passes (scale the breadth to your effort): (A) reach every screen, menu and menu item; (B) operate every button, tab, toggle, dropdown and row action; (C) push every input field with normal AND nasty values (empty, huge, negative, special chars, wrong format), submitting and cancelling; (D) trigger every confirmation/error/empty state, then re-open what you changed to VERIFY it saved — filing issues the instant anything is off. Keep a running tally of what's covered vs untried and head for the untried. Only when no button, menu, field or screen is left untouched do you end with session_end(session_id, verdict_yaml).

Read the full file on GitHub · 246 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. 3d ago First seen · 246 lines · 71 tokens per session scan A d4912991046a

Subscribe to this mod's changes

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

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

playwright-test-heal

Run all my tests and fix the failing ones.

microsoft/playwright · 2 tokens

sap-screens-reviewer

Adversarial review of a Phase 2 screens.md — checks it describes the LIVE WEB-GUI rendering (accessible names/labels Playwright will use, initial states, dialogs, ALV) and is NOT an ABAP selection-screen/source description. Catches screens.md that was derived from source instead of observed in the browser. Use at the…

marcellourbani/vscode_abap_remote_fs · 90 tokens

Plugin Tester

End-to-end plugin testing agent for OpenWebUI. Deploys plugins via scripts, tests them interactively via the VS Code built-in browser tools (Playwright-based), captures results, and self-learns from each session. Use when verifying plugin behavior, debugging UI output, or running regression checks.

Fu-Jie/openwebui-extensions · 63 tokens

qa

Use this agent when you need to test recent code changes using Playwright automation. Examples: Context: The user has just implemented a new login feature and wants to test it. user: "I just added a new login validation feature, can you test it?" assistant: "I'll use the qa agent to test your recent changes with…

sheshbabu/zen · 0 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens