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.
npx skills add fellipeutaka/leon --skill playwrightgit clone --depth 1 https://github.com/fellipeutaka/leonWrote 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.
[](https://agentmods.dev/skills/fellipeutaka/leon/playwright)<a href="https://agentmods.dev/skills/fellipeutaka/leon/playwright"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/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.
<a href="https://agentmods.dev/skills/fellipeutaka/leon/playwright"><img src="https://agentmods.dev/badge/skills/fellipeutaka/leon/playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00109 | $0.01577 |
| Opus 5.5 | $0.00044 | $0.00631 |
| Sonnet 5.5 | $0.00022 | $0.00315 |
| Haiku 4.5 | $0.00011 | $0.00158 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- playwright — 92% identical, 24 lines differ
How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright
Core Workflow
- Analyze - Identify user flows and test scope
- Configure - Set up
playwright.config.ts(see references/configuration.md) - Write tests - Use proper locators, auto-waiting, and assertions
- Organize - Apply fixtures, POM, parallelism (see references/test-organization.md)
- Debug - Use traces, UI mode (see references/debugging.md)
Reference Guide
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: truefor speed - Use
forbidOnly: !!process.env.CIto prevent.onlyleaking to CI
What ships with it
9 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.
- agents/openai.yaml 189 B
- references/advanced.md 7.2 KB
- references/authentication.md 3.8 KB
- references/configuration.md 6.6 KB
- references/debugging.md 3.6 KB
- references/locators-and-actions.md 5.2 KB
- references/network-and-mocking.md 3.7 KB
- references/test-organization.md 5.8 KB
- references/visual-testing.md 3.3 KB
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.
- 3mo ago First seen · 139 lines · 109 tokens per session scan A a7d90aa1c6ea
playwright is a skill published in the GitHub repository fellipeutaka/leon (5 stars, last pushed 4d ago), licensed MIT. It adds 109 tokens to every session and 1,577 once invoked, about $0.0004 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-31.
playwright compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwrightfellipeutaka/leon | Skill | 5 | 4d ago | MIT | A | 109 | Claude Code, Codex |
| cua-driverdavidondrej/skills | Skill | 4.4k | 4d ago | MIT | A | 68 | Claude Code, Codex |
| create-verification-skillget-bb/bb | Skill | 6.2k | today | MIT | A | 57 | Claude Code, Codex |
| codex-computer-usedavidondrej/skills | Skill | 4.4k | 4d ago | MIT | A | 53 | Claude Code, Codex |
| webapp-testinganthropics/skills | Skill | 203k | 15d ago | none | A | 35 | Claude Code |
| test-electron-appPostHog/posthog-foss | Skill | 734 | today | MIT | A | 112 | Claude Code |
| smoke-testSkyvern-AI/skyvern | Skill | 24k | today | AGPL-3.0 | A | 50 | Claude Code, Codex |