agentleFS
fbsmna-coderfbsmna-coder/karpathy-pro-max/CLAUDE.md

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…

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
  1. Very specific:

    Verifiable success criteria: Before writing code, state HOW success will be verified: a failing test, a specific curl command, a log line, …

    line 14
  2. Very specific:

    Hostile self-review: Before declaring done, review your own diff as if you were a skeptic looking for reasons to reject it.

    line 16
  3. Very specific:

    Anti-hallucination: Never invent APIs, file paths, line numbers, library functions, or CLI flags.

    line 18
  4. Very specific:

    Memory hygiene: If the project uses persistent memory (CLAUDE.md, MEMORY.md, rules files): keep index entries ≤150 chars, respect the load …

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Karpathy Pro Max — Master Rules

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.

The 8 Rules

  1. Think before coding. State assumptions explicitly. If ≥2 valid interpretations exist, list them and ask — do not silently pick one. → think-before-coding
  2. 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
  3. 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
  4. 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
  5. 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
  6. Anti-hallucination. Never invent APIs, file paths, line numbers, library functions, or CLI flags. Cite file:line for claims. If unsure a function exists, grep for it. If you have not verified, say so. → anti-hallucination
  7. 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
  8. 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.