/workstation-tools:playwrightfrom workstation-tools
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
Ships in workstation-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Drive a real browser from the terminal using playwright-cli. Prefer the bundled wrapper script so the CLI works even when it is not globally installed.
Treat this skill as CLI-first automation. Do not pivot to @playwright/test unless the user explicitly asks for test files.
Before proposing commands, check whether npx is available (the wrapper depends on it):
command -v npx >/dev/null 2>&1
If it is not available, pause and ask the user to install Node.js/npm (which provides npx). Provide these steps verbatim:
# Verify Node/npm are installed
node --version
npm --version
# If missing, install Node.js/npm, then:
npm install -g @playwright/cli@latest
playwright-cli --help
Once npx is present, proceed with the wrapper script. A global install of playwright-cli is optional.
export PWCLI="/absolute/path/to/this/installed/skill/scripts/playwright_cli.sh"
Replace the example path with the bundled script next to the loaded SKILL.md. Keep the working directory set to the project being automated. On Windows, run the wrapper in Git Bash or use the native command npx --yes --package @playwright/cli playwright-cli.
Use the wrapper script:
bash "$PWCLI" open https://playwright.dev --headed
bash "$PWCLI" snapshot
bash "$PWCLI" click e15
bash "$PWCLI" type "Playwright"
bash "$PWCLI" press Enter
bash "$PWCLI" screenshot
If the user prefers a global install, this is also valid:
npm install -g @playwright/cli@latest
playwright-cli --help
Minimal loop:
bash "$PWCLI" open https://example.com
bash "$PWCLI" snapshot
bash "$PWCLI" click e3
bash "$PWCLI" snapshot
Snapshot again after:
Refs can go stale. When a command fails due to a missing ref, snapshot again.
bash "$PWCLI" open https://example.com/form
bash "$PWCLI" snapshot
bash "$PWCLI" fill e1 "[email protected]"
bash "$PWCLI" fill e2 "password123"
bash "$PWCLI" click e3
bash "$PWCLI" snapshot
bash "$PWCLI" open https://example.com --headed
bash "$PWCLI" tracing-start
# ...interactions...
bash "$PWCLI" tracing-stop
bash "$PWCLI" tab-new https://example.com
bash "$PWCLI" tab-list
bash "$PWCLI" tab-select 0
bash "$PWCLI" snapshot
The wrapper script uses npx --package @playwright/cli playwright-cli so the CLI can run without a global install:
bash "$PWCLI" --help
Prefer the wrapper unless the repository already standardizes on a global install.
Open only what you need:
references/cli.mdreferences/workflows.mde12.eval and run-code unless needed.eX and say why; do not bypass refs with run-code.--headed when a visual check will help.output/playwright/ and avoid introducing new top-level artifact folders.LICENSE.txt (opens in a new tab)NOTICE.txt (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/playwright-small.svg (opens in a new tab)assets/playwright.png (opens in a new tab)references/cli.md (opens in a new tab)references/workflows.md (opens in a new tab)scripts/playwright_cli.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/gws-sharedgws CLI: Shared patterns for authentication, global flags, and output formatting./html-d3-anime-video-workflowImprove and run end-to-end video production workflows built from HTML, D3-generated SVG, Anime.js preview choreography, Playwright frame capture, and ffmpeg encoding. Use when Codex needs to create, polish, validate, or iterate on multi-video concept explainers, timestamp-driven web animation videos, research-backed scripted videos, or reusable production pipelines for this stack, while routing component-specific work to the existing D3, Anime.js, Slidev, SVG, and video skills instead of duplicating them.Other plugins' skills for the same job
npx claudepluginhub gvillarroel/plugins --plugin workstation-tools