Agent skill · Microsoft (Playwright)

Playwright CLI skill for Claude Code, Codex and Cursor

Microsoft's skill for driving browsers and working with Playwright tests from the CLI.

Officialname: playwright-cli★ 15k (repo)pushed 2026-10-19Apache-2.0SKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

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

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install Playwright CLI

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add microsoft/playwright-cli --skill playwright-cli

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

  • Pre-approves these tools (allowed-tools, experimental in the spec): Bash(playwright-cli:*) Bash(npx playwright:*) Bash(npx --no-install playwright:*).

What's in the SKILL.md

26 sections
  • 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
  • Example: Interactive session
  • + 2 more

Bundled files

10
  • references/element-attributes.md
  • references/playwright-tests.md
  • references/pr-attachments.md
  • references/request-mocking.md
  • references/running-code.md
  • references/session-management.md
  • references/storage-state.md
  • references/test-generation.md
  • references/tracing.md
  • references/video-recording.md

Loaded only when the instructions point to them.

Facts

Skill name
playwright-cli
Publisher
Microsoft (Playwright) (official)
Repo
microsoft/playwright-cli
License
Apache-2.0
SKILL.md size
571 words, 488 lines
Bundled files
10, 10 docs
Repo stars
15k (as of 2026-10-24)
SKILL.md checked
2026-11-07

Pairs with the Playwright MCP server: the server gives the agent the tools, the skill teaches it how to use them.

Related testing & qa skills

FAQ

What does the playwright-cli skill do?+

Microsoft's skill for driving browsers and working with Playwright tests from the CLI. In its own SKILL.md, Microsoft (Playwright) describes it as: "Automate browser interactions, test web pages and work with Playwright tests."

How do I install the playwright-cli skill?+

Run npx skills add microsoft/playwright-cli --skill playwright-cli and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/playwright-cli/SKILL.md; in Codex and Cursor in .agents/skills/playwright-cli/.

Does Playwright CLI work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains Playwright CLI?+

Microsoft (Playwright), the company or project behind it, in the microsoft/playwright-cli repo on GitHub, last pushed 2026-10-19. License: Apache-2.0.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers