4 rules that make Claude Code think first (one free file)
The 220k-star CLAUDE.md built from Andrej Karpathy's notes on where AI coding goes wrong, and how to add it in two commands.
Checked on 23 Oct 2026. Tools change fast, so the official page always wins if it says something different.
What you need first
Step by step
Claude Code: install the plugin (all projects)
In Claude Code, run these two commands exactly as the README gives them.
/plugin marketplace add forrestchang/andrej-karpathy-skills /plugin install andrej-karpathy-skills@karpathy-skills
Or just one project
Download CLAUDE.md from the repo into your project's root folder, or paste its contents at the end of your existing CLAUDE.md.
Cursor
Copy .cursor/rules/karpathy-guidelines.mdc from the repo into your project's .cursor/rules/ folder (see CURSOR.md).
Check it's working
Ask for a vague change. Claude should ask a question or state its assumptions first, then make a small, focused edit and tell you how it checked it.
Learn this with me
Live AI Masterclass
8 ways I make money with AI, built live step by step. Zero experience, no code, any age.
- Thu 15 Oct · 6pm UK · 1pm ET
- New date coming soon. See what you'll learn and the next date →
- 2 hours live + the replay
- $150 one time · only 10 seats
The Unnerd AI Club
Not a course. A step-by-step system to make money with AI: pick one money path and follow every step.
- 52 live classes a year
- Q&A 7 days a week + 1:1 calls with me
- $100/month · cancel any time
The catch
- Slower on tiny tasks. The rules favour caution over speed, so expect more questions; use your judgement on one-line fixes.
- Guidelines, not guarantees. The model can still ignore them sometimes, and they don't make code bug-free. Keep reviewing diffs.
Official links
Want to go further?
I show a new AI tool every week, and how to make money or save hours with it. No tech background needed.
Unnerd AI · I'm not linked to the maker, I just think it's useful.