agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
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.
$ npx -y skills add brianlovin/agent-config --skill playwriter --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/playwriterContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: playwriter description: 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.
Use this skill to drive the user's active Chrome tab via Playwriter.
Full documentation is available here: https://playwriter.dev/
1. Ensure the Playwriter extension is enabled (green) on the target tab. 2. Ensure CLI is available:
playwriter --version || npx -y playwriter --version
3. Create/attach a session:
playwriter session new
4. Run commands against that session:
playwriter -s 1 -e "console.log(await page.url())"
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.
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);"My agent configuration for Claude Code and Codex.
Repo: brianlovin/claude-config
Browser automation CLI for AI agents. Use when the user needs to interact with websites,…
Use Bun instead of Node.js, npm, pnpm, or vite. Provides command mappings, Bun-specific APIs,…
Guide a user end-to-end through setting up Chrome Web Store API release automation in any…
Remove AI-generated code slop from the current branch. Use after writing code to clean up…
Generate a complete set of favicons from a source image and update HTML. Use when setting up…
Helps users discover and install agent skills when they ask questions like "how do I do X",…