karpathy-guidelines
Keep code changes small, clear and on-request
- For people who code
- Nothing to set up
What it does
Behavioral guidelines to reduce common LLM coding mistakes.
“Check out my new project Multica — an open-source platform for running and managing coding agents with reusable skills. Follow me on X: https://x.com/jiayuan_jy”
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
English | 简体中文
“"The models make wrong assumptions on your behalf and just run along with them without checking. They don't manage their confusion, don't seek clarifications, don't surface inconsistencies, don't present tradeoffs, don't push back when they should."”
“"They really like to overcomplicate code and APIs, bloat abstractions, don't clean up dead code... implement a bloated construction over 1000 lines when 100 would do."”
“"They still sometimes change/remove comments and code they don't sufficiently understand as side effects, even if orthogonal to the task."”
From README.md in multica-ai/andrej-karpathy-skills · a snapshot from Nov 24, 2026, so it may be a little out of date
Try it
- 1Add karpathy-guidelines to your AI
- 2Ask for something like this
Fix the date-parsing bug in utils, and change only what's needed. Tell me your assumptions before you start.
Add CSV export to the reports page. Keep it simple, no new abstractions, and tell me how we'll know it works.
Review this diff and flag anything overcomplicated or outside the scope of the ticket.
Example prompts written from the skill's instructions.
Safety
SafeDetails
All three scanners ran and found nothing that could steal your data or hijack your AI.
What it can do- Nothing the scanners noticed.
No clear license.
- Scanners
- SkillSpector 2.12.0 · HoneyBadger 0.8.1 · agentscan 1.2.2
- Scanned on
- Nov 9, 2026
- Raw reports
- full report skillspector honeybadger agentscan
- Secret scanPassed
- Dangerous commandsPassed
- Network callsPassed
- PermissionsPassed
- Prompt injectionPassed
- LicenseNoticed
GitHub API: No license found.License is missing or unclear. (LLM03 Supply Chain) - MaintenancePassed
No person has signed this one off yet.
nothing found (markdown only).
An AI reviewer read the files and wrote this. It is not a scan, nobody approved it yet, and it never sets the label above.
Three open-source scanners (SkillSpector, HoneyBadger, agentscan) check this exact version. Heads up means it could steal your data or hijack your AI. What it can do is listed, not warned about. Scanners miss things.
How we check: only harm earns a Heads up, meaning prompt injection (OWASP LLM01) or data leaks (LLM02), in files the skill ships. Abilities like running commands (LLM06) are listed, not warned about. No AI is used for this step. OWASP
Details
- Stars
- 235kon GitHub
- Last updated
- Apr 20, 2026on GitHub
GitHub numbers are a snapshot from Nov 24, 2026, not live.
Compared with
Picked from reading the skills, not yet tested head to head.
Our best pick for keep changes small
One short page of rules: say your assumptions, keep it simple, touch only what the task needs. Light enough to sit next to any process.
AlternativeponytailCommunity
Comments
How to add karpathy-guidelines to Claude
Press Add to your AI at the top of this page and pick Claude, or do it yourself:
- Download the skill. Keep the .zip as it is.
- On Claude's skills page, click +, then Create skill, then Upload a skill.
- Pick the file you downloaded and switch the skill on.
Works on every Claude plan, Free included. Code execution and file creation need to be on in Claude's settings. How to add a skill to Claude, step by step.
In ChatGPT
Skills are on ChatGPT Business, Enterprise, Healthcare and Edu plans. Download the skill. Keep the .zip as it is. In ChatGPT, open Plugins in the sidebar, then the Skills tab, then Create, then Upload from your computer. Pick the file you downloaded. ChatGPT checks it, then it's ready. More on ChatGPT.
For AI apps and agents: the skill's instructions as plain text, at the version we scanned.