playwriter
Control the user's currently open Chrome tab through the Playwriter CLI (no new browser launch). Use when you need to inspect live UI state, run scripted browser actions, capture console output, or reproduce frontend issues directly in the user's tab.
By brianlovin · 2,025 installs
npx skills add brianlovin/agent-config --skill playwriter
Source repository · Upstream listing
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:
3. Create/attach a session:
4. Run commands against that session:
Core Workflow
1. Confirm connection and correct tab:
2. Collect page structure when needed:
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:
Read popup/hover content:
Run arbitrary in page debug code:
Troubleshooting
If the session attaches to the wrong tab, click the extension icon on the intended tab and re run playwriter session new .
If playwriter command is missing, use npx 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.