Agent Skill
Playwright CLI skill
playwright-climicrosoft/playwright-cliskills/playwright-cli/SKILL.md
Automate browser interactions, test web pages and work with Playwright tests.
always on
19 tokname + description
once used
3,640 tokSKILL.md body
bundled files
1052 KB
installs
193kskills.sh
Install the Playwright CLI skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/microsoft/playwright-cli --skill playwright-cli
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/microsoft/playwright-cli.git /tmp/playwright-cli mkdir -p ~/.claude/skills cp -R /tmp/playwright-cli/skills/playwright-cli ~/.claude/skills/playwright-cli
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 19 tok |
| When the agent uses it | The SKILL.md instructions | 3,640 tok |
| Only if opened | 10 bundled files (52 KB) | varies |
Until it is used, playwright-cli costs about 72× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 2 skills from microsoft/playwright-cli would load 46 tokens of descriptions. Skills vs MCP study
Checks
Our checks found nothing to flag: it follows the Agent Skills specification's naming and size guidelines and doesn't pipe downloads into a shell.
Pre-approved tools (allowed-tools): Bash(playwright-cli:*), Bash(npx playwright:*), Bash(npx --no-install playwright:*). The agent can use these without asking while the skill is active.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- Browser Automation with playwright-cli
- Quick start
- Commands
- Core
- Navigation
- Keyboard
- Mouse
- Save as
- Tabs
- Storage
- Emulation
- Network
- DevTools
- WebMCP
- Raw output
- Open parameters
- URLs with & on Windows
- Snapshots
- Targeting elements
- Browser Sessions
- Installation
- Example: Form submission
- Example: Multi-tab workflow
- Example: Debugging with DevTools
More skills from microsoft/playwright-cli
- devmicrosoft/playwright-cli
Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
14k27 tok idle · 30 in use