/agent-toolkit-complete:playwright-clifrom agent-toolkit-complete
Drives a real browser from the terminal using Playwright CLI for snapshot, click, fill, screenshots, and traces. Useful for CLI-first browser automation like data extraction, UI debugging, form fills, and multi-tab work.
Ships in agent-toolkit-complete. 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.
Drive a real browser from the terminal using playwright-cli. The bundled
wrapper script runs the CLI through npx, so a global install is not required.
Treat this skill as CLI-first automation. Do NOT pivot to
@playwright/testtest files unless the user explicitly asks for them — for Playwright tests usee2e-runner.
npx on PATH (provided by Node.js / volta from bootstrap).npm install -g @playwright/cli@latest.skills check playwright-cli validates npx is present.
export PWCLI="$HOME/.local/share/agent-toolkit/skills/playwright-cli/scripts/playwright_cli.sh"
alias pwcli="$PWCLI"
pwcli --help
The wrapper uses npx --yes --package @playwright/cli playwright-cli, so even
without a global install the first call will fetch the package and cache it.
If PLAYWRIGHT_CLI_SESSION is set, the wrapper passes it as --session
automatically — handy to keep separate browser contexts per project.
pwcli open https://playwright.dev --headed
pwcli snapshot
pwcli click e15
pwcli type "Playwright"
pwcli press Enter
pwcli screenshot
open the page.snapshot to get stable element refs (e.g. e3).screenshot, pdf, tracing-start/tracing-stop)
when useful.Minimal loop:
pwcli open https://example.com
pwcli snapshot
pwcli click e3
pwcli snapshot
After:
Refs go stale silently. When a command fails due to a missing ref, snapshot
again — do not bypass with run-code/eval unless explicitly justified.
pwcli open https://example.com/form
pwcli snapshot
pwcli fill e1 "[email protected]"
pwcli fill e2 "password123"
pwcli click e3
pwcli snapshot
pwcli open https://example.com --headed
pwcli tracing-start
# ...interactions...
pwcli tracing-stop
pwcli tab-new https://example.com
pwcli tab-list
pwcli tab-select 0
pwcli snapshot
pwcli --session todo open https://demo.playwright.dev/todomvc
pwcli --session todo snapshot
Or set the env var once:
export PLAYWRIGHT_CLI_SESSION=todo
pwcli open https://demo.playwright.dev/todomvc
e2e-runner.output/playwright/ (or whatever the repo defines) — never introduce new
top-level artifact folders.npx/network, ask the user to authorize
outbound network for this skill rather than disabling sandboxing globally.references/cli.md — CLI command reference.references/workflows.md — practical workflows
and troubleshooting.e2e-runner — Playwright test
authoring & execution (different mental model than this skill).What SKILL.md sets; muted values are Claude Code's defaults
118 skills in this plugin
/adrWHAT — Create and maintain Architecture Decision Records (ADRs) per the process. Covers when to write an ADR, required sections, review, and linking to epics/PRs. English for cross-team artifacts unless the user asks otherwise./agreementWHAT - Capture explicit agreements, terms, parties involved, dates, validity, and linked work items using the Agreement Document structure./architecture-diagramWHAT — Create architecture diagrams of real systems as one self-contained HTML page. Default mode is an interactive, Lucidchart-style explainer built from a JSON model: nested containers (cloud, cluster, namespaces), service boxes with brand icons, numbered flows the reader selects one at a time (user access, operator access over a VPN or tailnet, CI/GitOps deploy, secrets, observability, data), hover cards, an inventory and a "not there yet" list, validated by a build script. Poster mode keeps the static dark HTML+SVG template with a PNG/PDF export toolbar. Also exports Mermaid, D2, draw.io, SVG or PNG. Use for system, infrastructure, cloud, deployment, network, access-flow or security topology diagrams delivered as a shareable visual artifact rather than in-repo text./arenaRun a cross-vendor multi-model candidate bakeoff in isolated git worktrees, apply blinded cross-vendor judging, graft winning elements, and emit candidate-SHA-bound evidence receipts./assistantAssistant — on any repo, scan README→docs→AGENTS→CONTRIBUTING→PR templates→task runners→devcontainer→CI→configs before code; cite sources; prefer AGENTS.md for agent behavior; portable across Cursor/Copilot/Claude; use agent-toolkit CLI when needed./audio-productionAudio inspection, loudness, cleanup and DAW workflows — FFmpeg loudnorm/volumedetect for measurable processing, REAPER (via MCP) for real sessions, OBS for capture. Preserves originals and native .rpp projects; never enables recording or microphones silently.npx claudepluginhub ulises-jeremias/agent-toolkit --plugin agent-toolkit-completeOther plugins' skills for the same job