agentic-tdd
Test-driven development for behaviour a unit test cannot reach, by writing the expectation against the running app before writing…
Install, instrument and verify a web app end to end without pausing for a human. Use in an autonomous or goal-mode agent, in CI, or in any client that asks for approval on every command: it never says "restart your client" or "open a browser", because it takes a route that needs
Claude Code
$ npx -y skills add reticlehq/reticle --skill verify-unattended --agent claude-code
Codex
$ npx skills add reticlehq/reticle --skill verify-unattended -a codex -y
Cursor
$ npx skills add reticlehq/reticle --skill verify-unattended -a cursor -y
Gemini CLI
$ npx skills add reticlehq/reticle --skill verify-unattended -a gemini-cli -y
GitHub Copilot
$ npx skills add reticlehq/reticle --skill verify-unattended -a github-copilot -y
OpenCode
$ npx skills add reticlehq/reticle --skill verify-unattended -a opencode -y
Windsurf
$ npx skills add reticlehq/reticle --skill verify-unattended -a windsurf -y
name: verify-unattended description: 'Install, instrument and verify a web app end to end without pausing for a human. Use in an autonomous or goal-mode agent, in CI, or in any client that asks for approval on every command: it never says "restart your client" or "open a browser", because it takes a route that needs neither. Prefer the normal reticle skill when a human is present and can answer.' license: Apache-2.0 metadata: version: 3.10.9 homepage: https://www.reticle.sh repository: https://github.com/reticlehq/reticle
Same product, same verdicts, one difference: **nothing here waits for a human.**
The normal skill has two places where it hands control back: "restart your client so it picks up the MCP server" and "open the app in a browser". Both are correct when someone is sitting there. In goal mode they are dead ends: the restart ends the context holding these instructions, and there is nobody to open a tab.
So this skill takes the route that needs neither, and stops only when it has a verdict or a reason.
**You cannot add MCP tools to your own running process.** No slash command, no config edit, no re-registration reaches the tool list you already have. Your client read it before Reticle existed. Do not try, and do not ask to be restarted.
Instead, branch once on what you already have:
Both routes end in a verdict. Pick the one your process allows and go.
Run this only when the user's goal asks for Reticle or for a verified result: `init` changes package.json, the lockfile and the build config. Otherwise skip to step 3 and use the lease, which changes no file.
export RETICLE_INSTALL_SOURCE=npx_skill npx -y @reticlehq/server@latest init
The `export` is on its own line on purpose. Every other copy of this command carries the marker inline, but this skill runs where commands are matched against a prefix allowlist (see "Keep commands plain" below), and `RETICLE_INSTALL_SOURCE=... npx ...` no longer starts with `npx`. Inline, it would stop matching the very rule this file tells you to rely on.
Then read the report rather than assuming it. Two lines matter:
`init` is idempotent. A step reading `already wired` is a pass, not a skip.
**If `init` reports every step already done, the app was instrumented before you arrived.** That is fine, but it means this run has not proved the install. Say so rather than claiming you set it up.
The daemon needs a page to look at, and a page needs a server. Do not ask whether to start one.
1. Read the dev script out of `package.json`. 2. Start it in the background, on the port the script implies. 3. Poll the port until it answers. A dev server that has to compile a route can take 30 seconds on first hit; a timeout here is not a failure yet.
If a server is **already** listening on that port, use it. Starting a second one on a different port gives you an app nobody is verifying, and leaves a process behind.
**Restarting matters after `init`.** A build plugin added to a config the running server already read is not in the bundle. If the server was up before step 1, restart it now or nothing you do next will find an instrumented page.
With the MCP tools:
reticle_session { action: "list" }A listed session is the proof. Nothing else in this skill can tell you anything about the app until one appears.
No session, and no human to open a tab? Take one yourself:
reticle_run { tool: "reticle_lease", args: { action: "acquire", url: "http://localhost:<port>/" } }The lease opens a browser Reticle owns and drives. It is the whole answer to "there is nobody here to open the page".
Without the MCP tools, skip to step 4: `verify` opens its own browser.
**Declare the consequence before you act.** This is the difference between a check and a rationalisation, and it is the entire reason this tool exists:
reticle_act_and_wait { ref, action, until: { … } }Assert what the app _did_, not what it _shows_. A UI that renders the value it just sent, rather than the value the server returned, passes every DOM-level check ever written:
until: { kind: "net", method: "POST", urlContains: "/api/refund",
status: 200, bodyContains: "\"refunded\":1187.01" }`bodyContains` reads the **response**: what the server answered. It needs body capture, which `init` writes into the app's config; if a verdict comes back `outcome_unread`, that is what is missing.
Without the MCP tools:
npx @reticlehq/server verify http://localhost:<port>/
Exit 0 is a pass. It drives the app and re-verifies **saved flows**, so if the project has none, it will tell you nothing was checked. That is not a pass. Record one first, or say plainly that there was nothing to verify. With no saved flows, prove one end state instead: `npx @reticlehq/server verify http://localhost:<port>/ --expect '{"kind":"element","query":{"testid":"order-confirmed"}}'`. It asks a running daemon, never starts one, and exits 0 only on `verified: "yes"`.
AI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
Test-driven development for behaviour a unit test cannot reach, by writing the expectation against the running app before writing…
Sweep a whole running web app for what is broken, without writing a script or knowing the codebase. Clicks every reachable…
Find out why something in a running web app does not work, when the console is empty and the code looks correct. Reads the click,…
Check that the UI you actually rendered uses the design system, by reading computed styles in the running app against the…
Drive and verify an Electron or Tauri desktop app from the inside, including the main-process and Rust IPC calls a browser tool…
Find out why the tests pass but the app is broken. Catches false greens: a green suite over a feature that does not work, a…
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…