Karpathy's Coding Rules Packed Into One CLAUDE.md Hit 232K GitHub Stars
blaizedsouza · x · 2026-11-22
A post claims that a project packaging Andrej Karpathy's coding rules into a single CLAUDE.md file has passed 232,000+ GitHub stars, working across Claude Code, Cursor, Codex and any AGENTS.md setup.
The idea: instead of writing longer prompts, lock your agent into four strict behavioral loops before it touches a single file:
- Think before coding — stop guessing silently, surface tradeoffs, ask before writing code.
- Simplicity first — zero speculative abstractions, cut 200 lines of bloat down to 50.
- Surgical changes — touch only lines traced to the prompt, no drive-by edits to comments or style.
- Goal-driven loop — turn every task into "failing test → fix → loop until 100% green."
The author argues most people still babysit their coding agent line by line; the real upgrade is one file that forces it to ask first, cut 1,000 lines down to 100, and verify its own PRs.
More from coding & agent
- Dev builds jepad: a 0.24ms proprioceptive JEPA sidecar for the Microduck robot — victormustar · 2026-11-22
- LangChain's Chase: don't let subagents edit the wiki, use a dedicated curator agent — hwchase17 · 2026-11-22
- Coders build with language, but the masses want visual building tools for each other — mrjonfinger · 2026-11-22
- Claude Code orchestrates Codex subagents to maximize token limits — majidmanzarpour · 2026-11-22
- Powerful Tools Aren't Enough: Why AI Agents Still Fail at Tasks — Few-Psychology-933 · 2026-11-22
- gamepad-mcp: open-source MCP server drives games like GTA6 via real HID events — Dave_Maynor · 2026-11-22