karpathy-methodology

karpathy-methodology is a skill for Claude Code from LearnPrompt/andrej-karpathy-skills. It costs 119 tokens per session (1,580 once invoked), scanned A, original, MIT.

A collection of Andrej Karpathy’s stated methods for working with AI agents, language models, and code.

In plain words
What is it for?
It is for applying or selecting one of the listed methodologies when guidance on agentic engineering or related practices is needed.
Why use it?
It gives the agent a set of named approaches for tasks such as planning agent work, simplifying code, and maintaining knowledge bases.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the karpathy-skills plugin — 15 skills shipped together

Good fit It is for applying or selecting one of the listed methodologies when guidance on agentic engineering or related practices is needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/learnprompt/andrej-karpathy-skills/karpathy-methodology
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LearnPrompt/andrej-karpathy-skills --skill karpathy-methodology
Clone the repo
git clone --depth 1 https://github.com/LearnPrompt/andrej-karpathy-skills

Made for: Claude Code.

Or install karpathy-skills, the plugin that ships this one along with the rest of its 15 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for karpathy-methodology

README.md
[![agentmods](https://agentmods.dev/badge/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology/github.svg)](https://agentmods.dev/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology)
Your own site
<a href="https://agentmods.dev/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology"><img src="https://agentmods.dev/badge/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for karpathy-methodology

Your own site · 80×15
<a href="https://agentmods.dev/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology"><img src="https://agentmods.dev/badge/skills/learnprompt/andrej-karpathy-skills/karpathy-methodology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.01580
Opus 5.5 $0.00048 $0.00632
Sonnet 5.5 $0.00024 $0.00316
Haiku 4.5 $0.00012 $0.00158

Measured 2mo ago against content hash 69d07916090b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

karpathy-methodology scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

karpathy-methodology/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Karpathy Methodology — 14 Core Skills

Distilled from Andrej Karpathy's most-liked posts on X (2023–2026), his LLM Wiki Gist, and the multica-ai/andrej-karpathy-skills repo. Source: https://x.com/karpathy | https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f

This skill is the master index. When invoked, either:

  1. Apply the specific sub-methodology relevant to the user's current task, or
  2. Guide the user to the right one from the 14 below.

The 14 Methodologies

# Skill Name One-line Essence
1 karpathy-agentic-engineering Orchestrate agents with clear tasks and verifiable success criteria
2 karpathy-llm-wiki Let LLM maintain your knowledge base; you do the exploring
3 karpathy-llm-simulator Ask LLM to simulate expert debate, not give one opinion
4 karpathy-minimalism 200 lines of pure Python beats 50 npm packages
5 karpathy-vibe-to-agentic Vibe coding raises the floor; agentic engineering raises the ceiling
6 karpathy-autoresearch Agent loops on git branches; you only change the prompt
7 karpathy-output-evolution Text → Markdown → HTML → rendered; always demand structure
8 karpathy-understanding-first Outsource thinking, never understanding
9 karpathy-idea-files Ship the Gist (abstract + criteria), not the code
10 karpathy-meta-reflection Monthly audit: what's atrophying, what's exploding
11 karpathy-supply-chain-hygiene Every dependency is an attack surface
12 karpathy-education-first Make everything teachable; nano-projects over monoliths
13 karpathy-system-prompt-learning Write strategy into the system prompt like a textbook
14 karpathy-practice-environments Build gyms where agents can try, fail, and learn

Meta-Principle (the one that unifies all 14)

"You can outsource your thinking but you cannot outsource your understanding." — Karpathy, ~46k likes, 2026

Read the full file on GitHub · 115 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 115 lines · 119 tokens per session scan A 69d07916090b

Subscribe to this mod's changes

karpathy-methodology is a skill published in the GitHub repository LearnPrompt/andrej-karpathy-skills (122 stars, last pushed 3mo ago), licensed MIT. It adds 119 tokens to every session and 1,580 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

karpathy-methodology compared with skills from other repositories

karpathy-methodology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
karpathy-methodologyLearnPrompt/andrej-karpathy-skillsSkill1223mo agoMITA119Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code