The CLAUDE.md File That Fixes Claude Code's Worst Habits
A free GitHub CLAUDE.md behaviour file that stops Claude Code over-engineering, making silent assumptions, and touching code you did not ask about.
Most complaints about Claude Code are behavioural rather than capability problems. It writes more than you asked for, assumes things without telling you, edits files that were not part of the request, and chases goals it cannot verify.
Install it
Download the CLAUDE.md from the repo and drop it into your project root:
git clone https://github.com/multica-ai/andrej-karpathy-skills
cp andrej-karpathy-skills/CLAUDE.md /path/to/your/project/CLAUDE.mdClaude Code reads it automatically on the next session in that folder. You can also put it at ~/.claude/CLAUDE.md to apply it everywhere rather than per project.
What it actually changes
- Over-engineering: asks for the simplest thing that solves the problem, not a framework.
- Silent assumptions: makes it state assumptions out loud instead of quietly picking one.
- Scope creep: stops it editing files outside what you asked about.
- Unverifiable goals: stops it claiming success on things it cannot actually check.
Using it well
- Edit it. It is a starting point, and the rules that matter most are the ones about your codebase.
- Keep it short. A long CLAUDE.md competes with your actual prompt for attention.
- If a rule is not being followed, make it more specific rather than louder.
Worth knowing
The file circulates as Karpathy-associated, and the repo is a community packaging of those ideas rather than an official Anthropic release. Judge it on whether the rules improve your sessions, which is easy to test: run a task with and without it in the same project.
New guides land in your inbox first
One short email a week with the tools and prompts worth your time. Free, and you can leave any time.