playwright-mcp
Skill0 starsChanged 21 days agoMITView on GitHub
Drive a local browser through Microsoft's Playwright MCP server. Use when an agent needs to open a page and act on it.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Call these tools through the MCP client.
- Very specific: line 49
Use a ref from the latest snapshot.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Playwright MCP
Open pages and click or type through Playwright MCP, Microsoft's MCP server for browser automation (@playwright/mcp, Apache-2.0). The server hands back an accessibility snapshot. Actions use element refs from that snapshot.
When to use
A task needs a real page: open a URL, read what is on it, fill a form, or check that a control is there. The MCP client must already be able to start a local stdio server.
Install
Node.js 18 or newer. Confirm the package, then install the browser it launches.
node -v
npx -y @playwright/mcp@latest --version
npx -y @playwright/mcp@latest install-browser chromiumPoint the MCP client at the server. --headless matters on a machine with no display. Headed is the default. -y lets npx install the package without a prompt.
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest", "--headless"]
}
}
}Commands
Call these tools through the MCP client. Names and fields below are the ones the server publishes.
browser_navigatewithurl. The result includes a snapshot. Each element has a ref.- On a large page,
browser_findwithtextreturns matching nodes and their refs. browser_clickorbrowser_typewithtargetset to a ref from that latest snapshot.browser_typealso takestext.
browser_snapshot captures the tree again. Pass depth when the full tree is too large.
Gotchas
- Use a ref from the latest snapshot. A click or navigation that changes the page needs a new snapshot before the next
target. browser_take_screenshotis for looking. Clicks and typing take a snapshot ref.- Core tools are on by default.
vision,pdf,devtools,network,storage,testing, andconfigstay off until you add them with--caps. browser_run_code_unsaferuns arbitrary JavaScript in the server process. Leave it alone.- The server binds to localhost. It is not a security boundary. Leave
--hostat the default. - File access stays inside the workspace roots, and
file://URLs are blocked. Turn on unrestricted file access only when the user asked for that. - A normal run stores a profile under
~/.cache/ms-playwright/on Linux. Pass--isolatedwhen the session should stay in memory.
Also on Honeypot — a free, open index of skills for AI agents: https://honeypot-e6c.pages.dev Image: Indexed on Honeypot
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Hainrixz/editor-pro-max★ 279same name
- ella79/agentic-playwright-suite★ 8same name
- wendymardigian-prog/Editor-IA-Pro★ 4same name
- bmcszk/agent-skills★ 2same name
- weininghui/skills★ 1same name
- beelabstudio/ai★ 0same name
- BhavinM/my-claude-setup★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-checkoutSkill
- coinbaseSkill
- context7Skill
- cronSkill
- cursorSkill
- discordSkill
- honeypotSkill
- image-optimizeSkill
- kalshiSkill
- oids-python-sdkSkill
- oidsSkill
- pdf-textSkill
- polymarketSkill
- robinhood-mcpSkill
- skill_creatorSkill
- sqliteSkill
- the_odds_apiSkill
- webhooksSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

