
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes
by multica-aiFree
Description
karpathy-guidelines is an agent skill from the multica-ai andrej-karpathy-skills collection, listed on skills.sh. It sets out behavioural guidelines meant to reduce common mistakes that language models make when writing code, drawn from observations by Andrej Karpathy about LLM coding pitfalls. Its first rule is to think before coding: state assumptions explicitly, ask when uncertain, present multiple interpretations rather than choosing one silently, say when a simpler approach exists, and stop to name anything confusing. Its second rule is simplicity first: write the minimum code that solves the problem, with nothing speculative. The skill itself says it biases toward caution over speed, and that for trivial tasks the agent should use judgement. It applies when writing, reviewing or refactoring code to avoid overcomplication and to make surgical changes. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Think before coding: state assumptions and ask
- Simplicity first, nothing speculative
- Surgical changes
- Biases toward caution
Ratings & Reviews
No ratings yet
Be the first to rate karpathy-guidelines.
People also visit

andrej-karpathy-skills
by multica-ai - A drop-in CLAUDE.md distilling four behavioral guidelines

clean-code-principles
SOLID principles, design patterns, DRY, KISS, and clean code fundamentals

principle-laziness-protocol
Apply when refactoring, evaluating diff size, or tempted to add abstractions
karpathy-guidelines FAQ
What does the karpathy-guidelines skill do?
It sets behavioural rules for an AI coding agent: think before coding, keep solutions simple and make surgical changes.
Does it apply to every task?
The skill says to use judgement for trivial tasks. Its aim is caution over speed.
Where do the guidelines come from?
From observations by Andrej Karpathy about LLM coding pitfalls, collected in this skill.
How do I install it?
Run: npx skills add https://github.com/multica-ai/andrej-karpathy-skills --skill karpathy-guidelines
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best karpathy-guidelines alternatives?
Popular alternatives to karpathy-guidelines include andrej-karpathy-skills, clean-code-guard and clean-code-principles. See all karpathy-guidelines alternatives














