
Karpathy Guidelines
Behavioral guidelines that steer LLM coding toward simpler, surgical, verifiable changes.
- CCM score
- 75 of 100
- install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
- 31
- skills.sh installs
- 48.8K
- GitHub stars
- 235.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers four rules: think before coding, simplicity first, surgical changes, and goal-driven execution
- Requires stating assumptions, surfacing tradeoffs, and stopping to ask when requirements are unclear
- Enforces minimal code with no speculative features, abstractions for single-use code, or unrequested configurability
- Designed for writing, reviewing, or refactoring code where overcomplication and unrelated edits are common risks
Install
$ npx -y skills add multica-ai/andrej-karpathy-skills --skill karpathy-guidelines -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Karpathy Guidelines
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.
1. Think Before Coding
Don't assume. Don't hide confusion. Surface tradeoffs.
Before implementing:
- State your assumptions explicitly. If uncertain, ask.
- If multiple interpretations exist, present them - don't pick silently.
- If a simpler approach exists, say so. Push back when warranted.
- If something is unclear, stop. Name what's confusing. Ask.
2. Simplicity First
Minimum code that solves the problem. Nothing speculative.
- No features beyond what was asked.
- No abstractions for single-use code.
- No "flexibility" or "configurability" that wasn't requested.
- No error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.
Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.
3. Surgical Changes
Touch only what you must. Clean up only your own mess.
Details
- Repository
- github.com/multica-ai/andrej-karpathy-skills
- Categories
- Agent Workflow & Planning, Code Review & Quality
- First seen
- May 16, 2026
Similar to Karpathy Guidelines
More Agent Workflow & Planning
coding-guidelinestech-leads-club/agent-skills358 installsBehavioral guidelines that curb common LLM coding mistakes through caution, simplicity, and verifiable goals.
clean-codedavila7/claude-code-templates1.1K installsPragmatic coding standards that enforce small functions, direct fixes, and minimal comments for AI-assisted coding.
clean-code-guardamelnagdy/guard-skills5K installsGuards code before it ships using Clean Code, SOLID, DRY, KISS, YAGNI, and LLM failure-mode checks.
code-simplifierpproenca/dot-skills1.6K installsConcise guide that simplifies recently modified code while preserving exact behavior across 47 rules.
spec-driven-implementationwarpdotdev/common-skills29.7K installsStructured workflow that writes PRODUCT.md and TECH.md specs before implementation and keeps them current as code changes.
writing-skillsobra/superpowers244.8K installsGuided process for authoring, editing, and verifying agent skills through test-driven baseline and refactor cycles.