Open-source `CLAUDE.md` file turns Karpathy’s coding advice into guardrails for Claude Code
socialwithaayan · x · 2026-07-22
A new open-source repo packages Andrej Karpathy’s observations about LLM coding failures into a single CLAUDE.md guardrail file for Claude Code.
- The repo translates Karpathy’s notes into four enforceable principles: think before coding, keep solutions simple, make surgical changes, and drive execution by concrete goals/tests.
- It also includes a Cursor rule version and an install path via plugin or per-project CLAUDE.md.
- The author says the repo is brand new, but the underlying idea already went viral earlier; the project currently shows 161 stars and an MIT license.
Related event: Open Source Project Turns Karpathy's Coding Advice into Claude Code Rules(2 posts)→
More from coding & agent
- A simple Claude Code VS Code patch hides full diffs and groups tool calls — PawelHuryn · 2026-07-22
- Databricks benchmarks model and Harness choices on a million-line codebase — xiaohu · 2026-07-22
- AI agents turn Obsidian metadata upkeep from a tax into a workflow — dSebastien · 2026-07-22
- Researcher Proposes 'Agentic Self-Defense' Amid AI Security Risks — xuanalogue · 2026-07-22
- Cate unifies six coding-agent CLIs into one observable event stream — Grobiani · 2026-07-22
- Prompt injection allegedly made an AI agent move $175K on-chain — Hacken_io · 2026-07-22