qa-web

qa-web is a skill for Claude Code from ruizrica/agent-pi. It costs 94 tokens per session (1,517 once invoked), scanned A, original, MIT.

A browser-based quality-checking skill for websites and React Native apps running on the web. It uses browser automation to test forms, navigation, screen sizes, saved browser state, and visual changes.

In plain words
What is it for?
Use it to test localhost or other web apps, including sign-in flows, forms, links, responsive layouts, cookies, local storage, and visual regressions.
Why use it?
It provides a repeatable way to check whether a web app behaves correctly after clicks, typing, navigation, and layout changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to test localhost or other web apps, including sign-in flows, forms, links, responsive layouts, cookies, local storage, and visual regressions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruizrica/agent-pi/qa-web
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.

Any agent
npx skills add ruizrica/agent-pi --skill qa-web
Clone the repo
git clone --depth 1 https://github.com/ruizrica/agent-pi

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruizrica/agent-pi/qa-web.svg)](https://agentmods.dev/skills/ruizrica/agent-pi/qa-web)
Your own site
<a href="https://agentmods.dev/skills/ruizrica/agent-pi/qa-web"><img src="https://agentmods.dev/badge/skills/ruizrica/agent-pi/qa-web.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,517 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Memory Poisoning · line 88
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
  • medium Rogue Agent · line 101
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00094 $0.01517
Opus 5 $0.00047 $0.00758
Sonnet 5 $0.00019 $0.00303
Haiku 4.5 $0.00009 $0.00152

Measured 9d ago against content hash 9e15368dd198, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

qa-web 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 9d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (flows/example-web-test.sh, lib/web-helpers.sh, run.sh), 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.

allowed-tools: Bash(agent-browser:*) Bash(node:*) Bash(curl:*) Read
skills/qa-automation/qa-web/SKILL.md · 218 lines

How it starts

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

qa-web

Web application QA testing using agent-browser. The web counterpart to agent-device — together they provide full coverage for apps with both native and web versions.

When to Use

Scenario Tool
Test native iOS/Android app agent-device + CDP
Test web app / localhost agent-browser (this skill)
Test React Native Web agent-browser (this skill)
Test responsive layouts agent-browser (this skill)
Test forms and navigation agent-browser (this skill)

Core Workflow

Every web test follows the same pattern as native tests:

  1. Navigate: agent-browser open <url>
  2. Snapshot: agent-browser snapshot -i (get element refs)
  3. Interact: Use refs to click, fill, select
  4. Re-snapshot: After navigation/DOM changes, get fresh refs
  5. Assert: Verify URL, text, element state
agent-browser open http://localhost:3000/login
agent-browser snapshot -i
# Output: @e1 [input type="email"], @e2 [input type="password"], @e3 [button] "Sign In"

agent-browser fill @e1 "[email protected]"
agent-browser fill @e2 "password123"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i  # Check result

Configuration

Set web-specific values in qa.config.sh:

export WEB_BASE_URL="http://localhost:3000"   # Your web app URL
export WEB_SESSION="qa"                        # Browser session name
export WEB_VIEWPORT_WIDTH=1280                 # Default viewport
export WEB_VIEWPORT_HEIGHT=720

Usage

Run example web test

bash .pi/skills/qa-automation/qa-web/run.sh

Run with headed browser (see what's happening)

export WEB_HEADED=true
bash .pi/skills/qa-automation/qa-web/flows/example-web-test.sh

Helper Library — web-helpers.sh

Source this in your web test scripts for consistent patterns:

source .pi/skills/qa-automation/qa-web/lib/web-helpers.sh

Available Functions

Function Purpose
web_open "url" Navigate to URL
web_snapshot Get interactive element refs
web_click "ref_or_selector" Click element
web_fill "ref" "text" Fill input field
web_select "ref" "value" Select dropdown option
web_wait "selector_or_ms" Wait for element/time
web_screenshot "name" Screenshot with naming convention
web_get_text "ref" Get element text
web_get_url Get current URL
web_get_title Get page title
web_is_visible "ref" Check element visibility
web_assert_url "pattern" Assert URL matches pattern
web_assert_title "text" Assert page title
web_assert_text "text" Assert text visible on page
web_scroll "direction" [px] Scroll page
web_save_state "file" Save cookies/storage
web_load_state "file" Restore saved state

Read the full file on GitHub · 218 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. 9d ago First seen · 218 lines · 94 tokens per session scan A 9e15368dd198

Subscribe to this mod's changes

qa-web is a skill published in the GitHub repository ruizrica/agent-pi (266 stars, last pushed 1mo ago), licensed MIT. It adds 94 tokens to every session and 1,517 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

browse

Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack).

garrytan/gstack · 32 tokens

playwright-cli

A command-line tool for controlling Chromium, Firefox, and WebKit browsers, including navigation, page interaction, screenshots, PDFs, and recorded actions.

UnicomAI/wanwu · 76 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

anthropics/skills · 35 tokens

create-verification-skill

Create a repo-local verification skill and exhaustive feature map for driving a real app through its UI, CLI, or API. Use for "create a verification skill", "make a verify skill for this repo", or "document how agents can verify this app".

get-bb/bb · 57 tokens

browser-qa

A browser-based quality check for deployed web pages and user flows. It uses browser automation to test rendering, navigation, forms, interactions, responsive behaviour, and accessibility-related issues.

hashgraph-online/awesome-codex-plugins · 58 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens