
Playwriter
- 105 installs
- 356 repo stars
- Updated March 25, 2026
- brianlovin/claude-config
Playwriter is a skill that drives the user's currently open Chrome tab via the Playwriter CLI to inspect live UI state, run scripted actions, and reproduce frontend issues.
About
Playwriter controls the user's currently open Chrome tab through the Playwriter CLI without launching a new browser. It inspects live UI state, runs scripted browser actions, captures console output, and reproduces frontend issues directly in the user's tab. A developer uses it to debug frontend behavior against real page state. It defaults to read-only inspection and announces destructive UI actions first.
- Drives the user's currently open Chrome tab via the Playwriter CLI, no new browser launch
- Inspects live UI state, captures console output, and reproduces frontend issues
- Runs scripted click/type/hover/evaluate actions and accessibility snapshots
Playwriter by the numbers
- 105 all-time installs (skills.sh)
- Ranked #243 of 596 Debugging skills by installs in the Skillselion catalog
- Data as of Aug 1, 2026 (Skillselion catalog sync)
playwriter capabilities & compatibility
- Capabilities
- debugging · testing
- Works with
- chrome · playwright
- Use cases
- debugging · testing
What playwriter says it does
Control the user's currently open Chrome tab through the Playwriter CLI (no new browser launch).
Use this skill to drive the user's active Chrome tab via Playwriter.
Prefer read-only inspection unless the task requires mutation.
npx skills add https://github.com/brianlovin/claude-config --skill playwriterAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 105 |
|---|---|
| repo stars | ★ 356 |
| Last updated | March 25, 2026 |
| Repository | brianlovin/claude-config ↗ |
What it does
Debug frontend behavior by driving the user's live Chrome tab to inspect state and reproduce issues.
Who is it for?
Developers debugging live frontend state in their own Chrome tab
Skip if: Launching a fresh headless browser separate from the user's session
When should I use this skill?
You need to inspect live UI state, run browser actions, or reproduce a frontend bug in the open tab
What you get
Live page state inspected and frontend issues reproduced with exact IDs and logs
Files
Playwriter
Use this skill to drive the user's active Chrome tab via Playwriter.
Full documentation is available here: https://playwriter.dev/
Quick Start
1. Ensure the Playwriter extension is enabled (green) on the target tab. 2. Ensure CLI is available:
playwriter --version || npx -y playwriter --version3. Create/attach a session:
playwriter session new4. Run commands against that session:
playwriter -s 1 -e "console.log(await page.url())"Core Workflow
1. Confirm connection and correct tab:
playwriter -s <session> -e "console.log(await page.url()); console.log(await page.title());"2. Collect page structure when needed:
playwriter -s <session> -e "console.log(await accessibilitySnapshot({ page }))"3. Execute targeted actions (click/type/hover/fetch/evaluate). 4. Pull logs and structured state via page.evaluate. 5. Summarize findings with exact IDs, timestamps, and observed state transitions.
Useful Commands
Get list rows/options from current app UI:
playwriter -s <session> -e "const rows = await page.getByRole('option').all(); console.log(rows.length);"Read popup/hover content:
playwriter -s <session> -e "const row = page.getByRole('option').nth(0); await row.hover(); await page.waitForTimeout(700); console.log(await page.locator('[data-side]').first().innerText());"Run arbitrary in-page debug code:
playwriter -s <session> -e "const out = await page.evaluate(() => ({ href: location.href })); console.log(out);"Troubleshooting
- If the session attaches to the wrong tab, click the extension icon on the intended tab and re-run
playwriter session new. - If
playwritercommand is missing, usenpx -y playwriter ...or install globally. - If execution errors suggest stale connection, create a fresh session.
Guardrails
- Prefer read-only inspection unless the task requires mutation.
- Announce destructive UI actions before running them.
- When capturing logs, redact sensitive tokens/user data in summaries.
interface:
display_name: "Playwriter Browser Control"
short_description: "Use Playwriter CLI to control an open Chrome tab."
default_prompt: "Use Playwriter CLI to attach to the active browser tab, inspect state, run actions, and capture logs for debugging."
Related skills
Forks & variants (1)
Playwriter has 1 known copy in the catalog totaling 10 installs. They canonicalize to this original listing.
- brianlovin - 10 installs