Agent skill

Quality Engineering Playwright CLI

by HoangNguyen0403 in HoangNguyen0403/agent-skills-standard

Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver.

MITAuto-check passedTesting & QA

Install Quality Engineering Playwright CLI

skills CLI
$ npx skills add HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HoangNguyen0403/agent-skills-standard quality-engineering-playwright-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/quality-engineering/quality-engineering-playwright-cli .claude/skills/quality-engineering-playwright-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
quality-engineering-playwright-cli
GitHub stars
572
Token cost
~1.2k tokens
SKILL.md length
434 words
Files
6 (incl. scripts, references)
Skills in repo
211
Repo updated
First seen
Licence
MIT

At a glance

Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver.

  • Works in 5 steps: sh scripts/preflight.sh — exit 0 found,… → playwright-cli -s={ID} — default when… → Playwright MCP (browser_navigate →… → …
  • Web verification
  • SKILL.md covers Priority: P1 (HIGH), 🔌 Activation, 🪜 Driver Ladder and 🛠 Core Workflow, plus 7 more sections
  • Runs Shell scripts from its folder; calls playwright and sh

What it does

Quality Engineering Playwright CLI is an agent skill from HoangNguyen0403/agent-skills-standard. Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver. Runs a preflight, picks the driver rung, captures aria snapshots/console/screenshots into a named evidence dir. Use for web verification, navigation, and capturing snapshots/logs.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `evals/evals.json`, `references/anti-patterns-rationale.md` and `references/driver-ladder.md`).

It sits in Testing & QA, covering Browser testing, Browser automation and Accessibility. It works with Playwright and Model Context Protocol. The repository describes itself as: A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages. The licence is MIT.

When your agent uses it

  • Web verification
  • Capturing snapshots/logs

Example prompts

  • “Use the quality-engineering-playwright-cli skill to standardiz token-efficient browser automation via playwright-cli, with Playwright MCP as the…”
  • “/quality-engineering-playwright-cli”

Requirements

  • A Bash shell

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. sh scripts/preflight.sh — exit 0 found, 2 missing, 1 broken. PLAYWRIGHT_CLI_BIN overrides lookup.
  2. playwright-cli -s={ID} — default when preflight passes and a shell exists.
  3. Playwright MCP (browser_navigate → browser_snapshot → browser_console_messages → browser_take_screenshot → browser_close), launched…
  4. Neither: ask for exported screenshots + console log; label human-provided.
  5. Nothing exported: return BLOCKED (driver: playwright), continue other lanes.

What it can do on your machine

Read from SKILL.md and the folder at commit b529c2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • playwright
    • sh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Quality Engineering Playwright CLI loads about 1.2k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 434 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from HoangNguyen0403/agent-skills-standard at commit b529c2d, republished under its MIT licence (© HoangNguyen0403). 434 words, ~1,169 tokens.

Download SKILL.mdSave it as .claude/skills/quality-engineering-playwright-cli/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
quality-engineering-playwright-cli
description
Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver. Runs a preflight, picks the driver rung, captures aria snapshots/console/screenshots into a named evidence dir. Use for web verification, navigation, and capturing snapshots/logs.

🎭 Playwright CLI (Web Automation)

Priority: P1 (HIGH)

[!IMPORTANT] Tier 0 (Infrastructure): Browser process management, named sessions, network/console logs. Tier 1 (Core Interactions): Clicks, fills, and navigation (open vs goto). Tier 2 (Verification): Snapshot-based assertions and auth state persistence.

🔌 Activation

Triggers: playwright-cli, playwright mcp, browser_snapshot, browser automation, web verify, snapshot, auth-state.json.

🪜 Driver Ladder

  1. sh scripts/preflight.sh — exit 0 found, 2 missing, 1 broken. PLAYWRIGHT_CLI_BIN overrides lookup.
  2. playwright-cli -s={ID} — default when preflight passes and a shell exists.
  3. Playwright MCP (browser_navigate → browser_snapshot → browser_console_messages → browser_take_screenshot → browser_close), launched --isolated --headless --output-dir .playwright-cli/{ID}. Use when CLI missing or runtime has no shell (Antigravity, Copilot). --extension opt-in only: not a security boundary.
  4. Neither: ask for exported screenshots + console log; label human-provided.
  5. Nothing exported: return BLOCKED (driver: playwright), continue other lanes.

One driver per session. Full table: driver-ladder.

🛠 Core Workflow

StepCommandPurpose
1playwright-cli -s={ID} open <url>Start named session. (Mandatory -s=).
2playwright-cli -s={ID} snapshot --ariaAria Snapshot: YAML-like view for LLM reasoning (Best for assertions).
3playwright-cli -s={ID} consoleCheck for JS errors/warnings.
4playwright-cli -s={ID} screenshotVisual evidence. Use --mask <ref> for dynamic content.
5playwright-cli -s={ID} closeMANDATORY Cleanup.

For a sticky header that appears after scrolling, scroll until the header is visible, use hover on the header (or its stable role/reference) to establish the visible state, then capture the screenshot. Keep the named session open until the evidence is captured.

📁 Evidence

.playwright-cli/{ID}/ (MCP: same dir via --output-dir). Files: <AC|step>-<before|after>.png, <AC|step>-<before|after>.aria.txt, console.txt; trace.zip only on a FAIL needing replay. Walkthrough records driver: + evidence_dir:. Relative paths only; CLI refuses writes outside cwd.

Show full SKILL.md (172 more words)Show less

💡 Agent-Native Optimization

  • Aria-First: Use snapshot --aria as primary way to "see" page. Filters noise.
  • Robust Locators: Prefer Role-based references (e.g. button[name="Submit"]) over fragile CSS classes.
  • Visual Stability: evaluated document.body.style.animation = 'none' to freeze animations before capture.

🚫 Anti-Patterns (Zero-Tolerance)

  • Unnamed Sessions: Never omit -s=. Bare commands collide across concurrent runs.
  • Double Open: Use open for first run; goto for mid-session navigation.
  • Unmasked Snapshots: Mask clocks/random IDs before comparison to avoid false positives.
  • Orphaned Processes: Always close session, even on failure.

✅ Evaluation Criteria

  • Cleanup Rate: 100% session closure.
  • Assertion Quality: 90% of assertions use snapshot rather than pixels.
  • Auth Persistence: Successful re-use of state-load for multi-step flows.

🔗 References

  • Web Visual Testing: common-web-visual-testing — Methodology for what to verify.
  • Driver Ladder: driver-ladder — CLI ↔ MCP equivalence, launch flags, degradation rules.
  • Setup: setup — install, MCP registration snippet, security, alternatives not adopted.
  • Anti-Patterns Rationale: anti-patterns-rationale — Why these rules exist.

Canonical response anchors

When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:

  • 🎭 Playwright CLI (Web Automation)

Remediation anchors

  • Remediation anchors: hover, screenshot

© HoangNguyen0403, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in skills/quality-engineering/quality-engineering-playwright-cli of HoangNguyen0403/agent-skills-standard.

  • SKILL.md
  • evals/evals.json
  • references/anti-patterns-rationale.md
  • references/driver-ladder.md
  • references/setup.md
  • scripts/preflight.sh

Open the folder on GitHubat commit b529c2d

Compare with similar skills

Quality Engineering Playwright CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Quality Engineering Playwright CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Quality Engineering Playwright CLI this skillHoangNguyen0403/agent-skills-standard572—~1.2kAutomated safety check: PassMIT
Playwright Testingchongdashu/vibejam-starter-pack149—~2.2kAutomated safety check: PassNone
Agentic Browser Testingpetrkindlmann/qa-skills170—~4.5kAutomated safety check: PassMIT
Playwright MCP Browser ControlHainrixz/editor-pro-max264—~2kAutomated safety check: PassCustom licence
Playwright E2E Testingactivepieces/activepieces25k—~6.8kAutomated safety check: PassCustom licence
Anti Detect Browserantibrow/anti-detect-browser-skills17—~9.8kAutomated safety check: WarnMIT

Similar skills

  • Playwright Testing

    chongdashu/vibejam-starter-pack

    Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.

    149 GitHub stars~2.2k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Agentic Browser Testing

    petrkindlmann/qa-skills

    Goal-driven E2E testing where a browser agent (Playwright MCP / computer-use) reads a natural-language goal and explores the app via the accessibility tree to assert outcomes — no pre-written script.

    170 GitHub stars~4.5k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Playwright MCP Browser Control

    Hainrixz/editor-pro-max

    Drives a live browser through the Playwright MCP server to navigate, inspect, fill forms and screenshot pages, with snapshot-first habits and output-size care.

    264 GitHub stars~2k tokensUpdated 6 mo ago
    Testing & QAAuto-check passed
  • Playwright E2E Testing

    activepieces/activepieces

    Playwright modern end-to-end testing framework with cross-browser automation, auto-wait, and built-in test runner

    25k GitHub stars~6.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Anti Detect Browser

    antibrow/anti-detect-browser-skills

    Drive Chromium from standard Playwright APIs with a real-device fingerprint applied in the kernel, one persistent isolated profile per identity, and a per-profile proxy whose exit IP sets timezone…

    17 GitHub stars~9.8k tokensUpdated 1 mo ago
    Testing & QAAuto-check: warnings
  • Playwright MCP

    CraftOS-dev/CraftBot

    Browser automation via Playwright MCP server. An agent skill from CraftOS-dev/CraftBot.

    392 GitHub starsUsed in 1 repo~1k tokens
    Testing & QAAuto-check passed

More from HoangNguyen0403/agent-skills-standard

All 211 skills in this repo
  • Subagent-Driven Development

    HoangNguyen0403/agent-skills-standard

    Runs a multi-task implementation plan by sending each task to a fresh implementer subagent, reviewing it independently, then reviewing the whole branch.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • draw.io Architecture Diagramming

    HoangNguyen0403/agent-skills-standard

    Draws architecture diagrams as editable draw.io files from a JSON spec, with a fixed house style, one C4 level per diagram and evidence-tagged shapes.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Android Navigation 3 Guide

    HoangNguyen0403/agent-skills-standard

    Implements and migrates to Jetpack Navigation 3 in Compose: NavDisplay, typed route objects, a state-list back stack, deep links, multiple back stacks and dialog scenes.

    572 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed
  • Angular HttpClient Standards

    HoangNguyen0403/agent-skills-standard

    Sets rules for Angular HTTP code: functional interceptors, typed requests, services that own every call, and httpResource for reactive data loading in Angular 17+.

    572 GitHub stars~652 tokensUpdated yesterday
    Auto-check passed
  • Angular Tooling

    HoangNguyen0403/agent-skills-standard

    Angular CLI usage, code generation, build configuration, and bundle optimization.

    572 GitHub stars~743 tokensUpdated yesterday
    Auto-check passed
  • Common Code Review

    HoangNguyen0403/agent-skills-standard

    Conduct high-quality, persona-driven code reviews. An agent skill from HoangNguyen0403/agent-skills-standard.

    572 GitHub stars~772 tokensUpdated yesterday
    Auto-check passed

Questions about Quality Engineering Playwright CLI

What does Quality Engineering Playwright CLI do?

Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver. Quality Engineering Playwright CLI is an agent skill from HoangNguyen0403/agent-skills-standard. Standardizes token-efficient browser automation via playwright-cli, with Playwright MCP as the fallback driver.

When should I use Quality Engineering Playwright CLI?

Quality Engineering Playwright CLI fits situations like: web verification; capturing snapshots/logs.

How do I install Quality Engineering Playwright CLI in Claude Code?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-cli -a claude-code`. Or copy the skill folder (skills/quality-engineering/quality-engineering-playwright-cli in HoangNguyen0403/agent-skills-standard) into .claude/skills/quality-engineering-playwright-cli in your project. Claude Code loads it when a task matches its description.

How do I install Quality Engineering Playwright CLI in Codex?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-cli -a codex`. Or copy the skill folder (skills/quality-engineering/quality-engineering-playwright-cli in HoangNguyen0403/agent-skills-standard) into .agents/skills/quality-engineering-playwright-cli in your project. Codex loads it when a task matches its description.

Can I use Quality Engineering Playwright CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HoangNguyen0403/agent-skills-standard --skill quality-engineering-playwright-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quality-engineering-playwright-cli, .gemini/skills/quality-engineering-playwright-cli, .github/skills/quality-engineering-playwright-cli and .opencode/skills/quality-engineering-playwright-cli in your project.

What does Quality Engineering Playwright CLI need to run?

Going by SKILL.md and its folder, Quality Engineering Playwright CLI needs a shell for the scripts in its folder and the command-line tools its instructions call (playwright and sh). Our summary lists: A Bash shell.

Does Quality Engineering Playwright CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Quality Engineering Playwright CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Quality Engineering Playwright CLI use?

Quality Engineering Playwright CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Quality Engineering Playwright CLI use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.1k tokens, read only when the agent opens those files.

What are the alternatives to Quality Engineering Playwright CLI?

Skills that share tags, products or a category with Quality Engineering Playwright CLI: Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars), Agentic Browser Testing (petrkindlmann/qa-skills, 170 stars), Playwright MCP Browser Control (Hainrixz/editor-pro-max, 264 stars) and Playwright E2E Testing (activepieces/activepieces, 25k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Quality Engineering Playwright CLI?

HoangNguyen0403 (a GitHub user) maintains it in HoangNguyen0403/agent-skills-standard, which has 572 GitHub stars. The repository holds 211 skills in this directory. The repository was last updated on October 9, 2026.

Source: HoangNguyen0403/agent-skills-standard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.