AI SummaryAutomates real browser interactions from the terminal using Playwright CLI for tasks like navigation, form filling, and data extraction. Useful for developers and AI assistants building UI automation workflows without writing test frameworks.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "playwright" skill in my project. Please run this command in my terminal: # Install skill into your project (9 files) mkdir -p .claude/skills/playwright && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/LICENSE.txt "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/LICENSE.txt" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/NOTICE.txt "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/NOTICE.txt" && mkdir -p .claude/skills/playwright/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/agents/openai.yaml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/agents/openai.yaml" && mkdir -p .claude/skills/playwright/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/assets/playwright-small.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/assets/playwright-small.svg" && mkdir -p .claude/skills/playwright/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/assets/playwright.png "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/assets/playwright.png" && mkdir -p .claude/skills/playwright/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/references/cli.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/references/cli.md" && mkdir -p .claude/skills/playwright/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/references/workflows.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/references/workflows.md" && mkdir -p .claude/skills/playwright/scripts && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/playwright/scripts/playwright_cli.sh "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/playwright/scripts/playwright_cli.sh" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
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.
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.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster