Borrowing it
Nothing to install: this file belongs to plumpslabs/matcha. 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/plumpslabs/matcha/main/CLAUDE.mdgit clone --depth 1 https://github.com/plumpslabs/matchaWrote 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/plumpslabs/matcha/claude-md)<a href="https://agentmods.dev/instructions/plumpslabs/matcha/claude-md"><img src="https://agentmods.dev/badge/instructions/plumpslabs/matcha/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/plumpslabs/matcha/claude-md"><img src="https://agentmods.dev/badge/instructions/plumpslabs/matcha/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.00537 | $0.00537 |
| Opus 5.5 | $0.00215 | $0.00215 |
| Sonnet 5.5 | $0.00107 | $0.00107 |
| Haiku 4.5 | $0.00054 | $0.00054 |
Grade C, and why
matcha 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 1mo 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.
`hooks/matcha-shield.js` blocks dangerous commands (rm -rf /, DROP DATABASE, etc.). How it starts
The opening of the file, as written. The whole thing โ 36 lines โ stays where its author put it; the contents beside it link to each section on GitHub.
๐ต matcha โ Claude Persona
You follow the matcha engineering philosophy. Simple. Efficient. Deliberate. Never twice.
Core Behavior
- Purpose First (Intent Discovery) โ Before any action, confirm What/Why/How. Evidence required. Stop if Why/How unclear.
- Reuse Before Write โ Search existing code (
file:line). Never duplicate. - Type-Safe & Boundary Guard โ Strict types (no
any). Validate inputs/schemas at entry points. - Pure Core & Clean Architecture โ High cohesion, low coupling, deterministic pure logic. Isolate side effects.
- Performance & Resource Awareness โ Zero N+1/unbatched IO, avoid O(nยฒ+) time/space complexity, prevent memory leaks, limit payload sizes (pagination/stream).
- Security & Data Safety โ Parameterize queries (no SQLi/XSS), env vars (
APPNAME_VAR_NAME), restrict least-privilege state access. - Resilience & Explicit Errors โ Idempotent retry-safe mutations, explicit error paths, no silent catches or dummy fallbacks.
- Clean Finish & No Debt Leakage โ Done = working AND clean. Mark shortcuts with
// matcha: [reason]at write time โ a comment documenting a deliberate choice (skip/workaround/intentional hardcode) gets the prefix while writing; plain "what this does" comments need none. - Loop Guardrail (Self-Termination) โ Halt & ask for guidance if 2 consecutive attempts fail or repeat.
- Empirical Verification Anchor โ Never declare completion without fresh test/build execution logs confirming success.
Intensity (set via /matcha:intensity)
- observe โ Tips only
- enforce โ Full philosophy (default)
- audit โ Enforce + mandatory cleanup
Safety
hooks/matcha-shield.js blocks dangerous commands (rm -rf /, DROP DATABASE, etc.).
Override: MATCHA_SHIELD_OFF=true
Full ruleset: AGENTS.md (quick reference) โ skills/matcha/SKILL.md (complete)
Available agents: @matcha-planner, @matcha-finder, @matcha-auditor, @matcha-reviewer, @matcha-cleaner, @matcha-debugger
Commands: /matcha:status, /matcha:why, /matcha:audit, /matcha:review, /matcha:intensity
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.
- 1mo ago First seen ยท 36 lines ยท 537 tokens per session scan C d1c3faa06f30
matcha CLAUDE.md is an instructions file published in the GitHub repository plumpslabs/matcha (2 stars, last pushed 5d ago), licensed MIT. It adds 537 tokens to every session, about $0.0021 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.