playwright

A skill for creating and maintaining Playwright browser tests. Playwright is a tool that automates web browsers so developers can test user flows such as logging in, filling forms, and navigating pages.

In plain words
What is it for?
Use it to analyze test scope, configure Playwright, write browser tests, organize fixtures and page objects, test APIs or multiple roles, run visual checks, and debug with traces or UI mode.
Why use it?
It provides guidance for choosing selectors, waiting for page changes, organizing tests, handling authentication, mocking network calls, and investigating flaky failures. This makes browser tests easier to maintain and debug.

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/luizedupp/rememb/playwright
Any agent
npx skills add LuizEduPP/Rememb --skill playwright
Clone the repo
git clone --depth 1 https://github.com/LuizEduPP/Rememb

Made for: Claude Code, Codex.

Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,652 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% 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 $0.00023 $0.01652
Opus 5 $0.00012 $0.00826
Sonnet 5 $0.00005 $0.00330
Haiku 4.5 $0.00002 $0.00165

Measured 2d ago against content hash 2f0b43e4db2e, 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 2d 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

This is a copy

92% identical to playwright — 24 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.

src/rememb_skills/playwright/SKILL.md · 153 lines

How it starts

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

Playwright

Core Workflow

  1. Analyze - Identify user flows and test scope
  2. Configure - Set up playwright.config.ts (see references/configuration.md)
  3. Write tests - Use proper locators, auto-waiting, and assertions
  4. Organize - Apply fixtures, POM, parallelism (see references/test-organization.md)
  5. Debug - Use traces, UI mode (see references/debugging.md)

References

Load based on context:

Topic Reference Load When
Locators & Actions references/locators-and-actions.md Writing selectors, filling forms, clicking, drag-and-drop
Test Organization references/test-organization.md Fixtures, parallel execution, retries, sharding, timeouts, annotations
Authentication references/authentication.md Login flows, multi-role tests, storageState
Network & Mocking references/network-and-mocking.md API mocking, route interception, HAR recording, API testing
Visual Testing references/visual-testing.md Screenshots, snapshots, ARIA snapshots, visual regression
Debugging references/debugging.md Flaky tests, trace viewer, UI mode, debug flags
Configuration references/configuration.md playwright.config.ts, projects, web server, CI/CD, reporters
Advanced references/advanced.md Clock mocking, evaluate, component testing, POM, accessibility

Critical Rules

MUST DO

  • Use getByRole() > getByLabel() > getByTestId() > getByText() (in priority order)
  • Use web-first assertions: await expect(locator).toBeVisible() (auto-retries)
  • Keep tests independent - no shared mutable state between tests
  • Enable trace: 'on-first-retry' for debugging failures
  • Use fullyParallel: true for speed
  • Use forbidOnly: !!process.env.CI to prevent .only leaking to CI

Read the full file on GitHub · 153 lines

Files

What ships with it

8 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. 2d ago First seen · 153 lines · 0 tokens per session scan A 2f0b43e4db2e

Subscribe to this mod's changes

playwright is a skill published in the GitHub repository LuizEduPP/Rememb (4 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 1,652 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to playwright, differing in 24 lines, and is treated as a copy.

Related

Other skills, from other repositories

claude-api

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…

Prismer-AI/PrismerCloud · 193 tokens

agent-coordination

Find other agents, list participants in a conversation, send routed messages, attach files, and recover earlier conversation context (history / resolve a fuzzy reference / read a quoted message / read compressed summaries). Use whenever you need to delegate to another agent, address a peer in a multi-agent…

Prismer-AI/PrismerCloud · 122 tokens

image-generate

Generate an image from a text prompt via the cloud LLM image proxy, persist it as a content-addressed workspace asset, and return a ContentBlock that downstream renderers can attach. Use whenever the user asks "draw / generate / make an image of …", an agent needs a diagram / illustration as a follow-up artifact, or a…

Prismer-AI/PrismerCloud · 103 tokens

claim-agent-ownership

Orchestrator skill for resolving multi-daemon binding contention. Use when you (the orchestrator) detect an agent.binding.contested sync event indicating two daemons are racing for the same agent — explicitly rebind ownership to a chosen target daemon so subsequent dispatches route deterministically. Implements Gap…

Prismer-AI/PrismerCloud · 101 tokens

prismer-im-collab

Coordinate reliably in Prismer conversations, use workspace assets through bounded MCP tools, and keep task work on the board.

Prismer-AI/PrismerCloud · 30 tokens

human-approval

Request human approval before performing a SAFETY-CRITICAL, IRREVERSIBLE, or SCOPE-EXPANDING action — submit a structured context (action, scope, risk, consequence) plus options, then STOP the current turn. The platform redispatches the agent after the human decides. NEVER use for routine deliverables (writing docs /…

Prismer-AI/PrismerCloud · 168 tokens