---
title: "What Is the karpathy-guidelines Skill for Claude Code?"
canonical: https://skillselion.com/guides/karpathy-guidelines-skill-claude-code
content_type: text/markdown
description: "karpathy-guidelines is an MIT-licensed skill that embeds Andrej Karpathy's coding principles into agent behavior: think before coding, make surgical changes."
---

# What Is the karpathy-guidelines Skill for Claude Code?

> karpathy-guidelines is an MIT-licensed skill that embeds Andrej Karpathy's coding principles into agent behavior: think before coding, make surgical changes.

Canonical: https://skillselion.com/guides/karpathy-guidelines-skill-claude-code

karpathy-guidelines is an MIT-licensed skill that embeds Andrej Karpathy's coding principles into agent behavior: think before coding, make surgical changes, surface assumptions. The main distribution has 33,253 installs from a repo with 206,623 GitHub stars (skills.sh registry, GitHub), with sibling skills like karpathy-coder at 1,019 installs.

## Key facts

- Last updated: August 26, 2026

## Article

LLM coding agents overcomplicate: sweeping rewrites where a surgical edit would do, hidden assumptions, no success criteria. The karpathy-guidelines skill encodes Andrej Karpathy's public observations about exactly those failure modes into rules your agent follows on every task, and it has become one of the most-searched [Claude Code skills](/guides/claude-code-skills-examples) in the catalog.

## Key takeaways
- The main karpathy-guidelines distribution (multica-ai/andrej-karpathy-skills) has **33,253 installs** and **206,623 GitHub stars** on its repo (skills.sh registry, GitHub).
- It is MIT-licensed and applies during writing, review, and refactoring: think before coding, avoid overcomplication, make surgical changes, surface assumptions and tradeoffs, define verifiable success criteria.
- A [second distribution by szkocot](/skills/szkocot/andrej-karpathy-skills/karpathy-guidelines) carries **2,118 installs** of its own (skills.sh registry).
- The related [karpathy-coder](/skills/alirezarezvani/claude-skills/karpathy-coder) (**1,019 installs**, repo at **24,917 stars**) enforces four of the same principles with trigger phrases like "am I overcomplicating this".
- An andrej-karpathy-perspective role-play skill adds **2,886 installs**, distilling six of his mental models for evaluating AI systems (skills.sh registry).

## Who is Andrej Karpathy and why do his guidelines matter for agents?
[Andrej Karpathy](https://karpathy.ai/) co-founded OpenAI, led Autopilot AI at Tesla, and coined the term vibe coding; his commentary on how LLMs actually fail at programming is unusually specific. That specificity is what makes the guidelines skill work: instead of generic best practices, it encodes his observed failure modes of LLM-written code, so the agent corrects for the mistakes models really make rather than the ones style guides imagine.

## What rules does karpathy-guidelines enforce?
Five behaviors, applied during writing, review, and refactoring: think before coding, avoid overcomplication, make surgical changes instead of sweeping rewrites, surface assumptions and tradeoffs explicitly, and define verifiable success criteria before implementation. In practice the skill acts like a standing reviewer that vetoes the agent's worst instincts before they hit your diff.

`npx skills add https://github.com/multica-ai/andrej-karpathy-skills`

![multica-ai, publisher of the karpathy-guidelines skill](https://github.com/multica-ai.png?size=200)

The identically named [szkocot distribution](/skills/szkocot/andrej-karpathy-skills/karpathy-guidelines) (**2,118 installs**, skills.sh registry) packages the same MIT-licensed principles if you prefer a smaller repo. Installation works the same as any skill; the steps are in our [install guide](/guides/how-to-install-a-claude-skill).

## How is karpathy-coder different from karpathy-guidelines?
karpathy-coder is the enforcement-first variant: it triggers on concrete phrases and checkpoints rather than shaping general behavior. At **1,019 installs** (skills.sh registry), [karpathy-coder](/skills/alirezarezvani/claude-skills/karpathy-coder) is versioned (2.3.0) and fires on prompts like "review my diff", "check complexity", "karpathy check", and "before I commit", enforcing four core principles: surface assumptions, keep it simple, make surgical changes, define verifiable goals. Use guidelines for ambient behavior, coder for explicit checkpoints, or both together.

## Do the guidelines actually reduce agent mistakes?
They target the measurable ones: unnecessary rewrites, undeclared assumptions, and missing success criteria are all failure modes you can see in a diff. The skill family's traction in the catalog of 59,746 skills (33,253 plus 2,118 plus 1,019 installs across the three main packages, skills.sh registry) reflects developers voting with installs. For the review-side complement, our [best code review skills guide](/guides/best-code-review-skills-claude-code) ranks skills that check the output after the fact.

## How do you fit the guidelines into an existing workflow?
Install once, then change nothing else; the skill is designed to apply itself. Because it activates during writing, review, and refactoring rather than on a command, the practical integration question is what to stop doing: retire any custom system prompt fragments that say "keep it simple" or "do not rewrite unrelated code", since the skill covers those with more specific rules and duplicated instructions blur both copies. Teams that also run karpathy-coder get a natural rhythm: guidelines shape every keystroke, and a "karpathy check" before each commit gives a named checkpoint reviewers can ask for in a pull request. If you maintain a CLAUDE.md, note there that the skill owns coding-principle enforcement, so future contributors know where the behavior comes from and do not fight it with contradictory local rules.

## A complete starter stack
- karpathy-guidelines (multica-ai) - ambient coding principles on every task (33,253 installs)
- [karpathy-coder](/skills/alirezarezvani/claude-skills/karpathy-coder) - explicit checkpoint enforcement (1,019 installs)
- A review skill from the [testing and review category](/category/testing-review) - independent verification of the result

## Common pitfalls
- Installing every Karpathy-named skill at once: overlapping instructions dilute each other; pick guidelines or coder as your base.
- Expecting the skill to replace review: it shapes generation, it does not verify correctness.
- Skipping success criteria anyway: the skill asks for verifiable goals; if you brush that prompt off, you lose most of the value.

Encode the principles once and every session inherits them; see what else developers install from the [testing and review category](/category/testing-review).

## Related

- [/best/skills-for-testing-review](https://skillselion.com/best/skills-for-testing-review)
- [/category/testing-review](https://skillselion.com/category/testing-review)
- [/category/dev-tools](https://skillselion.com/category/dev-tools)

## FAQ

### What is the karpathy-guidelines skill?

An MIT-licensed Claude Code skill that embeds Andrej Karpathy's coding principles into agent behavior: think before coding, avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria. See /skills/szkocot/andrej-karpathy-skills/karpathy-guidelines for a listed distribution.

### How many installs does karpathy-guidelines have?

The main multica-ai distribution has 33,253 installs and its repo holds 206,623 GitHub stars; the szkocot distribution adds 2,118 installs (skills.sh registry, GitHub). Compare in /category/testing-review.

### What is the difference between karpathy-guidelines and karpathy-coder?

karpathy-guidelines shapes ambient behavior across writing, review, and refactoring, while karpathy-coder (1,019 installs) enforces four principles at explicit checkpoints triggered by phrases like review my diff. Listing: /skills/alirezarezvani/claude-skills/karpathy-coder.

### Is karpathy-guidelines free to use?

Yes, the main distributions are MIT-licensed (skills.sh registry). Install steps for any skill are at /guides/how-to-install-a-claude-skill.

### How do I install karpathy-guidelines in Claude Code?

Run npx skills add https://github.com/multica-ai/andrej-karpathy-skills, then start a session and the principles apply automatically. Full install walkthrough: /guides/how-to-install-a-claude-skill.

## Machine access

- [Sitemap](https://skillselion.com/sitemap.xml)
- [llms.txt](https://skillselion.com/llms.txt)
- [llms-full.txt](https://skillselion.com/llms-full.txt)
- [Developer resources](https://skillselion.com/developers)
- [OpenAPI spec](https://skillselion.com/openapi.json)
- [MCP handshake](https://skillselion.com/.well-known/mcp)
- [API catalog](https://skillselion.com/.well-known/api-catalog)
- [AI catalog](https://skillselion.com/.well-known/ai-catalog.json)
- [Pricing](https://skillselion.com/pricing.md)
- [Auth](https://skillselion.com/auth.md)
- [AGENTS.md](https://skillselion.com/AGENTS.md)
- [Contact](https://skillselion.com/contact)
- [Home](https://skillselion.com/)
