</>MCP Agents Market
Skill

playwright-skill

by lackeyjb3.1kJavaScriptUpdated 2026-08-14

General-purpose Playwright automation for coding agents

Claude CodeCursorGitHub CopilotCodexGemini CLIOpenCode

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

Custom Playwright code generation for any automation task, not limited to pre-built scripts
Visible browser mode by default (headless: false) to watch automation execute in real-time
Progressive disclosure design loads comprehensive API documentation only when the agent needs it
Universal executor (run.js) with stable module resolution for both file and inline scripts
Smart temporary file management with race-condition-free cleanup
Optional helper utilities for common browser automation patterns
Compatible with Agent Skills specification for cross-platform support
Installs via multiple methods: skills CLI, Claude Code plugin system, manual copy, or GitHub releases

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 more

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.

Related searches