The same four principles — Think Before Coding, Simplicity First, Surgical Changes, and Goal-Driven Execution — apply in Cursor through a committedDocumentation Index
Fetch the complete documentation index at: https://docs.karpathy.phronesisagent.com/llms.txt
Use this file to discover all available pages before exploring further.
.cursor/rules/ file. Because the rule is checked into the repository, anyone who opens the project in Cursor gets consistent behavior without any manual configuration.
Using the committed project rule
The repository includes.cursor/rules/karpathy-guidelines.mdc with alwaysApply: true. When you open the project in Cursor, the rule activates automatically.
Open the project in Cursor
Open the
andrej-karpathy-skills folder in Cursor as you would any project.Confirm the rule is active
Navigate to Settings → Rules (or the project rules panel) and verify that
karpathy-guidelines appears in the list.Using the rule in another project
Copy the rule file into any project where you want the same guidelines.
You can adjust or merge the rule with any existing rules already in that directory.
Personal Cursor skill (optional)
If you prefer a reusable personal skill rather than a per-project file, useskills/karpathy-guidelines/SKILL.md. Copy or symlink it into your personal Cursor skills directory:
Claude Code vs Cursor
The two tools use different mechanisms to load instructions, so the same content lives in two places:| Claude Code | Cursor | |
|---|---|---|
| How rules are loaded | Plugin marketplace or CLAUDE.md | Committed .cursor/rules/ file |
| Scope | Plugin applies globally; CLAUDE.md applies per-project | Per-project by default |
| Installation | /plugin install andrej-karpathy-skills@karpathy-skills | Copy .cursor/rules/karpathy-guidelines.mdc |
| Reads the other tool’s config? | Reads CLAUDE.md | Does not read .claude-plugin/ or CLAUDE.md |
When you change the four principles, keep
CLAUDE.md and .cursor/rules/karpathy-guidelines.mdc in sync. If you also use the published plugin or skill, update skills/karpathy-guidelines/SKILL.md as well so all three sources stay consistent.