playwright

playwright is a skill for Claude Code, Codex from pproenca/dot-skills. It costs 69 tokens per session (1,548 once invoked), scanned A, original, MIT.

A set of practices for writing and reviewing Playwright end-to-end tests for Next.js applications. End-to-end tests operate the application like a user, checking complete flows such as signing in or submitting a form.

In plain words
What is it for?
Use it when writing, debugging, or reviewing Playwright tests, reusing login state, mocking APIs, testing server-rendered features, or configuring test runs in CI.
Why use it?
It helps reduce flaky tests, which are tests that fail unpredictably, and makes test runs easier to maintain and faster in automated build systems. It covers selectors, waiting, authentication, network mocking, and Next.js behavior.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

not rated 230repo +3 3mo ago A scan Socket: passSnyk: passSkillSpector: pass 69 tokens original MIT

Good fit Use it when writing, debugging, or reviewing Playwright tests, reusing login state, mocking APIs, testing server-rendered features, or configuring test runs in CI.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pproenca/dot-skills/playwright"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/playwright.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,548 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. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.01548
Opus 5.5 $0.00028 $0.00619
Sonnet 5.5 $0.00014 $0.00310
Haiku 4.5 $0.00007 $0.00155

Measured 3mo ago against content hash 099d77dba430, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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

Copies of this mod

2 near-identical copies found in the catalogue:

skills/.curated/playwright/SKILL.md · 118 lines

How it starts

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

Playwright + Next.js Testing Best Practices

Comprehensive testing optimization guide for Playwright with Next.js applications. Contains 43 rules across 8 categories, prioritized by impact to guide reliable, fast, and maintainable E2E tests.

When to Apply

Reference these guidelines when:

  • Writing new Playwright tests for Next.js apps
  • Debugging flaky or failing tests
  • Optimizing test execution speed
  • Setting up authentication state reuse
  • Configuring CI/CD pipelines for testing
  • Testing Server Components and App Router features
  • Reviewing test code for reliability issues

Rule Categories by Priority

Priority Category Impact Prefix
1 Test Architecture CRITICAL arch-
2 Selectors & Locators CRITICAL loc-
3 Waiting & Assertions HIGH wait-
4 Authentication & State HIGH auth-
5 Mocking & Network MEDIUM-HIGH mock-
6 Next.js Integration MEDIUM next-
7 Performance & Speed MEDIUM perf-
8 Debugging & CI LOW-MEDIUM debug-

Quick Reference

1. Test Architecture (CRITICAL)

2. Selectors & Locators (CRITICAL)

Read the full file on GitHub · 118 lines

Files

What ships with it

47 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. 3mo ago First seen · 118 lines · 69 tokens per session scan A 099d77dba430

Subscribe to this mod's changes

playwright is a skill published in the GitHub repository pproenca/dot-skills (230 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 1,548 once invoked, about $0.0003 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-08-30.

Related

playwright compared with skills from other repositories

playwright next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
playwrightpproenca/dot-skillsSkill2303mo agoMITA69Claude Code, Codex
eval-dataset-designbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A138Claude Code, Codex
create-verification-skillYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA45Claude Code
verify-omnigentomnigent-ai/omnigentSkill12ktodayApache-2.0A100Claude Code, Codex
test-masterJeffallan/claude-skillsSkill13ktodayMITA104Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex