Borrowing it
Nothing to install: this file belongs to karalang/kara. 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/karalang/kara/main/CLAUDE.mdgit clone --depth 1 https://github.com/karalang/karaWrote 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/karalang/kara/claude-md)<a href="https://agentmods.dev/instructions/karalang/kara/claude-md"><img src="https://agentmods.dev/badge/instructions/karalang/kara/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/karalang/kara/claude-md"><img src="https://agentmods.dev/badge/instructions/karalang/kara/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.05322 | $0.05322 |
| Opus 5.5 | $0.02129 | $0.02129 |
| Sonnet 5.5 | $0.01064 | $0.01064 |
| Haiku 4.5 | $0.00532 | $0.00532 |
Grade C, and why
kara 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 2d 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.
rm -rf target/tsan How it starts
The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Guidance for Claude Code (claude.ai/code) in this repository. This is the v2
version, written at M3, when the legacy pipeline was deleted. The pre-M3 file,
with every rule's measured history, is kept verbatim at
docs/legacy/CLAUDE-legacy.md; read the
matching section there before relaxing a rule here.
The gate
Four legs, all clean before any commit lands:
cargo fmt --all -- --check # first action of every session
cargo clippy --all --all-targets -- -D warnings # CI's leg, the one easiest to miss
cargo clippy --all --all-targets --features llvm -- -D warnings # the backend surface
cargo test --all # every workspace crate: front end, MIR, kernel, lsp, runtime
cargo test --features llvm # everything, including the compiled backend
- fmt first. If
--checkfails on a fresh checkout, landcargo fmt --allas a standalonechore: cargo fmt cleanupcommit before feature work. Never fold drift into a feature commit. - Both clippy legs.
--features llvmis not a superset: each cfg has code the other cannot see.--all-targets, never--tests, for the same reason. - Wasm cfgs are invisible to native clippy. When touching runtime code under
a wasm cfg:
cargo clippy -p karac-runtime --target wasm32-wasip1 --no-default-featuresandcargo clippy -p karac-runtime --target wasm32-wasip1-threads --no-default-features --features wasm-threads. --allon the default test leg. Barecargo testtests only the root package, so the kernel, lsp and runtime crates' tests never run; CI runs--all(measured at M3: two kernel reds reached main this way).cargo test lexerruns one test file;cargo test -- <name>runs one test.
LLVM 22
--features llvm builds against LLVM 22 (inkwell llvm22-1, llvm-sys 221).
A cloud container cannot reach apt.llvm.org and Ubuntu's archive stops at 20,
so once per container, before any --features llvm build:
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.
- 2d ago Changed · +1 lines · +28 tokens per session c8d11f236bbd
- 4d ago Changed · +37 lines · +576 tokens per session 5e27db23259b
- 13d ago Changed · +19 lines · +461 tokens per session scan A → C 6ad80880a052
- 15d ago Changed · -289 lines · -19,683 tokens per session 961cb3316c2b
- 17d ago Changed · +82 tokens per session 2c688cca8ef8
- 19d ago Changed · +2 lines · +115 tokens per session d3872bd662d8
- 1mo ago Changed 1cd831b96545
- 1mo ago Changed · +2 lines · +147 tokens per session 901e551d5788
- 1mo ago Changed · +12 lines · +664 tokens per session afe22deb99bf
- 1mo ago First seen · 560 lines · 22,932 tokens per session scan A 3f1fb76092a7
kara CLAUDE.md is an instructions file published in the GitHub repository karalang/kara (45 stars, last pushed yesterday), licensed Apache-2.0. It adds 5,322 tokens to every session, about $0.0213 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-30.
kara CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kara CLAUDE.mdkaralang/kara | Instructions file | 45 | yesterday | Apache-2.0 | C | 5,322 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,649 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode ai-customization.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 1,907 | GitHub Copilot |