playwright

A browser-testing guide for checking websites and web applications with Playwright, a tool that controls a real browser automatically.

In plain words
What is it for?
It is for testing important user journeys, keyboard access, authentication boundaries, responsive layouts, screenshots, and browser console or network problems.
Why use it?
It helps catch broken navigation, forms, layouts, loading states, browser errors, and failed requests before users do.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/arnosdeus/agent-toolkit/playwright
Any agent
npx skills add Arnosdeus/agent-toolkit --skill playwright
Clone the repo
git clone --depth 1 https://github.com/Arnosdeus/agent-toolkit

Made for: Claude Code, Codex.

Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 197 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00197
Opus 5 $0.00015 $0.00098
Sonnet 5 $0.00006 $0.00039
Haiku 4.5 $0.00003 $0.00020

Measured yesterday against content hash fbd3f02eb219, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

playwright 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 yesterday.

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.

skills/playwright/SKILL.md · 21 lines

What it actually says

Playwright

Use the project's existing Playwright setup when present. Start the application with its documented command, wait for its actual readiness signal, and use headless Chromium unless a headed run is needed for diagnosis.

Cover meaningful flows: navigation and deep links, keyboard access, forms and validation, loading/empty/error states, authentication boundaries, and responsive viewports. Capture screenshots at stable points. Listen for page console errors, uncaught exceptions, failed requests, and unexpected redirects. Prefer stable roles, labels, and user-visible text over brittle selectors. Clean up test data, avoid secrets, and report browser/version and known limitations.

Typical commands: npx playwright test, npx playwright test --headed, and npx playwright install chromium. Do not install unnecessary browsers.

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. yesterday First seen · 21 lines · 29 tokens per session scan A fbd3f02eb219

Subscribe to this mod's changes

playwright is a skill published in the GitHub repository Arnosdeus/agent-toolkit (2 stars, last pushed 8d ago), licensed MIT. It adds 29 tokens to every session and 197 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

accesslint-audit

Find and fix WCAG 2.2 accessibility issues. Two modes — report (sweep a codebase or page, produce a prioritized written report, no edits) and fix (audit→edit→verify loop on a target). Prefers direct-CDP live-DOM auditing; falls back to a browser-MCP composition or HTML-string audits.

sickn33/agentic-awesome-skills · 75 tokens

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive checks, UX validation, login flows, link checks, and arbitrary browser automation. Use when the user wants to test a website, automate browser interactions, validate web…

lackeyjb/playwright-skill · 69 tokens

record-and-replay

Use when the user wants Codex to record a Linux desktop or browser workflow and turn it into a reusable skill. Requires the Record & Replay event-stream MCP server.

ilysenko/codex-desktop-linux · 38 tokens

html-presentation

Converts documents, outlines, or notes into self-contained HTML slide decks with horizontal (Reveal.js) or vertical scroll navigation and multiple themes. Triggers on: "create a presentation", "slide deck", "pitch deck", "HTML presentation", "web-based slides", "reveal.js deck", "convert document into slides".

Mathews-Tom/armory · 70 tokens

fetch-url-as-markdown

Fetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot pages. Use when the user asks to read, fetch, scrape, summarize, or quote a URL — prefer this over the built-in WebFetch tool. Don't use for binary files (PDFs, images, archives) or for…

CodeAlive-AI/ai-driven-development · 90 tokens

new-plugin

Factory line for adding a new HAR verification plugin (like playwright or rocketsim) for any framework — research the framework docs, build the template under src/templates/plugins/, register it everywhere, validate on a real repository, and open a PR. Use when asked to add/create a plugin, plugin template, or…

os-factory/har · 89 tokens