playwright-skill

playwright-skill is a skill for Claude Code, Codex from appautomaton/webmaton. It costs 83 tokens per session (3,476 once invoked), scanned A, a copy of playwright-skill, MIT.

A browser-testing tool for opening websites, interacting with pages, and checking how they behave. It uses Playwright, a program for controlling web browsers with code.

In plain words
What is it for?
Use it to fill forms, test login flows, take screenshots, check pages on different screen sizes, validate user experiences, and automate browser tasks.
Why use it?
It removes the need to test every page and user flow manually. It can also reveal broken links, login problems, layout issues, and responsive-design errors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to fill forms, test login flows, take screenshots, check pages on different screen sizes, validate user experiences, and automate browser tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appautomaton/webmaton/playwright-skill
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 appautomaton/webmaton --skill playwright-skill
Clone the repo
git clone --depth 1 https://github.com/appautomaton/webmaton

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 playwright-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/appautomaton/webmaton/playwright-skill/github.svg)](https://agentmods.dev/skills/appautomaton/webmaton/playwright-skill)
Your own site
<a href="https://agentmods.dev/skills/appautomaton/webmaton/playwright-skill"><img src="https://agentmods.dev/badge/skills/appautomaton/webmaton/playwright-skill/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 playwright-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/appautomaton/webmaton/playwright-skill"><img src="https://agentmods.dev/badge/skills/appautomaton/webmaton/playwright-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 78% copy Near-identical to another mod 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.00083 $0.03476
Opus 5.5 $0.00033 $0.01390
Sonnet 5.5 $0.00017 $0.00695
Haiku 4.5 $0.00008 $0.00348

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

Security

Grade A, and why

playwright-skill scanned grade A with 0 findings 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.

The scan reads SKILL.md. This mod also ships 2 executable files (lib/helpers.js, run.js), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

78% identical to playwright-skill — 105 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/playwright-skill/SKILL.md · 454 lines

How it starts

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

IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in all commands below. Replace $SKILL_DIR with the actual discovered path.

Common installation paths:

  • Plugin system: ~/.claude/plugins/marketplaces/playwright-skill/skills/playwright-skill
  • Manual global: ~/.claude/skills/playwright-skill
  • Project-specific: <project>/.claude/skills/playwright-skill

Playwright Browser Automation

General-purpose browser automation skill. I'll write custom Playwright code for any automation task you request and execute it via the universal executor.

CRITICAL WORKFLOW - Follow these steps in order:

  1. Auto-detect dev servers - For localhost testing, ALWAYS run server detection FIRST:

    cd $SKILL_DIR && node run.js "const helpers = require('./lib/helpers'); const servers = await helpers.detectDevServers(); console.log(JSON.stringify(servers));"
    
    • If 1 server found: Use it automatically, inform user
    • If multiple servers found: Ask user which one to test
    • If no servers found: Ask for URL or offer to help start dev server
  2. Write scripts to temp - NEVER write test files to skill directory; always use ${TMPDIR:-/tmp}/playwright-test-*.js

  3. Use headless by default - Always use headless: true unless user specifically requests visible mode

  4. Parameterize URLs - Always make URLs configurable via environment variable or constant at top of script

How It Works

  1. You describe what you want to test/automate
  2. I auto-detect running dev servers (or ask for URL if testing external site)
  3. I write custom Playwright code in ${TMPDIR:-/tmp}/playwright-test-*.js (won't clutter your project)
  4. I execute it via: cd $SKILL_DIR && node run.js ${TMPDIR:-/tmp}/playwright-test-*.js
  5. Results displayed in real-time, browser window visible for debugging
  6. Test files auto-cleaned from temp dir by your OS

Read the full file on GitHub · 454 lines

Files

What ships with it

7 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 First seen · 454 lines · 83 tokens per session scan A bdd797998b00

Subscribe to this mod's changes

playwright-skill is a skill published in the GitHub repository appautomaton/webmaton (20 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 3,476 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 78% identical to playwright-skill, differing in 105 lines, and is treated as a copy.

Related

Other skills, from other repositories

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

browser-viz-verify

Verifies that a NetClaw-generated visualization HTML file (three.js, canvas, drawio, UML, markmap) actually renders correctly — screenshot, console-error check, and an optional Lighthouse audit. Use immediately after generating any browser-based visualization output, to close the QA gap that otherwise requires a human…

automateyournetwork/netclaw · 84 tokens

BrowserBash Browser Automation

BrowserBash is a vendor-independent, natural-language browser automation CLI. Drive a real browser from plain-English objectives or committable Markdown tests, run on local Chrome, CDP/Playwright MCP, Browserbase, LambdaTest, or BrowserStack, and stream NDJSON results with CI exit codes — using free local Ollama…

PramodDutta/qaskills · 79 tokens

Geb Testing

Browser automation testing with Geb framework for Groovy/JVM using jQuery-like content DSL, Page Object pattern, Spock integration, and WebDriver abstraction.

PramodDutta/qaskills · 34 tokens

checking-a-page

Check that a web page you wrote or changed actually works, by opening it in a browser and driving every control on it. Use after creating or editing an HTML page, or the JavaScript or CSS that a page loads.

awss1i/assay · 49 tokens

playwright-cli

Use this whenever the user asks to browse, navigate, click, fill a form, scrape, take a screenshot, or otherwise interact with a web page. SLICC drives the browser through the playwright-cli shell command (also aliased as playwright and puppeteer). Read this BEFORE running any browser automation: every tab-operating…

ai-ecoverse/slicc · 103 tokens