ui-test

ui-test is a skill for Claude Code from mostafa-drz/claude-skills. It costs 190 tokens per session (6,584 once invoked), scanned A, original, MIT.

A browser-based testing tool that follows plain-English instructions in real Chrome, such as opening pages, filling forms, and checking results.

In plain words
What is it for?
Testing end-to-end flows, taking screenshots, comparing them with earlier versions, checking accessibility, measuring web performance, and debugging interactively.
Why use it?
It helps find broken user journeys, visual changes, accessibility problems, and performance issues through the same browser people use.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /ui-test --file <path> Run a single ./tests/ui/*.md file.

Good fit Testing end-to-end flows, taking screenshots, comparing them with earlier versions, checking accessibility, measuring web performance, and debugging interactively.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/mostafa-drz/claude-skills
agentmods
npx agentmods add skills/mostafa-drz/claude-skills/ui-test

Made for: Claude Code.

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 ui-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/ui-test/github.svg)](https://agentmods.dev/skills/mostafa-drz/claude-skills/ui-test)
Your own site
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/ui-test"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/ui-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/mostafa-drz/claude-skills/ui-test"><img src="https://agentmods.dev/badge/skills/mostafa-drz/claude-skills/ui-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00190 $0.06584
Opus 5.5 $0.00076 $0.02634
Sonnet 5.5 $0.00038 $0.01317
Haiku 4.5 $0.00019 $0.00658

Measured 1mo ago against content hash c6459c3ac9f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-test 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 1mo ago.

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.

- Bash(curl *)
code/ui-test/SKILL.md · 501 lines

How it starts

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

Preferences

On startup, use Read to load ~/.claude/skills/ui-test/preferences.md. If missing, treat as first-run (see First-time detection).

Defaults when no preferences exist:

  • output-root: ./test-results/ui-test/ (cwd-relative when in a project; falls back to ~/.claude/skills/ui-test/runs/ outside a project)
  • viewport: 1440x900 (single) — accepts a comma list for matrix runs (e.g. 375x812,1440x900)
  • categories: e2e,visual,a11y,perf (debug is a separate mode, not a category)
  • screenshot-strategy: per-step (per-step / on-fail / never)
  • a11y-severity-floor: serious (minor / moderate / serious / critical — anything at-or-above is a failure)
  • perf-budget: lcp<=2500,cls<=0.1,inp<=200,js-heap<=50mb — overridable per-run via --perf-budget
  • verbosity: verbose-on-failure (concise / detailed / verbose-on-failure)
  • spec-priority: inline-first (inline-first / project-first / both)
  • auto-baseline: true (record on first run, diff thereafter)
  • auto-open-report: true
  • confirm-plan: always (always / only-multi-step / never)

Also load ~/.claude/skills/ui-test/feedback-journal.md if present — surface the one-line Signal: from the latest 5 sessions to bias defaults (false-positive categories get pre-deselected, baselines flagged-as-flaky get re-recorded, etc.).

Context

On startup, use Bash to detect: today's date (date +%Y-%m-%d-%H%M), the current working directory (pwd), whether ./tests/ui/ exists, whether the user is inside a git repo (git rev-parse --is-inside-work-tree — silently fail if not), and whether the configured output-root exists. Do NOT call any browser tool yet — preflight runs in Step 1.

Command routing

Check $ARGUMENTS:

  • help → display help, stop
  • config → run config flow, stop
  • reset → delete preferences.md + feedback-journal.md + sessions/ + resume-state.md, confirm, stop
  • feedback → collect ratings on the most recent run (see Feedback section), stop
  • history → list recent run folders with title, verdict, timestamp, stop
  • setup → walk through Claude-in-Chrome extension setup (see Setup section), stop
  • record <name> → take the most recent inline run and persist it as ./tests/ui/<name>.md, stop
  • --debug <url|description> → enter interactive debug mode (see Debug section), stop
  • --file <path> → load a single project test file and run it
  • --suite <glob> → resolve the glob under ./tests/ui/, run each match in order
  • anything else → treat $ARGUMENTS as an inline description, run it (Step 1 onward)

Read the full file on GitHub · 501 lines

Files

What ships with it

3 files 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. 1mo ago Changed · +3 lines c6459c3ac9f5
  2. 1mo ago First seen · 498 lines · 190 tokens per session scan A 06f3f126159d

Subscribe to this mod's changes

ui-test is a skill published in the GitHub repository mostafa-drz/claude-skills (4 stars, last pushed yesterday), licensed MIT. It adds 190 tokens to every session and 6,584 once invoked, about $0.0008 per session on Opus 5.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-31.

Related

Other skills, from other repositories

chrome-ext-testing

This skill should be used when writing or setting up tests for a Chrome extension. Trigger when: "test chrome extension", "extension unit test", "extension e2e test", "Vitest extension", "Playwright extension", "@webext-core/fake-browser", "test content script", "test service worker", "test messaging", "test storage"…

RadOrigin-LLC/RAD-Claude-Skills · 101 tokens

shipkit-qa-visual

Visual QA using Playwright as a browser automation library. --setup installs Playwright and creates ui-goals.json; default mode writes inline scripts to navigate, screenshot, and report against goals.

stefan-stepzero/shipkit · 45 tokens

browser-test-loop

Use to actually verify a web change in a real browser instead of assuming it works — click through a flow, catch console errors, check a form submits, confirm a fix on the page. Trigger when a UI change needs proof, a bug only reproduces in the browser, or the user asks to test, check, or screenshot the running app.

OneWave-AI/claude-skills · 74 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

browser-qa-delivery

Validate a Design Studio HTML artifact in the sandbox browser, fix rendering and runtime defects, then deliver exactly the tested file.

juspay/xyne-spaces · 30 tokens

qa

Exercise the delivered customer journey using real runtime or browser evidence. Use for functional acceptance testing after implementation, including failure paths.

suboss87/FDEOps · 26 tokens