/agent-tooling:browser-verifyfrom agent-tooling
Find out whether a page actually works, by driving a real headless browser. Use whenever someone reports UI behaviour and wants it confirmed or disproved — "the arguments tab is blank on staging", "is this fix live", "did that break anything", "test the UI locally", "confirm this bug still reproduces" — or hands you specific things to try in the running app. Use it INSTEAD of reading the code and reasoning about it: inspecting the source is the obvious move and it cannot tell you what the browser did, because the failures that reach a user are the ones the code looks fine for — a silent JS error, a route that renders unstyled, a cached bundle. This reproduces or verifies in headless Chromium and checks the adjacent paths a fix most plausibly broke. Lighter than a full PR gate; pairs with pr-check's local-verification step.
Ships in agent-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Claude Code adapter over the agent-neutral browser-verify playbook. The method lives in the playbook; this file is the Claude-specific wiring.
Read the playbook: ${AGENT_TOOLING_ROOT}/playbooks/browser-verify.md. Follow its steps 1–4 and verdict labels.
Accept, in priority order:
Combine the user's items + the auto-derived claim + 1–3 risky neighbors into an explicit CHECK list. Use the project config (.claude/pr-check.json, same file pr-check uses) for the scope→risky-path mapping. Print the plan and let the user adjust before launching the browser.
Read the config's browser block: { base_url, serve, playwright }. Bring the stack up via serve (for wiki-polis that's the local-e2e skill — reuse it for the stack lifecycle). Note the real base URL it reports.
Ensure Playwright is present (once):
python3 -c "import playwright" 2>/dev/null || pip install playwright
python3 -c "import playwright" && playwright install chromium
Copy references/playwright-template.py to a scratch probe.py, set BASE_URL, and fill one check(...) per plan item (login/navigate in SETUP). Keep the console/pageerror/requestfailed listeners — console errors are failures. Wait on locators, never networkidle. Run headless:
python3 probe.py # exit 0 = all checks pass + no console/page errors
Allowlist Bash(python3 *probe.py*) and Bash(playwright install*) to keep it prompt-free.
For a pure screenshot (a screen or a bug, no assertions), skip the probe and call the shared helper: python3 "${AGENT_TOOLING_ROOT}/scripts/capture.py" --url <route> --out shot.png [--login dev-user-1] [--clip SELECTOR] [--viewport 390x844] [--dark]. Same shot logic as this template, factored out so other skills share it; saves the PNG + a sidecar with console errors / final URL / sha256.
Report each check as CONFIRMED / FIXED-AND-CLEAN / REGRESSION / COULD-NOT-RUN, with evidence (assertion text, console dump, probe.png). State explicitly whether the risky-path / user-supplied checks passed — that's the "no side damage" finding. One-line overall verdict. Trust the browser over the code.
The probe already screenshots each screen it drives. If the user wants those on the PR (only when asked — never automatically), label the relevant ones and use the bundled poster. It pushes images to a pr-screenshots assets branch (PR branch stays clean) and embeds their raw URLs in a comment; public repos only.
python3 "${AGENT_TOOLING_ROOT}/scripts/post_pr_screenshots.py" --pr <N> \
--intro "browser-verify on <what>" \
--image "Arguments tab=probe-args.png" --image "Vote flow=probe-vote.png"
It dry-runs by default (prints the comment, touches nothing). Show that to the user; add --confirm to actually push + comment only after they approve — this both pushes to the remote and posts a public comment.
Memory note: headless keeps this light, but it still launches Chromium — if OS memory pressure is critical, free memory or /compact first (the memory_guard hook only gates fan-outs, not this).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lgelauff/wikimedia-coding-agent-lessons --plugin agent-tooling15 skills in this plugin
/arxiv-submissionPrepare a LaTeX paper for arXiv and prove it is ready. Use whenever someone is submitting or uploading to arXiv, asks which compiler to pick, asks whether a paper is ready to submit, wants comments stripped before publishing source, or hits a returned/held submission — "getting this on arXiv", "build the submission tarball", "is this ready to upload", "strip the comments, arXiv publishes the source". Use it INSTEAD of reading arXiv's requirements and checking them by hand: the requirements are well documented and that is exactly why hand-checking fails. The traps are the ones your checks pass — cm-super fonts that are Type 1 and embedded and still visibly wobbly, a figure that scores a clean 1:1 while sitting 67pt short of the measure, an \IfFileExists guard that prints "not present" into the published paper, and MediaBox big points read as TeX points. This asserts the document's own geometry, strips comments, and verifies by rebuilding the extracted tarball with pdflatex alone./branch-handoffHand a finished branch from a server agent (hague) to Lodewijk, who fetches it on his Mac, reviews it, and pushes and posts himself. Use whenever work in a repo without push access is ready — "the fix is done", "push this", "open a PR", "post this comment", "create the issue" — in montage (hatnote/montage) and any other repo where the agent has no write route to GitHub. Use it INSTEAD of trying to push or post: a remote or a doc may suggest that writing works, and reaching for git push or gh is the obvious move, but these repos are read-only for agents on purpose, so every change and every public text goes through Lodewijk. This produces the exact fetch/review/push commands for his Mac and marks all issue, PR and comment text as drafts for him to post.