playwright-skill
General-purpose Playwright automation for coding agents
The playwright-skill is an Agent Skill and Claude Code plugin that empowers coding agents to write and execute custom Playwright browser automation on demand. Rather than providing pre-built scripts, it enables agents like Claude to generate tailored Playwright code for any browser testing or automation task—from simple page loads to complex multi-step workflows with network interception, screenshots, and video capture. The skill runs with visible browsers by default, uses progressive disclosure to load API documentation only when needed, and includes a portable executor with stable module resolution. It follows the open Agent Skills specification, making it compatible across platforms including Claude Code, Cursor, GitHub Copilot, and other agent clients.
Key Features
Use Cases
- 01Test website homepages, contact forms, and signup flows with custom validation logic
- 02Capture responsive design screenshots across mobile and desktop viewports
- 03Automate form filling, navigation clicks, and search functionality testing
- 04Check for broken links, verify image loading, and validate form error handling
- 05Execute multi-step user journeys with authentication, network interception, and state management
- 06Generate visual regression tests and performance benchmarks for web applications
Related Skills
View moresuperpowers
An agentic skills framework & software development methodology that works.
skills
Skills for Real Engineers. Straight from my .agents directory.
skills
Public repository for Agent Skills
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
playwright-skill — FAQ
What is the playwright-skill plugin?+
It's an Agent Skill and Claude Code plugin that enables coding agents to write and execute custom Playwright browser automation code on the fly. Instead of running pre-built scripts, the agent generates tailored Playwright programs for your specific testing or automation needs.
How do I install playwright-skill in Claude Code?+
Use the recommended skills CLI with 'npx skills add lackeyjb/playwright-skill --skill playwright-skill --global --yes', then run 'npm run setup' in the installed skill directory. Alternatively, install via Claude Code's plugin system with '/plugin marketplace add lackeyjb/playwright-skill' followed by '/plugin install playwright-skill@playwright-skill'.
Which agent clients support this skill?+
The skill works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, OpenCode, and other clients that support the Agent Skills specification. It can be installed globally or per-project depending on the client.
Do I need API keys or prerequisites?+
You need Node.js installed on your system. After installing the skill, run 'npm run setup' to install Playwright and Chromium automatically. No API keys are required.
Is playwright-skill free to use?+
Yes, the skill is open source and released under the MIT License, making it free for both personal and commercial use.
Can I see the browser while automation runs?+
Yes, the skill defaults to visible browser mode (headless: false) so you can watch automation execute in real-time. You can request headless mode if needed for background execution.
How do I install playwright-skill?+
Open the source repository on GitHub and follow its README. playwright-skill is a skill — MCP Agents Market links you directly to the official repo.
Is playwright-skill free?+
playwright-skill is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.