playwright-skill

playwright-skill is a skill for Claude Code, Codex from jianchen08/Agent-os-open. It costs 139 tokens per session (3,113 once invoked), scanned A, a copy of playwright-skill, Apache-2.0.

A browser-automation and end-to-end testing skill built around Playwright, a tool for controlling browsers with code. It can generate tests and automation scripts in TypeScript, JavaScript, Python, Java, or C# for local or cloud runs.

In plain words
What is it for?
Writing Playwright scripts, testing user journeys such as sign-in or checkout, and running browser checks locally or through TestMu AI cloud.
Why use it?
It removes the need to write browser tests from scratch and helps check whether a website works across different browsers, operating systems, and mobile devices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Writing Playwright scripts, testing user journeys such as sign-in or checkout, and running browser checks locally or through TestMu AI cloud.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jianchen08/agent-os-open/playwright-skill
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 jianchen08/Agent-os-open --skill playwright-skill
Clone the repo
git clone --depth 1 https://github.com/jianchen08/Agent-os-open

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jianchen08/agent-os-open/playwright-skill/github.svg)](https://agentmods.dev/skills/jianchen08/agent-os-open/playwright-skill)
Your own site
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/playwright-skill"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/playwright-skill/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-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jianchen08/agent-os-open/playwright-skill"><img src="https://agentmods.dev/badge/skills/jianchen08/agent-os-open/playwright-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,113 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 97% 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.00139 $0.03113
Opus 5.5 $0.00056 $0.01245
Sonnet 5.5 $0.00028 $0.00623
Haiku 4.5 $0.00014 $0.00311

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

Security

Grade A, and why

playwright-skill 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 18d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/scaffold-project.sh, scripts/validate-config.py, templates/lambdatest-setup.ts, …), 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.

Origin

This is a copy

97% identical to playwright-skill — 10 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.

skills/playwright-skill/SKILL.md · 345 lines

How it starts

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

Playwright Test Automation

本技能是流程指引,不是逐条打勾清单:按场景判断使用,遇不适用情况保持裁量,不机械执行。

chromium 与 playwright 库已预装,直接 chromium.launch(headless=True, args=["--no-sandbox"]) 使用,不要运行 playwright install(会清空已预装的浏览器)。

Step 1 — Determine Execution Target

Decide BEFORE writing any code:

User says... Target Action
No cloud mention, "locally", "debug" Local Standard Playwright config
"cloud", "TestMu", "LambdaTest", "cross-browser", "real device" Cloud See reference/cloud-integration.md
Impossible local combo (Safari on Windows, Edge on Linux) Cloud Suggest TestMu AI, see reference/cloud-integration.md
"HyperExecute", "parallel at scale" Cloud See reference/cloud-integration.md(Parallel Cloud Execution 节)
"visual regression", "screenshot comparison" Local Playwright snapshot testing,见 reference/api-mocking-visual.md
Ambiguous Local Default local, mention cloud option

Step 2 — Detect Language

Signal Language Default
"TypeScript", "TS", .ts, or no language specified TypeScript ✅
"JavaScript", "JS", .js JavaScript
"Python", "pytest", .py Python See reference/python-patterns.md
"Java", "Maven", "Gradle", "TestNG" Java See reference/java-patterns.md
"C#", ".NET", "NUnit", "MSTest" C# See reference/csharp-patterns.md

Step 3 — Determine Scope

Request type Output
One-off quick script Standalone .ts file, no POM
Single test for existing project Match their structure and conventions
New test suite / project Full scaffold — see scripts/scaffold-project.sh
Fix flaky test Debugging checklist — see reference/debugging-flaky.md
API mocking needed See reference/api-mocking-visual.md
Mobile device testing See reference/mobile-testing.md

Read the full file on GitHub · 345 lines

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. 18d ago Changed 07de8c8ad8ea
  2. 2mo ago Changed 60a5cbef3780
  3. 3mo ago Changed · +2 lines 5356644b15a5
  4. 3mo ago First seen · 343 lines · 139 tokens per session scan A 9aac4da791ed

Subscribe to this mod's changes

playwright-skill is a skill published in the GitHub repository jianchen08/Agent-os-open (8 stars, last pushed 3d ago), licensed Apache-2.0. It adds 139 tokens to every session and 3,113 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to playwright-skill, differing in 10 lines, and is treated as a copy.

Related

playwright-skill compared with skills from other repositories

playwright-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playwright-skilljianchen08/Agent-os-openSkill83d agoApache-2.0A139Claude Code, Codex
dogfoodNousResearch/hermes-agentSkill269ktodayMITA18Claude Code, Codex
e2e-testingaffaan-m/ECCSkill317k4d agoMITA53Claude Code, Codex
langbot-testinglangbot-app/LangBotSkill19ktodayApache-2.0A61Claude Code, Codex
playwright-cliVoltAgent/voltagentSkill11k29d agoMITA52Claude Code
penguin-testing-electronPrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A84Claude Code, Codex
agent-toolvstorm-co/full-stack-ai-agent-templateSkill2.0ktodayMITA66Claude Code