playwriter
Installation
SKILL.md
Playwriter Skill
Control your own Chrome browser via the Playwriter extension using Playwright code snippets in a stateful local JavaScript sandbox.
Unlike Playwright which launches a new browser instance, Playwriter connects to your existing Chrome browser, preserving your login sessions, cookies, and extensions. Best for JS-heavy websites (Instagram, Twitter, cookie/login walls, lazy-loaded UIs) where webfetch/curl would fail.
First-use setup (required)
Before running any Playwriter commands, you MUST perform the following checks in order. Do NOT skip this section.
Step A: Check if Playwriter CLI is available
command -v playwriter >/dev/null 2>&1 || npx playwriter@latest --version
Step B: If CLI is not available, guide the user through installation
If the check above fails, pause and walk the user through these steps: