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 AsyrafHussin/agent-skills --skill e2e-playwright-testinggit clone --depth 1 https://github.com/AsyrafHussin/agent-skillsWrote 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/asyrafhussin/agent-skills/e2e-playwright-testing)<a href="https://agentmods.dev/skills/asyrafhussin/agent-skills/e2e-playwright-testing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/e2e-playwright-testing/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/asyrafhussin/agent-skills/e2e-playwright-testing"><img src="https://agentmods.dev/badge/skills/asyrafhussin/agent-skills/e2e-playwright-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
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.00074 | $0.01813 |
| Opus 5.5 | $0.00030 | $0.00725 |
| Sonnet 5.5 | $0.00015 | $0.00363 |
| Haiku 4.5 | $0.00007 | $0.00181 |
Grade A, and why
e2e-playwright-testing 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.
E2E Playwright Testing
Patterns and conventions for reliable end-to-end browser testing with Playwright.
Comprehensive E2E testing guide for web applications. Contains 8 rules across 6 categories covering locator strategies, authentication reuse, form testing (including React/SPA-specific gotchas), assertions, test organization, reliability, and CI/CD configuration.
Stack Detection
Before writing or reviewing E2E tests, detect the project stack:
Step 1 — Check for Playwright
# Look in package.json devDependencies:
# "@playwright/test" → Playwright is installed
# Check for playwright.config.js or playwright.config.ts
- If
@playwright/testis present → use Playwright patterns from this skill - If
cypressis present → this skill does not apply
Step 2 — Detect Frontend Framework
# Check package.json dependencies:
# "react" + "@inertiajs/react" → React + Inertia.js (SPA with server routing)
# "react" + "react-router" → React SPA
# "vue" → Vue.js
# "next" → Next.js
Why this matters:
- React + Inertia.js: Use
waitForURLnotwaitForLoadState('networkidle')— Inertia useshistory.pushState - React controlled inputs:
fill()works for text butkeyboard.type()needed for date/time - SPA navigation: Page doesn't do full reload — assertions must wait for content, not network idle
Step 3 — Detect Auth Pattern
# Check for session-based (Laravel Sanctum) or token-based (JWT) auth
# Session: storageState saves cookies
# Token: may need to save tokens to localStorage
Step 4 — Detect Rate Limiting
# Check routes for throttle middleware
# If present in dev, tests will hit 429 after ~5 login attempts
# Solution: production-only throttle or increase limits in test env
Metadata
- Version: 1.0.0
- Rule Count: 8 rules across 6 categories
- License: MIT
When to Apply
- Writing or reviewing Playwright E2E tests
- Setting up E2E testing for a new project
- Debugging flaky browser tests
- Testing form submissions, authentication flows, or user interactions
- Choosing locator strategies for elements
- Configuring Playwright for CI/CD
What ships with it
13 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.md 27 KB
- metadata.json 2.1 KB
- README.md 1.1 KB
- rules/_sections.md 2.1 KB
- rules/_template.md 431 B
- rules/assert-web-first.md 2.5 KB
- rules/auth-storage-state.md 3.7 KB
- rules/form-custom-checkboxes.md 2.4 KB
- rules/form-react-date-inputs.md 2.8 KB
- rules/loc-prefer-role-locators.md 2.0 KB
- rules/loc-strict-mode.md 2.3 KB
- rules/org-mirror-routes.md 2.0 KB
- rules/rel-no-wait-for-timeout.md 2.1 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.
- today Changed 26f4ea32fb4f
- 3mo ago First seen · 234 lines · 74 tokens per session scan A dacfd2e824fa
e2e-playwright-testing is a skill published in the GitHub repository AsyrafHussin/agent-skills (111 stars, last pushed today), licensed MIT. It adds 74 tokens to every session and 1,813 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.
e2e-playwright-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| e2e-playwright-testingAsyrafHussin/agent-skills | Skill | 111 | today | MIT | A | 74 | Claude Code, Codex |
| browser-checkjjanczur/tyran | Skill | 78 | 8d ago | Apache-2.0 | A | 58 | Claude Code |
| write-e2egreglas75/zuvo | Skill | 7 | today | MIT | A | 101 | Claude Code |
| browser-testalfredolopez80/multi-agent-ralph-loop | Skill | 146 | 2mo ago | none | A | 83 | Claude Code |
| e2e-testingNmor/the-claude-council | Skill | 12 | 2mo ago | none | A | 70 | Claude Code, Codex |
| cua-driverdavidondrej/skills | Skill | 4.4k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| create-verification-skillget-bb/bb | Skill | 6.2k | today | MIT | A | 57 | Claude Code, Codex |