playwright-cli

playwright-cli is a skill for Claude Code from WaterplanAI/agentic-config. It costs 69 tokens per session (1,282 once invoked), scanned A, a copy of ac-qa-playwright-cli, MIT.

A command-line tool for controlling a web browser through Playwright. Playwright is a browser-automation system, and this tool can open pages, inspect them, interact with controls, take screenshots, save PDFs, record video, and manage sessions.

In plain words
What is it for?
Use it to navigate websites, click buttons, enter text, inspect page structure, capture screenshots or PDFs, and record browser sessions.
Why use it?
It lets a coding agent automate and inspect a browser without requiring a large set of specialised tool definitions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ac-qa plugin — 7 skills shipped together

Good fit Use it to navigate websites, click buttons, enter text, inspect page structure, capture screenshots or PDFs, and record browser sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/waterplanai/agentic-config/playwright-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add WaterplanAI/agentic-config --skill playwright-cli
Clone the repo
git clone --depth 1 https://github.com/WaterplanAI/agentic-config

Made for: Claude Code.

Or install ac-qa, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for playwright-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/waterplanai/agentic-config/playwright-cli/github.svg)](https://agentmods.dev/skills/waterplanai/agentic-config/playwright-cli)
Your own site
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/playwright-cli"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/playwright-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playwright-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/waterplanai/agentic-config/playwright-cli"><img src="https://agentmods.dev/badge/skills/waterplanai/agentic-config/playwright-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,282 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01282
Opus 5.5 $0.00028 $0.00513
Sonnet 5.5 $0.00014 $0.00256
Haiku 4.5 $0.00007 $0.00128

Measured 19d ago against content hash 84d5f69a840e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playwright-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to ac-qa-playwright-cli — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/ac-qa/skills/ac-qa/playwright-cli/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playwright CLI Browser Automation

Browser automation using playwright-cli - a token-efficient CLI alternative to Playwright MCP.

Prerequisites

  • Node.js >= 18
  • Global install: npm install -g @playwright/cli@latest
  • Browser: playwright-cli install-browser

Quick Reference

Navigation

playwright-cli open https://example.com          # Open URL (creates default session)
playwright-cli -s=mytest open https://example.com # Named session
playwright-cli goto https://example.com/page      # Navigate within session
playwright-cli go-back                             # Browser back
playwright-cli go-forward                          # Browser forward
playwright-cli reload                              # Reload page
playwright-cli close                               # Close session

Page Inspection

playwright-cli snapshot                  # Accessibility snapshot (like browser_snapshot)
playwright-cli screenshot                # Take PNG screenshot
playwright-cli screenshot --output ./out.png  # Save to specific path
playwright-cli pdf --output ./page.pdf   # Save page as PDF

Interaction

playwright-cli click "Button Text"       # Click by text
playwright-cli click "#submit-btn"       # Click by selector
playwright-cli fill "#email" "[email protected]"  # Fill input field
playwright-cli type "Hello world"        # Type text into focused element
playwright-cli select "#dropdown" "option1"      # Select dropdown option
playwright-cli hover "#menu-item"        # Hover over element
playwright-cli check "#checkbox"         # Check a checkbox
playwright-cli uncheck "#checkbox"       # Uncheck a checkbox
playwright-cli dblclick "#element"       # Double-click
playwright-cli upload "#file-input" ./file.txt   # Upload file

Keyboard & Mouse

playwright-cli press Enter               # Press key
playwright-cli press Control+a           # Key combination
playwright-cli keydown Shift             # Hold key
playwright-cli keyup Shift               # Release key

Read the full file on GitHub · 184 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago First seen · 184 lines · 69 tokens per session scan A 84d5f69a840e

Subscribe to this mod's changes

playwright-cli is a skill published in the GitHub repository WaterplanAI/agentic-config (31 stars, last pushed 19d ago), licensed MIT. It adds 69 tokens to every session and 1,282 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to ac-qa-playwright-cli, differing in 2 lines, and is treated as a copy.

Related

playwright-cli compared with skills from other repositories

playwright-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playwright-cliWaterplanAI/agentic-configSkill3119d agoMITA69Claude Code
selectorsidavidov13/agentic-playwrightSkill31313d agoMITA60Claude Code, Codex
vindicateOpenEvident/vindicateSkill452mo agoApache-2.0A77Claude Code, Codex
playwright-cliidavidov13/agentic-playwrightSkill31313d agoMITA96Claude Code
amazon-search-listingbrowser-act/skillsSkill6.5k27d agoMITA341Claude Code, Codex
instagram-post-commentsbrowser-act/skillsSkill6.5k27d agoMITA73Claude Code, Codex
youtube-influencer-finder-api-skillbrowser-act/skillsSkill6.5k27d agoMITA156Claude Code, Codex