Borrowing it
Nothing to install: this file belongs to damiansire/web-worker-patterns. 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/damiansire/web-worker-patterns/main/CLAUDE.mdgit clone --depth 1 https://github.com/damiansire/web-worker-patternsWrote 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/damiansire/web-worker-patterns/claude-md)<a href="https://agentmods.dev/instructions/damiansire/web-worker-patterns/claude-md"><img src="https://agentmods.dev/badge/instructions/damiansire/web-worker-patterns/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/damiansire/web-worker-patterns/claude-md"><img src="https://agentmods.dev/badge/instructions/damiansire/web-worker-patterns/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.01000 | $0.01000 |
| Opus 5.5 | $0.00400 | $0.00400 |
| Sonnet 5.5 | $0.00200 | $0.00200 |
| Haiku 4.5 | $0.00100 | $0.00100 |
Grade A, and why
web-worker-patterns CLAUDE.md 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 23d 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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Cómo trabajar en este repo: fases y convenciones de código. El diseño vive en
ARQUITECTURA-multi-theme.md; los gates, el
tooling y el loop de design-review viven en
docs/AI-PROCESS.md. Este archivo era referenciado por
AGENTS.md/docs/AI-PROCESS.md como fuente de verdad pero no existía: se
creó el 2026-07-10.
Fases
- Cambios chicos y acotados, que se lean como diff: no reescrituras masivas.
- Un ejemplo nuevo = un commit por paso lógico (worker + logic.ts con test →
registro en
examples.registry.ts→ i18n → wiring por theme), no todo junto. - Parar a mostrar al terminar un hito: gates verdes (
npm run format:check,npm run build,npm test,npm run lint:boundaries), sin warnings nuevos. - Tests antes que UI: la lógica pura (
*.logic.ts) se valida con un test unitario sinTestBedantes de cablear la pantalla que la consume. - Si tocás
core/domain/, dejá un test que lo cubra.
Convenciones de código
- Commits: Conventional Commits en español (
feat(scope): …,fix(scope): …,chore(scope): …). Sin atribución a IA niCo-Authored-By. - Angular moderno únicamente: standalone components, signals
(
signal/computed/effect/input/output),inject(),ChangeDetectionStrategy.OnPushen todo componente (la app es zoneless). Nada deNgModuleni inyección por constructor. - La regla de oro (ver
AGENTS.md):core/nunca importa dethemes/. La lógica de Web Workers vive encore/domain/workers/, nunca en un theme. - Nombres por dominio: un servicio/signal se nombra por lo que significa
para el ejemplo (
workerPoolStatus,threadLane), no por su mecanismo interno (state,data,handler). - Override del compilador de ESLint (
overridesenpackage.json):@angular-eslint/bundled-angular-compilerapunta a@angular/compilerreal porque angular-eslint 22.5 embebe el compilador 22.1, que no parsea@boundary. Al subir Angular, subí también la versión de ese override (tiene que ser la misma que@angular/compiler). Sacalo cuando angular-eslint embeba un compilador >= 22.2. @boundary+viewChild(Angular 22.2): al descartar la vista rota, losviewChilddeclarados dentro del bloque tiran un NG0600 que pisa a$error. Por eso el fallback del example-layout no muestra$error; el error original llega primero alErrorHandler.- No agregues abstracciones para un caso de uso único; no diseñes para requisitos hipotéticos.
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.
- 23d ago Changed · -1 lines · -36 tokens per session e68387742303
- 1mo ago Changed · -1 tokens per session a3781ad53a24
- 1mo ago Changed · +10 lines · +189 tokens per session bddc4a91b39a
- 2mo ago First seen · 57 lines · 848 tokens per session scan A 5dfa2bac0dcb
web-worker-patterns CLAUDE.md is an instructions file published in the GitHub repository damiansire/web-worker-patterns (173 stars, last pushed 11d ago), licensed MIT. It adds 1,000 tokens to every session, about $0.0040 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.
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).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.