playwright-mcp

playwright-mcp is a skill for Claude Code, Codex from CraftOS-dev/CraftBot. It costs 86 tokens per session (1,522 once invoked), scanned A, original, MIT.

A browser-control tool that lets an agent open websites, interact with page elements, enter form data, read page content, run page scripts, and take screenshots.

In plain words
What is it for?
Use it to test websites, submit forms, collect information from pages, and automate browser workflows in Chrome, Firefox, or WebKit.
Why use it?
It removes the need to perform repetitive browser tasks by hand or write custom automation for each website.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to test websites, submit forms, collect information from pages, and automate browser workflows in Chrome, Firefox, or WebKit.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/craftos-dev/craftbot/playwright-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CraftOS-dev/CraftBot --skill playwright-mcp
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for playwright-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/craftos-dev/craftbot/playwright-mcp/github.svg)](https://agentmods.dev/skills/craftos-dev/craftbot/playwright-mcp)
Your own site
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/playwright-mcp"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/playwright-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playwright-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/playwright-mcp"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/playwright-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 9 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 16
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 28
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 34
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 37
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 40
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 43
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 155
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 21
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 152
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00086 $0.01522
Opus 5.5 $0.00034 $0.00609
Sonnet 5.5 $0.00017 $0.00304
Haiku 4.5 $0.00009 $0.00152

Measured 1mo ago against content hash 2986fce9beec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playwright-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (examples.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/playwright-mcp/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playwright MCP Skill

Headless browser automation through the playwright-mcp MCP server.

In CraftBot

  • The server is pre-configured in app/config/mcp_config.json (npx @playwright/[email protected] --headless --output-dir .playwright-mcp); nothing needs installing.
  • Its tools are actions named mcp_playwright-mcp_<tool> in the action set mcp_playwright-mcp (loaded with this skill, or with add_action_sets(["mcp_playwright-mcp"])).
  • It is headless and invisible, with its own browser profile: none of the user's logins. Use it for automated checks (Agent App verification uses it via walk_verify) and scripted extraction. For anything done on the user's behalf, use the Mini Browser (mini_browser action set): it is live, visible to the user and keeps their logins.
  • Files it writes (screenshots, saved snapshots) land in agent_file_system/workspace/.playwright-mcp/.

Core tools

Action Purpose Key parameters
mcp_playwright-mcp_browser_navigate Open a URL url
mcp_playwright-mcp_browser_snapshot Accessibility snapshot with element refs ([ref=e12]) none
mcp_playwright-mcp_browser_click Click an element target, element
mcp_playwright-mcp_browser_type Type into a field target, text, submit
mcp_playwright-mcp_browser_fill_form Fill several fields at once fields
mcp_playwright-mcp_browser_select_option Choose dropdown values target, values
mcp_playwright-mcp_browser_press_key Press a key key
mcp_playwright-mcp_browser_hover Hover an element target
mcp_playwright-mcp_browser_wait_for Wait for text to appear/disappear or for time text, textGone, time
mcp_playwright-mcp_browser_file_upload Upload files to an open file chooser paths
mcp_playwright-mcp_browser_handle_dialog Accept or dismiss a dialog accept, promptText
mcp_playwright-mcp_browser_evaluate Run JavaScript on the page function
mcp_playwright-mcp_browser_take_screenshot Screenshot to a file filename, fullPage
mcp_playwright-mcp_browser_console_messages Console messages level
mcp_playwright-mcp_browser_network_requests Network requests static, filter
mcp_playwright-mcp_browser_tabs List, open, select or close tabs action, index, url
mcp_playwright-mcp_browser_navigate_back Go back none
mcp_playwright-mcp_browser_close Close the page none

Read the full file on GitHub · 124 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -42 lines · +51 tokens per session 2986fce9beec
  2. 2mo ago First seen · 166 lines · 35 tokens per session scan A 179b2b6335aa

Subscribe to this mod's changes

playwright-mcp is a skill published in the GitHub repository CraftOS-dev/CraftBot (431 stars, last pushed yesterday), licensed MIT. It adds 86 tokens to every session and 1,522 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

playwright-mcp compared with skills from other repositories

playwright-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playwright-mcpCraftOS-dev/CraftBotSkill431yesterdayMITA86Claude Code, Codex
turix-macTurixAI/TuriX-CUASkill3.2k2mo agoMITA53Claude Code, Codex
browser-controlNakaokaRei/SwiftAutoGUISkill9622d agoMITA72Claude Code, Codex
macos-controlNakaokaRei/SwiftAutoGUISkill9622d agoMITB58Claude Code
browser-subagent-task-boundingalivirgo/Major-AI-SkillsSkill6todayMITA29Claude Code
website-change-monitorfrumu-ai/tandemSkill1251mo agononeA13Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex