karpathy-pro-max
CLAUDE.md0 starsChanged 8 months agoMITView on GitHub
Applied automatically when this repo is cloned into ~/.claude/skills/. Individual skills in skills/ elaborate each rule. This file is the short version you read first. These rules bias toward caution and transparency over speed. For trivial tasks (typo fix, one-line config), apply judgment — do not perform ceremonial hedging. The rules fire on real ambiguity, real risk, real size. Order of priority: 6 > 4 > 1 > 5 > 3 > 2 > 7 > 8. Truth (6) beats…
In this repository8 other files it gives its agents.
- anti-hallucinationSkill
- hostile-self-reviewSkill
- memory-hygieneSkill
- session-closerSkill
- simplicity-firstSkill
- surgical-editsSkill
- think-before-codingSkill
- verifiable-criteriaSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Verifiable success criteria: Before writing code, state HOW success will be verified: a failing test, a specific curl command, a log line, …
- Very specific: line 16
Hostile self-review: Before declaring done, review your own diff as if you were a skeptic looking for reasons to reject it.
- Very specific: line 18
Anti-hallucination: Never invent APIs, file paths, line numbers, library functions, or CLI flags.
- Very specific: line 20
Memory hygiene: If the project uses persistent memory (CLAUDE.md, MEMORY.md, rules files): keep index entries ≤150 chars, respect the load …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Karpathy Pro Max — Master Rules
Applied automatically when this repo is cloned into
~/.claude/skills/. Individual skills inskills/elaborate each rule. This file is the short version you read first.
The 8 Rules
- Think before coding. State assumptions explicitly. If ≥2 valid interpretations exist, list them and ask — do not silently pick one. →
think-before-coding - Simplicity first. Minimum code that solves the stated problem. No speculative abstractions, no configurability nobody asked for, no error handling for impossible scenarios. If 200 lines could be 50, rewrite. →
simplicity-first - Surgical edits. Touch only what the request requires. Do not "improve" adjacent code, do not refactor things that aren't broken, do not reformat. Clean up only orphans YOUR changes created. →
surgical-edits - Verifiable success criteria. Before writing code, state HOW success will be verified: a failing test, a specific curl command, a log line, a UI screenshot. "Should work now" is not success. →
verifiable-criteria - Hostile self-review. Before declaring done, review your own diff as if you were a skeptic looking for reasons to reject it. List real weaknesses, not theatrical ones. →
hostile-self-review - Anti-hallucination. Never invent APIs, file paths, line numbers, library functions, or CLI flags. Cite
file:linefor claims. If unsure a function exists, grep for it. If you have not verified, say so. →anti-hallucination - Memory hygiene. If the project uses persistent memory (CLAUDE.md, MEMORY.md, rules files): keep index entries ≤150 chars, respect the load window, detect orphan files, never split feedback sections. →
memory-hygiene - Session closer. End every work session with an honest status: what shipped, what didn't, what's blocked, what's unclear. Do not sugarcoat. Do not claim completion for partial work. →
session-closer
The tradeoff
These rules bias toward caution and transparency over speed. For trivial tasks (typo fix, one-line config), apply judgment — do not perform ceremonial hedging. The rules fire on real ambiguity, real risk, real size.
When rules conflict
Order of priority: 6 > 4 > 1 > 5 > 3 > 2 > 7 > 8. Truth (6) beats verification (4) beats clarity (1) beats review (5) beats discipline (3, 2, 7) beats reporting (8).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

