agentic-tdd
Test-driven development for behaviour a unit test cannot reach, by writing the expectation…
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
$ npx -y skills add reticlehq/reticle --skill verify-unattended --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/verify-unattendedContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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 install-and-verify skill when a human is present and can answer.' license: Apache-2.0 metadata: version: 3.7.0 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.
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.
A drive that ends without `act_and_wait` or `assert` has no result, however many tools it used.
Stop and say which of these it is. A precise dead end beats a green report.
| What you see | What it means | | --- | --- | | tools absent, `verify` says no saved flows
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.
Repo: reticlehq/reticle
Test-driven development for behaviour a unit test cannot reach, by writing the expectation…
Sweep a whole running web app for what is broken, without writing a script or knowing the…
Find out why something in a running web app does not work, when the console is empty and the…
Check that the UI you actually rendered uses the design system, by reading computed styles in…
Drive and verify an Electron or Tauri desktop app from the inside, including the main-process…
Find out why the tests pass but the app is broken. Catches false greens: a green suite over a…