OpenELIS-Global-2: Skill for Claude Code

.ai/skills/playwright/SKILL.md

playwright is a skill for Claude Code, Codex from DIGI-UW/OpenELIS-Global-2. It costs 82 tokens per session (810 once invoked), scanned A, original, MPL-2.0.

A skill for planning, writing, checking, and debugging Playwright tests. Playwright is a tool that controls a web browser to verify complete user journeys, such as opening a page, submitting a form, and checking the result.

In plain words
What is it for?
Use it to plan browser-test flows, write new tests, audit existing tests for fragile patterns, and diagnose failures using screenshots, traces, and the running page.
Why use it?
It gives a consistent process for creating tests and investigating failures. It emphasizes reading the application source and runtime evidence before changing selectors or test code.

Skill for Claude CodeCodex

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

This is DIGI-UW/OpenELIS-Global-2's own configuration. It tells Claude Code and Codex how to work on OpenELIS-Global-2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenELIS-Global-2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DIGI-UW/OpenELIS-Global-2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DIGI-UW/OpenELIS-Global-2/develop/.ai/skills/playwright/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DIGI-UW/OpenELIS-Global-2

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/digi-uw/openelis-global-2/playwright.svg)](https://agentmods.dev/skills/digi-uw/openelis-global-2/playwright)
Your own site
<a href="https://agentmods.dev/skills/digi-uw/openelis-global-2/playwright"><img src="https://agentmods.dev/badge/skills/digi-uw/openelis-global-2/playwright.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 810 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 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.00082 $0.00810
Opus 5 $0.00041 $0.00405
Sonnet 5 $0.00016 $0.00162
Haiku 4.5 $0.00008 $0.00081

Measured 7d ago against content hash e7ab5a47c8c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-playwright-project.py), 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.

.ai/skills/playwright/SKILL.md · 85 lines

How it starts

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

Playwright Skill

Use this skill when:

  • planning one or multiple Playwright flows for a feature or PR
  • authoring new Playwright tests
  • debugging failing Playwright tests
  • auditing existing tests for flaky selectors or anti-patterns

Primary Entrypoints

  • /plan-record-playwright - plan scope and flow inventory for one or multiple tests, then orchestrate write, audit, run, and recording stages
  • /write-playwright-test - author new tests from requirements and register them correctly in Playwright project allowlists
  • /debug-playwright - failure diagnosis and remediation workflow
  • /audit-playwright - quality and maintainability audit workflow

Lifecycle

For AI-assisted development, prefer this sequence:

  1. /plan-record-playwright
  2. /write-playwright-test
  3. /audit-playwright
  4. /debug-playwright (only when failures persist)

Core Non-Negotiables

  • Read component/page-object/helper source before changing selectors.
  • For failures, inspect screenshot/trace/runtime DOM before changing code.
  • Prefer data-testid, getByRole, and getByLabel over CSS fallback chains.
  • Avoid .first() unless uniqueness is proven and documented.
  • Use videoPause() for demo pacing and avoid page.waitForTimeout() for waits.
  • Do not create new Cypress tests. Cypress is deprecated; all new E2E work must use Playwright.
  • NEVER use response.ok() as the test pass/fail signal. Use waitForResponse for sync, assert on visible UI.
  • NEVER use { force: true } on Carbon inputs. Click the <label> instead.
  • NEVER use .catch(() => false) on isVisible() — it returns boolean directly.
  • ALWAYS include at least one expect() assertion per test.

Execution Invariants

  • Never use npx playwright test (or raw playwright test) to run tests. Always use npm run pw:test and related scripts (pw:test:ui, pw:test:headed, pw:test:video, pw:test:harness, pw:test:core-demo, pw:test:harness-demo, pw:test:demo alias).
  • For harness, harness-demo, and harness-demo-video, verify analyzer harness stack preflight before execution (see /restart-analyzer-harness).
  • TEST_USER and TEST_PASS must be set for all Playwright projects.
  • Utility exceptions are allowed: npx playwright show-trace and npx playwright install.
  • Canonical operational reference: frontend/playwright/README.md.

Read the full file on GitHub · 85 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. 7d ago First seen · 85 lines · 82 tokens per session scan A e7ab5a47c8c8

Subscribe to this mod's changes

playwright is a skill published in the GitHub repository DIGI-UW/OpenELIS-Global-2 (251 stars, last pushed yesterday), licensed MPL-2.0. It adds 82 tokens to every session and 810 once invoked, about $0.0004 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

browse

Drive a real browser through Aside: open a page, read it, click through a flow, take screenshots, check console errors. (gstack).

garrytan/gstack · 32 tokens

playwright-cli

A command-line tool for controlling Chromium, Firefox, and WebKit browsers, including navigation, page interaction, screenshots, PDFs, and recorded actions.

UnicomAI/wanwu · 76 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

anthropics/skills · 35 tokens

browser-qa

A browser-based quality check for deployed web pages and user flows. It uses browser automation to test rendering, navigation, forms, interactions, responsive behaviour, and accessibility-related issues.

hashgraph-online/awesome-codex-plugins · 58 tokens

test-electron-app

Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…

PostHog/posthog-foss · 112 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens