run-playwright
Installation
SKILL.md
Playwright CLI
Use @anthropic-ai/playwright-cli to drive a live browser from the terminal. Keep this file focused on trigger logic, workflow, guardrails, and reference routing. Use references/ for detailed commands, edge cases, and larger patterns.
Invocation model — read this first.
playwright-cliis a command-per-invocation CLI backed by persistent session state. Run each action from the shell as its own command, for exampleplaywright-cli tab-list,playwright-cli open https://example.com,playwright-cli snapshot. There is no required>prompt workflow in the shipped CLI.
Trigger boundary
Use this skill when the task requires a real browser session and interactive CLI control:
- open pages, navigate, and verify what actually rendered
- fill forms, upload files, submit flows, and prove the result
- manage tabs, popups, or session state during a live run
- collect screenshots, console logs, network logs, or traces as evidence
- use short
run-codesnippets only when the CLI lacks a direct command
Do not use this skill when:
- the job is writing or reviewing Playwright test code instead of driving the CLI
- plain HTTP fetching or static scraping is enough
- the site needs Browserbase-style hosted browsing, anti-bot bypass, or remote browser routing; prefer
run-agent-browser