playwright-standard

playwright-standard is a skill for Claude Code, Codex from neverinfamous/memory-journal-mcp. It costs 116 tokens per session (705 once invoked), scanned A, original, MIT.

Playwright testing guidance for checking websites and APIs in real browsers. These are end-to-end tests, meaning they verify complete user flows across the application's interface and services.

In plain words
What is it for?
Use it for end-to-end, browser, UI, API, component, and visual tests, including Page Object Model design, failure debugging, and continuous-integration setup.
Why use it?
It helps make browser tests less fragile by using accessible page elements, automatic waiting, isolated test data, reusable login state, and controlled external services.

Skill for Claude CodeCodex

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

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/neverinfamous/memory-journal-mcp/playwright-standard
Any agent
npx skills add neverinfamous/memory-journal-mcp --skill playwright-standard
Clone the repo
git clone --depth 1 https://github.com/neverinfamous/memory-journal-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/playwright-standard.svg)](https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/playwright-standard)
Your own site
<a href="https://agentmods.dev/skills/neverinfamous/memory-journal-mcp/playwright-standard"><img src="https://agentmods.dev/badge/skills/neverinfamous/memory-journal-mcp/playwright-standard.svg" alt="Measured on agentmods" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 705 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.1 $0.00116 $0.00705
Opus 5 $0.00058 $0.00352
Sonnet 5 $0.00023 $0.00141
Haiku 4.5 $0.00012 $0.00071

Measured 6d ago against content hash 8ac50f077911, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

playwright-standard 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (examples/fixtures.ts, examples/type-stubs.d.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.

skills/playwright-standard/SKILL.md · 54 lines

How it starts

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

Playwright Standard

This skill combines battle-tested coding standards with industrial-scale infrastructure guidance. It is designed to keep agents on the "Golden Path" of modern Playwright development while providing deep reference for niche environments.

Golden Rules (Mandatory)

  1. getByRole() over CSS/XPath — Resilient to markup changes, mirrors how users see the page.
  2. Never page.waitForTimeout() — Use expect(locator).toBeVisible() or page.waitForURL().
  3. Web-first assertionsexpect(locator) auto-retries; expect(await locator.textContent()) does not.
  4. Isolate every test — Every test must run independently in any order (no shared state).
  5. Fixtures over globals — Share state via test.extend(), not module-level variables.
  6. baseURL in config — ZERO hardcoded URLs in test files.
  7. Auth: Reuse storage state — Use browserContext.storageState to avoid UI login in every test. Store storageState files in .gitignored paths (e.g., playwright/.auth/). Never commit auth state files to version control.
  8. Network: Mock third-party only — Never mock your own app; mock external APIs, gateways, and emails.
  9. Traces: 'on-first-retry' — High-fidelity debugging without CI performance penalties.
  10. One behavior per test — Avoid "mega-tests": keep focus narrow and assertions meaningful.

Quality Standards

Locators Priority

See locators.md for the strict hierarchy of Playwright locator strategies (Role > Label > TestID).

Synchronization

  • Do: await expect(locator).toBeVisible()
  • Avoid: await page.waitForSelector('.btn')
  • Avoid: await page.waitForLoadState('networkidle') (Flaky on high-latency networks)

Specialized References (Load On-Demand)

For infrastructure, scale, or niche environments, read the relevant reference file:

Scenario Reference File
CI/CD, Sharding, Docker infrastructure.md
Electron, WebSockets, Canvas advanced-scenarios.md
Visual, Accessibility, API advanced-scenarios.md

Read the full file on GitHub · 54 lines

Files

What ships with it

5 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. 6d ago First seen · 54 lines · 116 tokens per session scan A 8ac50f077911

Subscribe to this mod's changes

playwright-standard is a skill published in the GitHub repository neverinfamous/memory-journal-mcp (20 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 705 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

11-browser-qa

Run post-review browser QA and produce short named videos for a locked happy path and sourced browser edge cases. Use when the user wants concise reviewer evidence for a web journey. Not for API, CLI, automated tests, diff review, or application fixes.

ai-driven-dev/framework · 55 tokens

06-test

Write and iterate tests until they pass, or validate a user journey end to end in the browser. Use when the user wants to add coverage, find what's untested, or walk a flow. Not for auditing test health or debugging a failure.

ai-driven-dev/framework · 52 tokens

e2e-setup

Set up Playwright e2e automation tailored to this team and app. Probes the running app (auth mechanism, API surface, spec availability), interviews with recommendations instead of open questions, scaffolds the playwright/ folder, and records every decision in playwright/AUTOMATION.md for the other e2e skills to read.…

TimothyHan/qa-buddy-skills · 152 tokens

verify-fix

Re-test a bug fix after a developer resolves it. Pulls the original bug from Jira, re-executes the repro steps in the browser, checks for regressions, and updates the bug status. The final step in the SDT workflow before a ticket moves to Done. Use when: "verify fix", "retest", "is this fixed?", "check BUG-123"…

TimothyHan/qa-buddy-skills · 116 tokens

browser-journey-test

Validate user stories by simulating real user journeys in a live browser against deployed application. Activate after implementation to verify actual user experience against acceptance criteria, not just code logic.

digipulse-engineering/GAAI-framework · 40 tokens

browser-qa

Use to exercise the running app in a real browser — after UI changes, before ship, or when the user asks to QA the site, smoke-test a branch, or check "does it actually work". Drives affected routes headlessly via Playwright, captures console errors, failed requests, and screenshots, and produces a report with a…

AbdurRafay2004/handoff · 85 tokens