Skill · em Corrigir bugs
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.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/skills/development/playwright - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: Apache-2.0
- Espelhado em 25/09/2026
- 5 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
9 arquivos · 22,3 KB · inclui 1 script que executa: scripts/playwright_cli.sh
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/skills/playwright/.
d=".claude/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Global: instala em ~/.claude/skills/playwright/.
d="$HOME/.claude/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Codex
Neste projeto: instala em .agents/skills/playwright/.
d=".agents/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Global: instala em ~/.agents/skills/playwright/.
d="$HOME/.agents/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Antigravity
Neste projeto: instala em .agents/skills/playwright/.
d=".agents/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Global: instala em ~/.gemini/antigravity-cli/skills/playwright/.
d="$HOME/.gemini/antigravity-cli/skills/playwright" u="https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/skills/development/playwright" curl -fsSL --create-dirs \ -o "$d/SKILL.md" "$u/SKILL.md" \ -o "$d/agents/openai.yaml" "$u/agents/openai.yaml" \ -o "$d/assets/playwright-small.svg" "$u/assets/playwright-small.svg" \ -o "$d/assets/playwright.png" "$u/assets/playwright.png" \ -o "$d/LICENSE.txt" "$u/LICENSE.txt" \ -o "$d/NOTICE.txt" "$u/NOTICE.txt" \ -o "$d/references/cli.md" "$u/references/cli.md" \ -o "$d/references/workflows.md" "$u/references/workflows.md" \ -o "$d/scripts/playwright_cli.sh" "$u/scripts/playwright_cli.sh"
Peça ao Rook
Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/cct.playwright
Prévia do SKILL.md
---
name: "playwright"
description: "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."
author: openai
---
# 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"
```
…