playwright: Skill for Claude Code

.claude/skills/playwright-dev/SKILL.md

playwright-dev is a skill for Claude Code from microsoft/playwright. It costs 25 tokens per session (310 once invoked), scanned A, original, Apache-2.0.

Development guidance for changing Playwright, a framework for testing and automating browsers. It covers the code structure, APIs, browser-tool interface, command-line features, dependencies, and supported browser behavior.

In plain words
What is it for?
Use it when adding or modifying Playwright APIs, browser support, test tools, command-line commands, dependencies, or WebKit behavior.
Why use it?
It explains the project-specific parts that a general programming guide would not cover, reducing uncertainty when making changes.

Skill for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

This is microsoft/playwright's own configuration. It tells Claude Code how to work on playwright itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything playwright configures →

About the project

Playwright is a framework for automating and testing websites through one API that drives Chromium, Firefox, and WebKit. Developers use it for end-to-end tests, browser automation scripts, and AI-agent web interactions. The catalogue add-ons help coding and AI agents use Playwright for testing and browser automation.

microsoft/playwright · 98,318 stars · on GitHub · playwright.dev

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/playwright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/playwright/main/.claude/skills/playwright-dev/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/playwright

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/playwright/playwright-dev"><img src="https://agentmods.dev/badge/skills/microsoft/playwright/playwright-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 310 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. Third-party audits
  • Socket pass 7 Oct 2026
  • Snyk pass 7 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00025 $0.00310
Opus 5.5 $0.00010 $0.00124
Sonnet 5.5 $0.00005 $0.00062
Haiku 4.5 $0.00003 $0.00031

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

Security

Grade A, and why

playwright-dev 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 16d 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.

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.

.claude/skills/playwright-dev/SKILL.md · 20 lines

What it actually says

Playwright Development Guide

See AGENTS.md for monorepo structure, build/test/lint commands, and coding conventions.

Detailed Guides

Files

What ships with it

9 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. 16d ago Changed c6c92182f15a
  2. 1mo ago First seen · 20 lines · 25 tokens per session scan A 6771c8148b53

Subscribe to this mod's changes

playwright-dev is a skill published in the GitHub repository microsoft/playwright (98,318 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 310 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

compatibility-testing

Cross-browser, cross-platform, and cross-device compatibility testing ensuring consistent experience across environments. Use when validating browser support, testing responsive design, or ensuring platform compatibility.

proffesor-for-testing/agentic-qe · 36 tokens

Browser Agent QA Testing

Teach agents to use AI browser agents for exploratory and smoke QA with step budgets, evidence-based assertions, guardrails, and Playwright conversion.

PramodDutta/qaskills · 33 tokens

proxy-setup

Set up test-proxy-recorder for any Playwright project. Covers the proxy CLI (test-proxy-recorder --port --dir), package.json scripts for the three-service architecture (UI app → proxy → backend API), playwright.config.ts webServer block pointing to /control, per-test fixtures using playwrightProxy.before(page…

asmyshlyaev177/test-proxy-recorder · 201 tokens

qawolf-cli

Manage QA Wolf through the qawolf CLI. Use when asked to create, update, or list coverage requests, bug reports, or maintenance reports; start a run of flows or tags on the QA Wolf platform or read a run's results; list, set, or delete environment variables; manage environments, flows, or tags; run or list flows…

qawolf/cli · 112 tokens

playwright-best-practices

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions…

currents-dev/playwright-best-practices-skill · 214 tokens

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

microsoft/playwright-cli · 19 tokens