playwright-browser

playwright-browser is a skill for Claude Code from TechNickAI/ai-coding-config. It costs 27 tokens per session (525 once invoked), scanned A, original, MIT.

A browser automation skill for controlling Chromium, Firefox, and WebKit with Playwright, a tool for driving real web browsers from code.

In plain words
What is it for?
It helps open pages, inspect titles and content, take screenshots, test responsive layouts, and verify user journeys such as signing in.
Why use it?
It removes the need to check pages manually when verifying that a website works across browsers, screen sizes, and login flows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai-coding-config plugin — 15 skills, 21 commands, 28 agents, 3 hooks shipped together

Good fit It helps open pages, inspect titles and content, take screenshots, test responsive layouts, and verify user journeys such as signing in.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/technickai/ai-coding-config/playwright-browser
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 TechNickAI/ai-coding-config --skill playwright-browser
Clone the repo
git clone --depth 1 https://github.com/TechNickAI/ai-coding-config

Made for: Claude Code.

Or install ai-coding-config, the plugin that ships this one along with the rest of its 15 skills, 21 commands, 28 agents, 3 hooks.

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-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/technickai/ai-coding-config/playwright-browser/github.svg)](https://agentmods.dev/skills/technickai/ai-coding-config/playwright-browser)
Your own site
<a href="https://agentmods.dev/skills/technickai/ai-coding-config/playwright-browser"><img src="https://agentmods.dev/badge/skills/technickai/ai-coding-config/playwright-browser/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-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/technickai/ai-coding-config/playwright-browser"><img src="https://agentmods.dev/badge/skills/technickai/ai-coding-config/playwright-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 525 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 original No closer match found 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.00027 $0.00525
Opus 5.5 $0.00011 $0.00210
Sonnet 5.5 $0.00005 $0.00105
Haiku 4.5 $0.00003 $0.00052

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

Security

Grade A, and why

playwright-browser 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 25d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/core/skills/playwright-browser/SKILL.md · 78 lines

What it actually says

node $SKILL_DIR/run.js /tmp/playwright-task.js

For inline code (variables are auto-injected, see below):

node $SKILL_DIR/run.js "const b = await chromium.launch(); const p = await b.newPage(); await p.goto('http://localhost:3000'); console.log(await p.title()); await b.close();"

$SKILL_DIR is where you loaded this file from.

Use { headless: false } when user wants to see the browser. You know when that is.

  • BASE_URL - from PLAYWRIGHT_BASE_URL env var
  • CI_ARGS - browser args for CI (['--no-sandbox', '--disable-setuid-sandbox'])
  • EXTRA_HEADERS - from PW_HEADER_NAME/VALUE or PW_EXTRA_HEADERS
  • chromium, firefox, webkit, devices - from playwright

Example:

node $SKILL_DIR/run.js "
const browser = await chromium.launch({ args: CI_ARGS });
const page = await browser.newPage();
await page.goto(BASE_URL || 'http://localhost:3000');
console.log(await page.title());
await browser.close();
"
Files

What ships with it

3 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. 25d ago First seen · 78 lines · 27 tokens per session scan A 1501c310223a

Subscribe to this mod's changes

playwright-browser is a skill published in the GitHub repository TechNickAI/ai-coding-config (24 stars, last pushed 26d ago), licensed MIT. It adds 27 tokens to every session and 525 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-22.