Skip to main content
skill CX Codex

playwriter · brianlovin — Claude Code skill: browser control and setup

This skill connects an agent to the Chrome tab you already have open through the Playwriter CLI. Use it to inspect live UI, run page actions, or reproduce a frontend bug.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add brianlovin/agent-config --skill playwriter -a claude-code
Open on GitHub

What playwriter does

The agent works with the active Chrome tab instead of opening another browser. It can check the page URL and title, inspect an accessibility snapshot, interact with elements, and read page state through page.evaluate. That makes it useful when a frontend issue needs to be reproduced in the actual interface.

Enable the Playwriter extension on the target tab and check that the CLI works with playwriter --version or npx -y playwriter --version. Start a connection with playwriter session new. If the session goes stale, create another; if it attaches to the wrong tab, select the intended tab with the extension icon and reconnect. The skill favors read-only inspection and calls for a warning before destructive UI actions.

The playwriter command must be available, or you can invoke it through npx -y. Remove tokens and user data from log summaries. A stale session can fail, and choosing the wrong tab means the agent will inspect a different screen.

What it helps with

  • inspect the current page URL and title
  • capture an accessibility view of the interface
  • interact with elements in the active Chrome tab
  • read console logs and page state
  • reproduce a frontend issue in the live UI

Example prompts for the agent

  • Check the URL and title in the Chrome tab I have open.
  • Find the options shown in the current interface and count them.
  • Reproduce the frontend issue on this page and report the state after the action.

How to install playwriter

1Skills CLI (Vercel)

npx skills add brianlovin/agent-config --skill playwriter -a claude-code

2Manually: put the files in place

~/.claude/skills/playwriter/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/playwriter/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about playwriter

How do I install playwriter in Claude Code?

Run npx skills add brianlovin/agent-config --skill playwriter -a claude-code. The skill file is at ~/.claude/skills/playwriter/SKILL.md.

What does playwriter do?

It lets an agent connect to your active Chrome tab through the Playwriter CLI. The agent can inspect the page, interact with it, and read its state.

What does playwriter need to work?

Enable the Playwriter extension on the target tab and make the playwriter CLI available, or use npx -y playwriter. Start a fresh session if the connection becomes stale.

Similar skills

All skills for Browser and scraping →

playwriter by other authors comes first.

From the same set15

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor