Karpathy Coder Claude Skill
The Karpathy Coder Claude skill is one that Alireza Rezvani publishes on GitHub. Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles - surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals.
See all 388 skills by Alireza Rezvani in alirezarezvani/claude-skills.
What It Does
Derived from Andrej Karpathy's observations on LLM coding pitfalls. Minimum code that solves the problem. The test: Would a senior engineer say this is overcomplicated? Touch only what you must. Clean up only your own mess.
This quote comes from the skill's SKILL.md.
When To Use It
- Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles - surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals.
Install
git clone --depth 1 https://github.com/alirezarezvani/claude-skills.git /tmp/claude-skills mkdir -p ~/.claude/skills/ cp -r /tmp/claude-skills/engineering/karpathy-coder/skills/karpathy-coder ~/.claude/skills/karpathy-coder
The command copies the skill from the author's repo. SkillTrove does not host it.
Are you new to skills? Read How to Use Claude Skills: Install in Claude Code, claude.ai and Codex or browse the Claude Code skills.
Files
- SKILL.md (5.5 KB)
- expected_outputs/assumption_linter.json (933 B)
- expected_outputs/complexity_checker.json (584 B)
- expected_outputs/diff_surgeon.json (158 B)
- expected_outputs/goal_verifier.json (853 B)
- references/anti-patterns.md (4.8 KB)
- references/enforcement-patterns.md (3.7 KB)
- references/karpathy-principles.md (3.7 KB)
- scripts/assumption_linter.py (6.7 KB)
- scripts/complexity_checker.py (11 KB)
- scripts/diff_surgeon.py (7.7 KB)
- scripts/goal_verifier.py (6.5 KB)
We last checked this skill against its source on 2026-10-13.
Questions
How Do I Install This Skill?
Copy the engineering/karpathy-coder/skills/karpathy-coder folder from https://github.com/alirezarezvani/claude-skills into your agent's skills folder. For Claude Code that folder is ~/.claude/skills/karpathy-coder. The install block on this page has the full commands for each agent.
What License Does This Skill Use?
The license listed for this skill is MIT. Read the license in the source repo before you reuse it.
Where Is The Source For This Skill?
The source is on GitHub at https://github.com/alirezarezvani/claude-skills/tree/main/engineering/karpathy-coder/skills/karpathy-coder. It is part of the alirezarezvani/claude-skills repo.
Related Skills
AEO
Answer Engine Optimization (AEO) skill - optimize content to be cited by AI language models (ChatGPT, Perplexity, Claude, Gemini, Mistral) as authoritative...
Linkedin Engagement
Use when someone wants to grow reach through comments, replies, groups, or outreach on LinkedIn - a commenting roster, a connection request note, a DM or I...
Linkedin Strategy
Use when someone needs a LinkedIn plan rather than a post - content pillars, positioning for a career change or consulting or thought leadership, a sustain...
RFP Responder
Use when an RFP, RFI, RFQ, security questionnaire, vendor questionnaire, or proposal request arrives and the team needs a structured response - parsing mul...
Vendor Management
Use when reviewing, scoring, or auditing third-party SaaS / vendor relationships - running a vendor scorecard with industry tuning, tracking SLA compliance...
Claude Humanizer Skill
Rewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, ...
More by Alireza Rezvani: a11y-audit, agent-harness, book-to-skill