{"repo":"white-sand-grand/karpathy-claude-md","free":true,"listed":false,"github":"https://github.com/white-sand-grand/karpathy-claude-md","clone":"git clone https://github.com/white-sand-grand/karpathy-claude-md.git","description":"Internal Andrej Karpathy CLAUDE.md rules for Claude Code, fixes common LLM code generation flaws. Sourced from X leak, for learning & research.","language":null,"stars":30,"topics":["claude-code","claude-md","karpathy","ai-agents","ai-coding"],"license":null,"category":"ai-agents","readme_excerpt":"README.md Karpathy Official CLAUDE.md Rules The official internal CLAUDE.md document written by Andrej Karpathy for Claude Code, aiming to standardize LLM code generation behavior and avoid recurring predictable bugs when writing code. Source & Disclaimer This document is transcribed and sorted based on the leaked content shared at: https://x.com/Raytar/status/2070577723089768500 Copyright & Infringement Notice : All content belongs to the original author Andrej Karpathy. If any copyright holder believes this repository involves infringement, please contact me immediately, and I will delete the entire repository and all related files without delay. Background Introduction Andrej Karpathy joined Anthropic in May 2026. After five weeks of internal practice and debugging with Claude Code, he summarized this complete set of 10-rule CLAUDE.md discipline, which is an upgraded and expanded version of the earlier 4-rule community edition with 180k+ GitHub stars. Large language models repeatedly produce fixed, predictable defects when generating code, instead of random errors. They can output text that looks logically reasonable, but often fail to match existing project styles, ignore test verification, over-engineer simple requirements, and make blind architectural assumptions without communication. This set of rules serves as a strict constraint system for Claude Code, turning reckless code-writing AI agents into rigorous engineering collaborators. File Description - claude.md : The","default_branch":null,"files":null,"tree":[],"storefront":"/r/white-sand-grand","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/white-sand-grand/karpathy-claude-md/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}