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 (937 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/github.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/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/digi-uw/openelis-global-2/playwright"><img src="https://agentmods.dev/badge/skills/digi-uw/openelis-global-2/playwright.svg" alt="Reviewed on agentmods" width="80" 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 937 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
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 58
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 65
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 66
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00082 $0.00937
Opus 5.5 $0.00033 $0.00375
Sonnet 5.5 $0.00016 $0.00187
Haiku 4.5 $0.00008 $0.00094

Measured 20d ago against content hash a2476d8dd8bc, 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 20d 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 · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 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.
  • Isolation (Constitution V.7): write and read only data the spec seeded. Scope every list, count, rate, or enabled state to your seeded IDs or assert a before and after delta; a date window is not a scope. Never widen an assertion because other data might be present. Use explicit dates and freeze or inject the clock used by the code under test when it reads the current time, including the server clock when applicable. A live server's "today" is not pinned time. For current-date behavior, set that clock to the dates or boundaries being exercised.

Read the full file on GitHub · 93 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. 20d ago Changed · +8 lines a2476d8dd8bc
  2. 22d ago Changed ba78ce477961
  3. 1mo 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 (272 stars, last pushed today), licensed MPL-2.0. It adds 82 tokens to every session and 937 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

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

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

create-verification-skill

Create a repo-local verification skill and exhaustive feature map for driving a real app through its UI, CLI, or API. Use for "create a verification skill", "make a verify skill for this repo", or "document how agents can verify this app".

get-bb/bb · 57 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

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

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