Borrowing it
Nothing to install: this file belongs to wxhou/openspec-playwright. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wxhou/openspec-playwright/main/CLAUDE.mdgit clone --depth 1 https://github.com/wxhou/openspec-playwrightWrote 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/instructions/wxhou/openspec-playwright/claude-md)<a href="https://agentmods.dev/instructions/wxhou/openspec-playwright/claude-md"><img src="https://agentmods.dev/badge/instructions/wxhou/openspec-playwright/claude-md/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/instructions/wxhou/openspec-playwright/claude-md"><img src="https://agentmods.dev/badge/instructions/wxhou/openspec-playwright/claude-md.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.01796 | $0.01796 |
| Opus 5.5 | $0.00718 | $0.00718 |
| Sonnet 5.5 | $0.00359 | $0.00359 |
| Haiku 4.5 | $0.00180 | $0.00180 |
Grade C, and why
openspec-playwright CLAUDE.md scanned grade C with 1 finding 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 3d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- Periodically regenerate lockfile: `rm -rf node_modules package-lock.json && npm install` How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
openspec-playwright
Setup tool for OpenSpec + Playwright E2E integration.
Project Structure
src/commands/init.ts—openspec-pw initsetup logicsrc/commands/doctor.ts—openspec-pw doctorprerequisites checkertemplates/e2e-command.md— E2E workflow template, installed as/opsx:e2e//opsx-e2eon command-based editors and as anopsx-e2eskill on MiniMax Code and DeepSeek Harness.claude/commands/opsx/e2e.md— Claude Code command (installed copy)templates/seed.spec.ts— Playwright seed test templatetemplates/auth.setup.ts— Authentication setup (API + UI login)templates/credentials.yaml— Test credentials configuration
Key Files
package.json— ESM module, Node >= 20src/index.ts— CLI entry with commander
Build & Test
npm run build
npm run test:run # all tests (requires build first)
npm run test:smoke # build + smoke tests only
npm run lint # ESLint
npm run typecheck # TypeScript type-check
CI / Release
- CI runs on every push to
mainand every PR — lint, typecheck, build, tests - Release runs on tag push (
v*) — verify job must pass before publish job runs - PR vs direct-push tiering: multi-file changes over 200 lines → go through a PR (CI gates before merge); everything else —
src/touches, single-file work,docs/static-site changes, release-related commits — → push straight tomain(authorization required first; push triggers CI either way — a red main gets an immediate fix) - PR authorization gate 🔴 (only for changes that go through PR): creating a PR (including pushing the branch) and merging both require explicit user authorization — when the change is done and gates are green, report and stop; once CI is green, report again and stop, waiting for merge authorization. No pushing or merging without authorization. For direct pushes to
main: user authorization is still required before commit + push; report the CI result after pushing. - Version lock: Only publish the exact version explicitly requested by the user. Never bump
package.json, create a new tag, or runnpm version patch/minor/majorunless the user has named that target version. - If the requested version already exists in npm or the release job fails on publish, do not invent a new version number on your own. Stop and report the blocker unless the user explicitly approves a new version.
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.
- 3d ago Changed · +43 tokens per session 3bea8b33f00d
- 6d ago Changed · -6 lines · -72 tokens per session c347ccfff88c
- 20d ago Changed e3d9dae43d5d
- 1mo ago Changed · -28 tokens per session d1e7ba2df857
- 1mo ago Changed · +24 tokens per session ee2c7f6824e3
- 1mo ago Changed · -1 tokens per session be938e3dd507
- 1mo ago Changed · +1 lines · +68 tokens per session 18d701758a7c
- 1mo ago Changed · +10 lines · +262 tokens per session 0d3063b19296
- 2mo ago First seen · 122 lines · 1,500 tokens per session scan C 45ddd5684285
openspec-playwright CLAUDE.md is an instructions file published in the GitHub repository wxhou/openspec-playwright (11 stars, last pushed yesterday), licensed MIT. It adds 1,796 tokens to every session, about $0.0072 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.