@PrajwalTomar_: BRO this is CRAZY. Karpathy's 4 rules for Claude Code just got turned into a full CLAUDE .md template on Reddit. A deve…
Summary
A developer turned Karpathy's four rules for Claude Code into a full CLAUDE .md template, reportedly boosting coding accuracy from 65% to 94% on a real codebase.
View Cached Full Text
Cached at: 05/22/26, 03:51 PM
BRO this is CRAZY.
Karpathy’s 4 rules for Claude Code just got turned into a full CLAUDE .md template on Reddit.
A developer applied it across a real codebase and watched coding accuracy jump from 65% to 94%.
The full template:
→ No filler openers (“Great question!”, “Of course!”) → Match response length to task complexity → Show 2-3 approaches before any significant task → Flag uncertainty. Never fill gaps with plausible info. → Only modify files related to the current task. No refactoring. → Stop and describe before rewriting existing content → Stop and ask before deleting files or overwriting code → Deploys, pushes, db drops need fresh confirmation every time → Maintain a MEMORY .md logging every decision and what was rejected → Maintain an ERRORS .md so Claude stops repeating failed approaches
CLAUDE .md is not a documentation file.
It’s the difference between Claude Code that ships and Claude Code that breaks.
Want my full Claude Code setup written up? Drop a comment below.
Similar Articles
@humzaakhalid: KARPATHY JUST HANDED EVERY DEVELOPER THE EXACT FILE CLAUDE CODE NEEDED FROM DAY ONE. 65 lines. 110K stars. the cheat co…
Andrej Karpathy created CLAUDE.md, a 65-line configuration file that provides Claude Code with clear rules to avoid common pitfalls like silent assumptions and code bloat, drastically improving developer productivity.
@PrajwalTomar_: Your CLAUDE .md is quietly turning Claude into a yes-man. Almost everyone copied Andrej Karpathy's 4 famous rules into …
The article discusses how common CLAUDE.md rules copied from Andrej Karpathy cause Claude to become a yes-man, and a fix that adds permission for the AI to suggest better approaches.
@PrajwalTomar_: Karpathy complained about Claude making mistakes, someone turned it into 4 rules, and it became the fastest-growing sin…
The author updates a viral GitHub prompt template that drastically reduced Claude's coding errors, introducing eight new rules to solve modern AI agent issues like context loss and workflow conflicts for developers using Claude Code.
@akshay_pachaar: A single 𝗖𝗟𝗔𝗨𝗗𝗘.𝗺𝗱 file just hit 192k GitHub stars. (derived from Karpathy's coding rules) Andrej Karpathy obse…
A single CLAUDE.md file that provides structured behavioral guidelines for Claude Code, derived from Andrej Karpathy's observations on common LLM coding pitfalls, has gained 192k GitHub stars. It aims to prevent over-engineering, reduce wrong assumptions, and enforce simplicity in AI-generated code.
@cyrilXBT: ANDREJ KARPATHY WROTE 65 LINES IN A CLAUDE.MD FILE AND IT JUST HIT NUMBER 1 ON GITHUB TRENDING. Coding accuracy jumped …
Andrej Karpathy's 65-line CLAUDE.md configuration file for Claude Code became #1 on GitHub trending, boosting coding accuracy from 65% to 94% by providing clear operating principles.