Skip to content
mcp/skillhub

Agent Skill

Playwright Skill skill

playwright-skilllackeyjb/playwright-skillskills/playwright-skill/SKILL.md

Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive checks, UX validation, login flows, link checks, and arbitrary browser automation. Use when the user wants to test a website, automate browser interactions, validate web functionality, or perform browser-based testing.

3.2kMIT

always on

69 tokname + description

once used

1,706 tokSKILL.md body

bundled files

52 scripts

repo stars

3.2kGitHub

Install the Playwright Skill skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/lackeyjb/playwright-skill --skill playwright-skill

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/lackeyjb/playwright-skill.git /tmp/playwright-skill
mkdir -p ~/.claude/skills
cp -R /tmp/playwright-skill/skills/playwright-skill ~/.claude/skills/playwright-skill

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.

WhenWhat loadsCost
Every sessionName and description69 tok
When the agent uses itThe SKILL.md instructions1,706 tok
Only if opened5 bundled files (26 KB)varies

Until it is used, playwright-skill costs about 20× less than the median MCP server we measured (1,363 tokens on every turn). Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.

Pre-approved tools (allowed-tools): Bash(node:*), Bash(npm:*), Read, Write. 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.

  • Playwright Browser Automation
  • Path resolution
  • Workflow
  • Setup
  • Minimal example
  • Current Playwright patterns
  • Common tasks
  • Responsive checks
  • Login flow
  • Save scripts and artifacts
  • Connect to an existing Chrome session
  • Helpers
  • Configuration