Playwright CLI Skills
Agent Skills for playwright-cli: browser automation, storage state, tracing, video and arbitrary Playwright scripts via run-code. Apache-2.0; distinct from Playwright MCP.
Tags
Description
Vendor-affiliated listing (Microsoft). These are the official Agent Skills for playwright-cli, documented at https://playwright.dev/agent-cli/skills (HTTP 200, Copyright © 2026 Microsoft) and shipped in the same Apache-2.0 microsoft/playwright-cli repository as the already-listed playwright-cli tool; this entry is the skills pack, not the CLI itself and not playwright-mcp. Installing and using the skills enables browser automation with possible credentialed browser state (storage state covers cookies and localStorage), tracing, video recording, and execution of arbitrary Playwright scripts via run-code. That is code execution and can have side effects on sites you point it at. The Playwright CLI README requires Node.js 20 or newer. Documented skills install, after the CLI is present, is playwright-cli install --skills (default .claude/skills/playwright-cli), playwright-cli install --skills=agents for .agents/skills, or -g / --global for the home directory. Those commands, and npm install -g @playwright/cli@latest, were not executed. The docs say the CLI can also be used without installing skills, and that skills work with Claude Code, GitHub Copilot, Cursor, and any coding agent that supports locally installed skills. No browse session was started.
Agent access
Related
- Playwright CLI: CLI for common Playwright actions (record, inspect selectors, screenshots), recommended with skills as a token-efficient alternative to Playwright MCP for coding agents.
- Playwright MCP: Microsoft's MCP server for browser automation with Playwright, letting LLMs act on web pages via structured accessibility snapshots instead of screenshots.
- Agent Skills Specification: Open format for packaging agent capabilities as folders with a SKILL.md (YAML frontmatter + instructions) plus optional scripts and resources.
Sources
- https://playwright.dev/agent-cli/skills
- https://github.com/microsoft/playwright-cli
- https://github.com/microsoft/playwright-cli/blob/main/LICENSE
- https://github.com/microsoft/playwright-cli/blob/main/README.md
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)