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 PyModel/react-frontend-skills --skill playwrightgit clone --depth 1 https://github.com/PyModel/react-frontend-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/pymodel/react-frontend-skills/playwright)<a href="https://agentmods.dev/skills/pymodel/react-frontend-skills/playwright"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/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/pymodel/react-frontend-skills/playwright"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/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.00014 | $0.01517 |
| Opus 5.5 | $0.00006 | $0.00607 |
| Sonnet 5.5 | $0.00003 | $0.00303 |
| Haiku 4.5 | $0.00001 | $0.00152 |
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.
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.
This is a copy
92% identical to playwright — 29 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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright + Next.js Testing Best Practices
Comprehensive testing optimization guide for Playwright with Next.js applications. Contains 45 rules across 8 categories, prioritized by impact to guide reliable, fast, and maintainable E2E tests.
When to Apply
Reference these guidelines when:
- Writing new Playwright tests for Next.js apps
- Debugging flaky or failing tests
- Optimizing test execution speed
- Setting up authentication state reuse
- Configuring CI/CD pipelines for testing
- Testing Server Components and App Router features
- Reviewing test code for reliability issues
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Test Architecture | CRITICAL | arch- |
| 2 | Selectors & Locators | CRITICAL | loc- |
| 3 | Waiting & Assertions | HIGH | wait- |
| 4 | Authentication & State | HIGH | auth- |
| 5 | Mocking & Network | MEDIUM-HIGH | mock- |
| 6 | Next.js Integration | MEDIUM | next- |
| 7 | Performance & Speed | MEDIUM | perf- |
| 8 | Debugging & CI | LOW-MEDIUM | debug- |
Quick Reference
1. Test Architecture (CRITICAL)
arch-test-isolation- Use fresh browser context for each testarch-parallel-execution- Enable parallel test executionarch-page-object-model- Use Page Object Model for complex pagesarch-fixtures- Use fixtures for shared setuparch-test-production- Test against production buildsarch-cleanup-state- Clean up test state after each test
2. Selectors & Locators (CRITICAL)
loc-role-selectors- Use role-based selectors over CSSloc-data-testid- Use data-testid for dynamic elementsloc-label-selectors- Use getByLabel for form inputsloc-text-selectors- Use getByText for static contentloc-avoid-xpath- Avoid XPath selectorsloc-chained-locators- Chain locators for specificityloc-placeholder-selector- Use getByPlaceholder sparinglyloc-frame-locator- Locate elements inside iframes with frameLocator
What ships with it
45 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.
- references/arch-cleanup-state.md 2.5 KB
- references/arch-fixtures.md 2.5 KB
- references/arch-page-object-model.md 2.4 KB
- references/arch-parallel-execution.md 2.5 KB
- references/arch-test-isolation.md 1.7 KB
- references/arch-test-production.md 2.0 KB
- references/assert-aria-snapshots.md 2.1 KB
- references/auth-api-login.md 2.7 KB
- references/auth-multiple-roles.md 3.2 KB
- references/auth-parallel-workers.md 3.0 KB
- references/auth-session-storage.md 3.2 KB
- references/auth-storage-state.md 2.7 KB
- references/debug-ci-reporters.md 1.9 KB
- references/debug-inspector.md 2.1 KB
- references/debug-screenshots-videos.md 2.1 KB
- references/debug-trace-viewer.md 2.2 KB
- references/loc-avoid-xpath.md 2.1 KB
- references/loc-chained-locators.md 2.7 KB
- references/loc-data-testid.md 2.3 KB
- references/loc-frame-locator.md 2.2 KB
- references/loc-label-selectors.md 2.3 KB
- references/loc-placeholder-selector.md 2.3 KB
- references/loc-role-selectors.md 1.9 KB
- references/loc-text-selectors.md 2.1 KB
- references/mock-abort-requests.md 2.6 KB
- references/mock-api-responses.md 2.5 KB
- references/mock-har-files.md 2.9 KB
- references/mock-intercept-modify.md 2.6 KB
- references/mock-network-conditions.md 2.7 KB
- references/next-app-router-navigation.md 2.7 KB
- references/next-baseurl-config.md 2.6 KB
- references/next-server-actions.md 2.8 KB
- references/next-server-components.md 2.7 KB
- references/next-wait-hydration.md 2.8 KB
- references/perf-browser-selection.md 2.7 KB
- references/perf-headless-ci.md 2.1 KB
- references/perf-retries.md 2.6 KB
- references/perf-reuse-server.md 2.4 KB
- references/perf-sharding.md 2.5 KB
- references/wait-action-retries.md 2.5 KB
- references/wait-avoid-hard-waits.md 2.6 KB
- references/wait-custom-timeout.md 2.4 KB
- references/wait-network-idle.md 2.2 KB
- references/wait-soft-assertions.md 2.8 KB
- references/wait-web-first-assertions.md 2.4 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.
- 20d ago Changed · -2 lines · -55 tokens per session 9fa034f7918d
- 27d ago Changed · +1 lines d55dadf010ac
- 1mo ago First seen · 116 lines · 69 tokens per session scan A 1c2be543385c
playwright is a skill published in the GitHub repository PyModel/react-frontend-skills (37 stars, last pushed 3d ago), licensed MIT. It adds 14 tokens to every session and 1,517 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to playwright, differing in 29 lines, and is treated as a copy.
Other skills, from other repositories
lov-runtime-verification
Verify client runtime fixes on actual desktop builds, physical iOS/Android devices, React Native/Flutter hosts, and deployed Web/PWA browsers with comparable workloads and lifecycle checks.
browser-qa
Use when you need lightweight browser QA for a web page, local HTML file, or app: inspect console errors, broken assets, keyboard/focus behavior, viewport readability, and publish evidence-backed findings JSON through a local HTML report viewer.
screen-reader-testing
Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.
e2e-testing-patterns
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.
test-runner
For a code change, pick the right test tier by change surface, run apc test with baseline diff, and report only NEW reds vs baseline back to the task's acceptance criterion. Separates envblocked from SUT red so a broken machine never fails the code.
running-livekit-simulations
Runs LiveKit agent simulations and acts on the results. Use when the user says "run my simulations", "regression test my agent before deploying", "run the scenarios", "use lk agent simulate", "did my agent pass", "why did this scenario fail", "run simulations in CI", "test the audio pipeline", "check turn-taking and…