Agent skill

Playwright CLI

by mizchi in mizchi/skills

A skill your agent uses when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding.

No licenceAuto-check passedTesting & QA

Install Playwright CLI

skills CLI
$ npx skills add mizchi/skills --skill playwright-cli -a claude-code

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

GitHub CLI
$ gh skill install mizchi/skills playwright-cli --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/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/playwright-cli .claude/skills/playwright-cli && 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-cli
GitHub stars
356
Token cost
~625 tokens
SKILL.md length
144 words
Files
2
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding.

  • Running Playwright via terminal CLI — npx playwright test (test runner)
  • SKILL.md covers Scope boundary, Quick Reference, Sharding for CI and Screenshot / PDF
  • Calls npx
  • Codegen (interactive recording)

What it does

Playwright CLI is an agent skill from mizchi/skills. Use when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding. NOT for agent-driven real-time browser control (use claude-in-chrome MCP tools for that).

Its SKILL.md is about 630 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

It sits in Testing & QA, covering Browser testing, Database administration and Browser automation. It works with Playwright. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Running Playwright via terminal CLI — npx playwright test (test runner)
  • Codegen (interactive recording)
  • Screenshot / pdf (one-off captures)

Example prompts

  • “/playwright-cli”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. 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

    Shell commands in SKILL.md call:

    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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 CLI loads about 625 tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 144 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 144 words (~625 tokens).

“Terminal-based browser automation using npx playwright. This skill covers the CLI surface: running tests, generating test code via codegen, taking screenshots/PDFs, and CI sharding flags.”

— opening of SKILL.md by mizchi
name
playwright-cli

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in playwright-cli of mizchi/skills.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 62f5808

Compare with similar skills

Playwright CLI 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 CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright CLI this skillmizchi/skills356—~625Automated safety check: PassNone
Cloudflare Browser Renderingeinverne/dotfiles121—~4.9kAutomated safety check: PassGPL-3.0
Playwright MCP Browser ControlHainrixz/editor-pro-max261—~2kAutomated safety check: PassCustom licence
Playwright E2E Testingactivepieces/activepieces25k—~6.8kAutomated safety check: PassCustom licence
Playwright MCP Skillholon-run/uxc116—~1.1kAutomated safety check: PassMIT
Playwright MCPCraftOS-dev/CraftBot3921 repos~1kAutomated safety check: PassMIT

Similar skills

  • Guide for implementing Cloudflare Browser Rendering - a headless browser automation API for screenshots, PDFs, web scraping, and testing.

    121 GitHub stars~4.9k tokensUpdated 29 days ago
    Productivity & AutomationAuto-check passed
  • Playwright MCP Browser Control

    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.

    261 GitHub stars~2k tokensUpdated 6 mo ago
    Testing & QAAuto-check passed
  • 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
  • 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 23 days ago
    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 2 days ago
    Agent WorkflowsAuto-check passed

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 6 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 6 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Playwright CLI

What does Playwright CLI do?

A skill your agent uses when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding. Playwright CLI is an agent skill from mizchi/skills. Use when running Playwright via terminal CLI — npx playwright test (test runner), codegen (interactive recording), screenshot / pdf (one-off captures), and CI sharding.

When should I use Playwright CLI?

Playwright CLI fits situations like: running Playwright via terminal CLI — npx playwright test (test runner); codegen (interactive recording); screenshot / pdf (one-off captures).

How do I install Playwright CLI in Claude Code?

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

How do I install Playwright CLI in Codex?

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

Can I use Playwright CLI 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 mizchi/skills --skill playwright-cli -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-cli, .gemini/skills/playwright-cli, .github/skills/playwright-cli and .opencode/skills/playwright-cli in your project.

What does Playwright CLI need to run?

Going by SKILL.md and its folder, Playwright CLI needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Playwright CLI access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Playwright CLI 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 CLI use?

No licence was found for Playwright CLI or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Playwright CLI use?

About 625 tokens (SKILL.md is roughly 2.5k 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 CLI?

Skills that share tags, products or a category with Playwright CLI: Cloudflare Browser Rendering (einverne/dotfiles, 121 stars), Playwright MCP Browser Control (Hainrixz/editor-pro-max, 261 stars), Playwright E2E Testing (activepieces/activepieces, 25k stars) and Playwright MCP Skill (holon-run/uxc, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright CLI?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.