browser-qa

browser-qa is a skill for Claude Code, Codex from nearform/lastlight. It costs 69 tokens per session (2,336 once invoked), scanned A, original, MIT.

A browser-based quality check that drives a locally served web interface in headless Chromium and records test results, page text, console errors, and screenshots.

In plain words
What is it for?
Use it to test web app interactions and capture visual evidence during a Docker-based quality-assurance run.
Why use it?
It checks behavior that only appears after a page is rendered and provides step-by-step evidence when a web interface passes, fails, or cannot be tested.

Skill for Claude CodeCodex

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 skills/nearform/lastlight/browser-qa
Any agent
npx skills add nearform/lastlight --skill browser-qa
Clone the repo
git clone --depth 1 https://github.com/nearform/lastlight

Made for: Claude Code, Codex.

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 browser-qa

README.md
[![agentmods](https://agentmods.dev/badge/skills/nearform/lastlight/browser-qa.svg)](https://agentmods.dev/skills/nearform/lastlight/browser-qa)
Your own site
<a href="https://agentmods.dev/skills/nearform/lastlight/browser-qa"><img src="https://agentmods.dev/badge/skills/nearform/lastlight/browser-qa.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,336 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00069 $0.02336
Opus 5 $0.00034 $0.01168
Sonnet 5 $0.00014 $0.00467
Haiku 4.5 $0.00007 $0.00234

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

Security

Grade A, and why

browser-qa scanned grade A with 1 finding 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent-browser.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

evidence matters. For a CLI or a curl-able API, use `qa-test`/`verify`
apps/server/skills/browser-qa/SKILL.md · 209 lines

How it starts

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

Browser QA

Drive a web UI with a real headless Chromium and report step-level pass/fail with evidence: extracted DOM text, assertion results, console errors, and screenshot files. The deliverable is a QA report — partial coverage with documented failures is the expected output.

This skill is the browser/screenshot path that verify and qa-test scope out to "a separate docker-gated capability". It only works on the lastlight-sandbox-qa:latest docker image, which bakes in Playwright + Chromium. You have bash + file tools but no vision — you reason over the driver's JSON stdout (extracted text, assertion results, console errors). The PNG screenshots are human evidence only; you never see them.

This skill uses the building skill for installing dependencies and starting the repo's dev-server.

When this applies

A phase running on the docker QA image whose target is a web app the repo serves on localhost and where rendered-UI behaviour or visual evidence matters. For a CLI or a curl-able API, use qa-test/verify instead — don't launch a browser you don't need.

FIRST — probe for a browser

The driver lives in this skill's bundle at <skill-dir>/scripts/agent-browser.mjs. Resolve <skill-dir> from the available-skills catalogue (it gives the absolute staged path of this skill); do not assume a relative path from $PWD — the agent's cwd is the checked-out repo, the bundle is a sibling.

Run the runtime probe before anything else:

node <skill-dir>/scripts/agent-browser.mjs doctor
  • Exit 0 with {"ok":true,"chromium":"..."} → Chromium is available; proceed.
  • Exit non-zero (e.g. playwright not available …, or no Chromium — the lean default image, or a gondolin run) → DO NOT attempt browser QA. Fall back to the text path (verify/qa-test style: curl the dev-server, capture stdout) and say in your report that the browser path was unavailable and you used the text path.

Start the app

Follow the building skill to install dependencies, then start the repo's dev-server in the background and wait until it is listening on localhost:PORT (poll with curl until it answers). Note the port — you pass it as --base-url.

Read the full file on GitHub · 209 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 209 lines · 69 tokens per session scan A 8a566b9c0666

Subscribe to this mod's changes

browser-qa is a skill published in the GitHub repository nearform/lastlight (22 stars, last pushed 7d ago), licensed MIT. It adds 69 tokens to every session and 2,336 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.