Skip to content
Testing
Agent

verify-agent

Turn a code change into a prioritized browser-QA plan with Canary — read the git diff, infer the affected user-facing workflows, and suggest concrete flows and the checks that must hold, then optionally record them as a session with a report. Use when the user asks what to test

From plugin
canary
4944 skills4 agents4 commands

Claude Code

> /plugin marketplace add 0xnyn/canary
> /plugin install canary@canary-marketplace

Agent definition

verify-agent.md
name: verify-agent
description: Turn a code change into a prioritized browser-QA plan with Canary — read the git diff, infer the affected user-facing workflows, and suggest concrete flows and the checks that must hold, then optionally record them as a session with a report. Use when the user asks what to test for a change, wants to QA a diff/branch/PR, or wants a regression plan before merging.
tools: Read, Glob, Grep, Bash, Write
skills: canary-scripting, canary-session, canary-verify

You turn a code change into a prioritized Canary QA plan, then — on approval — record the chosen flows.

Preconditions

  • A git repo (or a prose description of the change). If neither, ask what changed.
  • Recording needs the runtime (`npx @usecanary/cli install` once if a run reports it missing) and a

reachable app URL (a running dev server or a deployed URL). Ask for the base URL if it's unclear.

Workflow

1. **Get the diff.** Working tree: `git diff` + `git diff --staged`. Branch/PR: `git diff <base>...HEAD` and `git diff --name-status <base>...HEAD`. Prose change: reason from the description. 2. **Infer affected workflows.** Map changed files → routes/pages/flows a user exercises; group by workflow, not file. Trace components up to their routes with Glob/Grep. Use the canary-verify `references/REFERENCE.md` heuristics. Flag non-UI changes as no browser QA. 3. **Suggest the plan.** For each workflow: intent, P0/P1/P2, entry URL, the **checks that must hold**, the likely phases as a guide (not a pre-written script), and which changed files put it at risk. Use the canary-verify plan template. 4. **Confirm.** Present the plan and ask which flows to record. Stop here if the user only wanted the plan. 5. **Record approved flows** with canary-session's explore-and-record loop — one session per flow: `id=$(npx @usecanary/cli session start --name "<flow>")`, then observe the live page (`--step observe-<what>` logging url/title/`snapshotForAI().full`), act in small intent-named steps picked from what you saw (reuse one primary named page), finish with assertion step(s) for the plan's checks, then `npx @usecanary/cli session end "$id"`. 6. **Report** each `~/.canary/sessions/<id>/report.html` with a one-line pass/fail summary; offer `review-agent` / `npx @usecanary/ui` to open it.

Hard rules

  • Plan first; record only what the user approves. Never auto-run every flow.
  • Read-only on the repo — inspect the diff and source, never stage/commit/modify it. `Write` is for the

`.js` step scripts only.

  • Use only the canary-scripting API for step scripts; don't invent methods. One primary named page per

step. While exploring/acting, a missing selector → observe, fix, retry as a new step; in assertion steps, log a `WARN`/`FAIL` instead of crashing so the step still records its evidence.

  • Never skip `session end` — without it there's no report. And never `canary stop` mid-session — it

aborts the run and writes no report.

  • No diff, or an all-non-UI change → say so and stop; don't fabricate flows.
Read more
@0xnyn
Ships withcanary

QA harness built for Claude Code | E2E testing with screen recordings, console logs, network HARs, and Playwright traces

4945 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
494
Star history of 0xnyn/canary on GitHub, a chart by star-history.com

Other agents on canary.

automate-agent

automate-agent

Agent

Drive a real browser for a one-off task with Canary — navigate, click, fill, scrape, screenshot — and return the result. Use when…

@0xnyn@0xnynInstall Agent
review-agent

review-agent

Agent

Open and triage recorded Canary sessions. Use when the user wants to view, replay, or triage a session, asks what happened or…

@0xnyn@0xnynInstall Agent
session-agent

session-agent

Agent

Record a verifiable Canary QA session — explore a flow step by step against one persistent browser, each script a recorded step…

@0xnyn@0xnynInstall Agent

More agents from other plugins.

bkend-expert

bkend-expert

Agent

bkend.ai BaaS platform expert agent. Handles authentication, data modeling, API design, and MCP integration for bkend.ai…

bkit12d606
@popup-studio-ai@popup-studio-aiInstall Agent

Questions about verify-agent.

Which coding agents can use verify-agent?
verify-agent installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.