playwright-cli is a command-line tool for controlling browsers through Playwright, including recording actions, generating code, inspecting selectors, and taking screenshots. It is intended for coding agents and developers who need browser automation for testing or web tasks. The catalogue skills teach agents how to use its CLI workflows.
Borrowing it
Nothing to install: this file belongs to microsoft/playwright-cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/microsoft/playwright-cli/main/.claude/skills/playwright-triage/SKILL.mdgit clone --depth 1 https://github.com/microsoft/playwright-cliWrote 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.
[](https://agentmods.dev/skills/microsoft/playwright-cli/playwright-triage)<a href="https://agentmods.dev/skills/microsoft/playwright-cli/playwright-triage"><img src="https://agentmods.dev/badge/skills/microsoft/playwright-cli/playwright-triage/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.
<a href="https://agentmods.dev/skills/microsoft/playwright-cli/playwright-triage"><img src="https://agentmods.dev/badge/skills/microsoft/playwright-cli/playwright-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00140 | $0.01763 |
| Opus 5.5 | $0.00056 | $0.00705 |
| Sonnet 5.5 | $0.00028 | $0.00353 |
| Haiku 4.5 | $0.00014 | $0.00176 |
Grade A, and why
playwright-triage 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright CLI Issue Triage
You run unattended in the Issue triage workflow of
microsoft/playwright-cli. First read the shared guide, $AGENT_GUIDES_DIR/triage.md, a copy of
microsoft/playwright/.github/actions/run-agent/guides/triage.md,
and then CLAUDE.md, both in full. The guide says how to triage an issue in any
Playwright repo. CLAUDE.md says how to build, test and lint this one. This file covers what neither
has: where the code is, the checkouts, how to run a published version, and the outcome that this
repo adds, a fix in microsoft/playwright.
Where the code is
This repo is the npm package @playwright/cli: playwright-cli.js with its update check,
skillCheck.js, the README, the skill in skills/playwright-cli/ and some tests of the packaged
CLI. package.json pins the alpha of playwright and playwright-core that the package runs. The
CLI is in microsoft/playwright, in packages/playwright-core/src/tools/: cli-client/ has the
commands and their options, cli-daemon/ has the daemon that keeps the browser open between
commands, and backend/ has the tools that the commands run. Most bugs and most feature requests
are fixed there.
Fix a bug here only when the cause is in a file that this repo owns. skills/playwright-cli/ is a
copy of packages/playwright-core/src/tools/skills/playwright-cli/, which scripts/update.js
refreshes on a roll, so its fix is upstream too.
The checkouts
$REPO_DIR is the checkout of microsoft/playwright-cli that the guide describes. npm ci ran in
it, and the browsers of the pinned version are installed. The CLI uses Google Chrome from the
runner image by default. When it is missing, install it with npx playwright install chrome. The
clone is shallow: run git fetch --unshallow --tags origin in it
before you need its history.
$PLAYWRIGHT_DIR is a clone of microsoft/playwright at the tip of main, next to $REPO_DIR.
npm ci and npm run build ran in it, and Chromium, Firefox and WebKit are installed. It is
tip-of-tree for this repo: reproduce there, as a test in its tests/mcp/cli-*.spec.ts, with the
cli fixture of tests/mcp/cli-fixtures.ts. npm run test-playwright-cli runs those tests. Read
its AGENTS.md in full before you write the test. It says how to build, test and lint it. The
clone has the full history, without file contents until git needs them, so git log and
git tag --contains work there.
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.
- 4d ago Changed · +14 lines ec6bc653a763
- 6d ago First seen · 103 lines · 140 tokens per session scan A c68ffe32550e
playwright-triage is a skill published in the GitHub repository microsoft/playwright-cli (14,988 stars, last pushed yesterday), licensed Apache-2.0. It adds 140 tokens to every session and 1,763 once invoked, about $0.0006 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-10-31.
playwright-triage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwright-triagemicrosoft/playwright-cli | Skill | 15k | yesterday | Apache-2.0 | A | 140 | Claude Code |
| git-advanced-workflowswshobson/agents | Skill | 42k | yesterday | MIT | A | 54 | Claude Code |
| agent-merge-conflict-arbiterNousResearch/hermes-agent | Skill | 261k | today | MIT | A | 19 | Claude Code, Codex |
| enable-check-includes-strictchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 70 | Claude Code, Codex |
| moli-webfetchlexmount/moli | Skill | 23k | today | Apache-2.0 | A | 90 | Codex |
| resolve-handoffomnigent-ai/omnigent | Skill | 11k | today | Apache-2.0 | A | 23 | Claude Code, Codex |
| reproduce-and-fix-issuesbacknotprop/pstack | Skill | 3.7k | yesterday | MIT | A | 48 | Claude Code, Cursor |