Agent skill

Playwright MCP Browser Control

by Hainrixz in Hainrixz/editor-pro-max

Drives a live browser through the Playwright MCP server to navigate, inspect, fill forms and screenshot pages, with snapshot-first habits and output-size care.

Custom licenceAuto-check passedTesting & QA

Install Playwright MCP Browser Control

skills CLI
$ npx skills add Hainrixz/editor-pro-max --skill playwright-mcp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hainrixz/editor-pro-max playwright-mcp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hainrixz/editor-pro-max.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/playwright-mcp .claude/skills/playwright-mcp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
playwright-mcp
GitHub stars
264
Token cost
~2k tokens
SKILL.md length
729 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

Drives a live browser through the Playwright MCP server to navigate, inspect, fill forms and screenshot pages, with snapshot-first habits and output-size care.

  • Works in 3 steps: Navigate to the page → Get page structure (always do this… → Analyze the snapshot: Identify…
  • Opening a local dev server page and inspecting its structure
  • SKILL.md covers Critical: These Are Direct…, Critical: Always Snapshot…, Critical: Output Size Awareness and Workflow 1: Navigate & Inspect, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

This skill teaches an agent to drive a live browser through the Playwright MCP server in order to navigate pages, inspect elements, fill forms and debug web interfaces. It stresses that the MCP tools, all prefixed `mcp__playwright__`, are called directly like any other tool and not through shell commands.

Two habits are enforced. The agent must take a `browser_snapshot` before any click, type or hover, because the snapshot's accessibility tree supplies the `ref` values those tools require. It also watches output size: snapshots scale with page complexity, screenshots are large base64 images to use sparingly, and console and network listings can be huge, while navigate, click and type return small results. Snapshots are preferred for understanding page structure, and screenshots for visual checks only.

The first workflow, navigate and inspect, opens a page such as a local dev server, takes a snapshot and reports the page structure and interactive elements back to you. More workflows follow in the full file, but the text available here stops after the first.

When your agent uses it

  • Opening a local dev server page and inspecting its structure
  • Filling in and submitting a form in a live browser
  • Debugging a web UI problem by reading console and network output
  • Taking a screenshot to verify a visual change

Example prompts

  • “Open http://localhost:3010 and tell me what interactive elements are on the page.”
  • “Fill in the signup form with a test account and report any validation errors.”
  • “Check the browser console for errors after clicking the Save button.”
  • “Take a screenshot of the settings page so I can check the layout.”

Requirements

  • The Playwright MCP server connected to the agent

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Navigate to the page
  2. Get page structure (always do this before interacting)
  3. Analyze the snapshot: Identify interactive elements (buttons, links, inputs) by their ref values. Report page structure to user.

What it can do on your machine

Read from SKILL.md and the folder at commit 743f46c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Playwright MCP Browser Control loads about 2k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 729 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 729 words (~1,957 tokens).

“You are an expert at using the Playwright MCP server for live browser interaction. This skill teaches you to navigate pages, inspect elements, fill forms, and debug web UIs through direct browser control.”

— opening of SKILL.md by Hainrixz, Custom licence
name
playwright-mcp
metadata.version
1.0.0
metadata.mcp-server
playwright

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/playwright-mcp of Hainrixz/editor-pro-max.

Open the folder on GitHubat commit 743f46c

Compare with similar skills

Playwright MCP Browser Control next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Playwright MCP Browser Control compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright MCP Browser Control this skillHainrixz/editor-pro-max264—~2kAutomated safety check: PassCustom licence
Playwright E2E Testingactivepieces/activepieces25k—~6.8kAutomated safety check: PassCustom licence
Playwright MCPCraftOS-dev/CraftBot3921 repos~1kAutomated safety check: PassMIT
Lightpandalightpanda-io/agent-skill101—~6kAutomated safety check: PassApache-2.0
Browser UseQwenLM/qwen-code-examples143—~451Automated safety check: PassNone
Playwright MCP Skillholon-run/uxc116—~1.1kAutomated safety check: PassMIT

Similar skills

  • Playwright E2E Testing

    activepieces/activepieces

    Playwright modern end-to-end testing framework with cross-browser automation, auto-wait, and built-in test runner

    25k GitHub stars~6.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright MCP

    CraftOS-dev/CraftBot

    Browser automation via Playwright MCP server. An agent skill from CraftOS-dev/CraftBot.

    392 GitHub starsUsed in 1 repo~1k tokens
    Testing & QAAuto-check passed
  • Lightpanda

    lightpanda-io/agent-skill

    Lightpanda browser, drop-in replacement for Chrome-based browsing in any AI agent - faster and lighter for tasks without graphical rendering like data retrieval.

    101 GitHub stars~6k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed
  • Browser Use

    QwenLM/qwen-code-examples

    Control browser pages using the Playwright MCP server. An agent skill from QwenLM/qwen-code-examples.

    143 GitHub stars~451 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Run browser automation through @playwright/mcp over UXC stdio MCP, with daemon-friendly session reuse and safe action guardrails.

    116 GitHub stars~1.1k tokensUpdated 25 days ago
    Testing & QAAuto-check passed
  • Guide for implementing Cloudflare Browser Rendering - a headless browser automation API for screenshots, PDFs, web scraping, and testing.

    121 GitHub stars~4.9k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

More from Hainrixz/editor-pro-max

  • Animated React Component Libraries

    Hainrixz/editor-pro-max

    Helps choose and drop in animated React components from Magic UI and React Bits for landing pages, marketing sites and dashboards, instead of hand-coding animations.

    264 GitHub starsUsed in 1 repo~5.7k tokens
    Auto-check passed
  • Remotion Render via inference.sh

    Hainrixz/editor-pro-max

    Renders MP4 videos from React and Remotion TSX code through the inference.sh CLI, with settings for resolution, frame rate, duration and codec.

    264 GitHub starsUsed in 2 repos~2k tokens
    Auto-check passed
  • Awwwards-Level React Animations

    Hainrixz/editor-pro-max

    Guides React animation work with GSAP, Motion, Anime.js and Lenis for scroll effects, page transitions, text effects and generative visuals, with a library decision table.

    264 GitHub stars~4.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Explainer Video Guide

    Hainrixz/editor-pro-max

    Guides explainer video production from script formulas and pacing rules to scene generation with the inference.sh command line.

    264 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Motion Designer

    Hainrixz/editor-pro-max

    Advanced motion designer with decades of After Effects and motion graphics experience, specialized in creating engaging video specifications for Remotion.

    264 GitHub stars~2.3k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Playwright MCP Browser Control

What does Playwright MCP Browser Control do?

Drives a live browser through the Playwright MCP server to navigate, inspect, fill forms and screenshot pages, with snapshot-first habits and output-size care. This skill teaches an agent to drive a live browser through the Playwright MCP server in order to navigate pages, inspect elements, fill forms and debug web interfaces. It stresses that the MCP tools, all prefixed `mcp__playwright__`, are called directly like any other tool and not through shell commands.

When should I use Playwright MCP Browser Control?

Playwright MCP Browser Control fits situations like: opening a local dev server page and inspecting its structure; filling in and submitting a form in a live browser; debugging a web UI problem by reading console and network output; taking a screenshot to verify a visual change.

How do I install Playwright MCP Browser Control in Claude Code?

Run `npx skills add Hainrixz/editor-pro-max --skill playwright-mcp -a claude-code`. Or copy the skill folder (.agents/skills/playwright-mcp in Hainrixz/editor-pro-max) into .claude/skills/playwright-mcp in your project. Claude Code loads it when a task matches its description.

How do I install Playwright MCP Browser Control in Codex?

Run `npx skills add Hainrixz/editor-pro-max --skill playwright-mcp -a codex`. Or copy the skill folder (.agents/skills/playwright-mcp in Hainrixz/editor-pro-max) into .agents/skills/playwright-mcp in your project. Codex loads it when a task matches its description.

Can I use Playwright MCP Browser Control in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hainrixz/editor-pro-max --skill playwright-mcp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/playwright-mcp, .gemini/skills/playwright-mcp, .github/skills/playwright-mcp and .opencode/skills/playwright-mcp in your project.

What does Playwright MCP Browser Control need to run?

SKILL.md names no scripts, command-line tools or credentials: Playwright MCP Browser Control is instructions for the agent only. Our summary lists: The Playwright MCP server connected to the agent.

Does Playwright MCP Browser Control access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Playwright MCP Browser Control safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Playwright MCP Browser Control use?

Playwright MCP Browser Control has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Playwright MCP Browser Control use?

About 2k tokens (SKILL.md is roughly 7.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Playwright MCP Browser Control?

Skills that share tags, products or a category with Playwright MCP Browser Control: Playwright E2E Testing (activepieces/activepieces, 25k stars), Playwright MCP (CraftOS-dev/CraftBot, 392 stars), Lightpanda (lightpanda-io/agent-skill, 101 stars) and Browser Use (QwenLM/qwen-code-examples, 143 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright MCP Browser Control?

Hainrixz (a GitHub user) maintains it in Hainrixz/editor-pro-max, which has 264 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on March 26, 2026.

Source: Hainrixz/editor-pro-max on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.