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.
git clone --depth 1 https://github.com/blockmatic/basilicWrote 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/rules/blockmatic/basilic/e2e-playwright)<a href="https://agentmods.dev/rules/blockmatic/basilic/e2e-playwright"><img src="https://agentmods.dev/badge/rules/blockmatic/basilic/e2e-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/rules/blockmatic/basilic/e2e-playwright"><img src="https://agentmods.dev/badge/rules/blockmatic/basilic/e2e-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.00000 | $0.00907 |
| Opus 5.5 | $0.00000 | $0.00363 |
| Sonnet 5.5 | $0.00000 | $0.00181 |
| Haiku 4.5 | $0.00000 | $0.00091 |
Grade A, and why
e2e-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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright patterns: @.agents/skills/playwright
Config
- Frontend apps (
apps/web) use Playwright E2E only — no Vitest/Testing Library unit or integration tests - No webServer; URLs from
PLAYWRIGHT_APP_URL/PLAYWRIGHT_API_URL(env or--app/--apiparams) - Fastify: only
--apiparam;test:e2e= URL-based,test:e2e:local= spawn API, poll, run, cleanup - Param format:
--app=URLor--app URL,--api=URLor--api URL - CI: test:e2e:local only (spawn local servers; no Vercel URLs). Loopback
http://localhost:3000/:3001— Portless is skipped in CI (no sudo/CA). Eve is not in the Playwright DAG; spawn pinsEVE_COMMAND_URL/EVE_CHAT_URLtohttp://127.0.0.1:3004/:3005. - Local: Next
test:e2e:local= spawn Fastify + Next, poll, run all projects, kill. Fastifytest:e2e:local= spawn API only. Rootpnpm test:e2e= run both via scripts/run-e2e.mjs - workers: 1, fullyParallel: false — PGLite does not support concurrent writers; tests must run in series
- Do not filter
--project=in spawn scripts; run the full project DAG - Local/CI API spawn sets
ALLOW_TEST=true,RATE_LIMIT_MAX=10000, andCOINS_RATE_LIMIT_MAX=10000(default API limit is 100/min per IP;GET /coinsdefaults to 10) - Local/CI API spawn sets
COINS_USE_FIXTURE=truesoGET /coinsuses checked-in fixture quotes - Local/CI API spawn sets
WEBAUTHN_RP_NAME=Test Appwhen unset (passkey registration requires an RP display name) - Confirm dialogs use
getByRole('alertdialog')(shadcn AlertDialog), notdialog
Projects (dependency graph)
public → auth → setup → {chromium, security, passkey-login}
- public: no storageState
- auth: empty storageState; numbered
01-…06-specs (file-name order is the convention —testMatchonly selects files, it does not impose execution order) - setup:
auth.setup.tswritestest-results/.auth/user.json(depends on auth) - chromium / security:
storageStatefrom setup file - passkey-login: empty storageState; dedicated
[email protected]
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.
- 22d ago Changed · +2 lines 3cd2236e07c5
- 23d ago Changed 33f2dbb1d81b
- 25d ago Changed 738891a56395
- 1mo ago Changed · +1 lines 3b01286cee25
- 1mo ago First seen · 44 lines · 0 tokens per session scan A fcb82613aaed
e2e-playwright is a cursor rule published in the GitHub repository blockmatic/basilic (90 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 907 tokens. 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-09-03.
Other cursor rules, from other repositories
running-tests
How to run tests, check for failures, and rerun specific failing tests — use the :agent variants of slow commands.
demo
Run the Todo example end-to-end demo.
typescript-testing
Use Playwright as the E2E testing framework for critical user flows.
hatch3r-browser-verification
Playwright browser verification protocol for UI changes — spec-run-first invocation contract with non-launderable result tokens, exploratory snapshot-mode driving, and accessibility spot-checks.
hatch3r-testing
Coverage thresholds, mocking strategy, property-based testing, mutation-score targets, flaky test quarantine, and snapshot test discipline.
rules
Agentic Playwright orchestrator -- constitution, workflow, and skills index.