Agent skill · Testing & QA

playwright

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.

Haohao-endgithub.com/Haohao-endGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add Haohao-end/openagent --skill playwright --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 4 KB
Bundled scripts: yes
Path: api/internal/core/skills/catalog/playwright/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 778
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Playwright CLI Skill 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. ## Prerequisite check (required) Before proposing commands, check whether `npx` is available (the wrapper depends on it): ```bash 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: ```bash # 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. ## Skill path (set once) ```bash export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}" export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh" ``` User-scoped skills install under `$CODEX_HOME/skills` (default: `~/.codex/skills`). ## Quick start Use the wrapper script: ```bash "$PWCLI" open https://playwright.dev --hea

What's inside
Steps it walks through
  1. Prerequisite check (required)
  2. Skill path (set once)
  3. Quick start
  4. Core workflow
  5. When to snapshot again
  6. Recommended patterns
  7. Form fill and submit
  8. Debug a UI flow with traces
  9. Multi-tab work
  10. Wrapper script
  11. References
  12. Guardrails
Ships with 6 files
  • LICENSE.txt
  • agents/openai.yaml
  • assets/playwright-small.svg
  • assets/playwright.png
  • manifest.yaml
  • scripts/playwright_cli.sh
Commands it runs
command -v npx >/dev/null 2>&1
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
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh"
More from openagent
All skills →
About this skill
What does the playwright skill do?

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.

How do I install it?

Run `npx skills add Haohao-end/openagent --skill playwright --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From Haohao-end/openagent, a repository with 778 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going