SkillClaude CodeCursorClineOpenClawWindsurfVS CodeChatGPT
karpathy-guidelines
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Features
- ✓Improve Claude Code behavior with Karpathy's insights
- ✓Address LLM coding pitfalls directly
- ✓Four principles for better code quality
- ✓Explicit reasoning and tradeoff presentation
- ✓Simplify code to avoid overcomplication
Installation Guide
Option A: Claude Code Plugin (recommended)
From within Claude Code, first add the marketplace:
text
/plugin marketplace add forrestchang/andrej-karpathy-skillsThen install the plugin:
text
/plugin install andrej-karpathy-skills@karpathy-skillsThis installs the guidelines as a Claude Code plugin, making the skill available across all your projects.
Option B: CLAUDE.md (per-project)
New project:
bash
curl -o CLAUDE.md https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.mdExisting project (append):
bash
echo "" >> CLAUDE.md
curl https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md >> CLAUDE.md