MCPInstall

karpathy-methodology

Apply Andrej Karpathy AI methodology and principles from his 2023-2026 insights. Use this skill when the user wants to apply Karpathy-style thinking, needs guidance on agentic engineering, LLM knowledge bases, minimalist coding, understanding-first principles, or any of the 14 core methodologies distilled from his work. Also triggers on: "karpathy method", "karpathy approach", "karpathy way", "AK style", "like karpathy does", "karpathy principles", or when user asks how Karpathy would approach any programming or AI problem.

Installs
137
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/learnprompt/andrej-karpathy-skills --skill karpathy-methodology
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads karpathy-methodology automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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 NameOne-line Essence
1karpathy-agentic-engineeringOrchestrate agents with clear tasks and verifiable success criteria
2karpathy-llm-wikiLet LLM maintain your knowledge base; you do the exploring
3karpathy-llm-simulatorAsk LLM to simulate expert debate, not give one opinion
4karpathy-minimalism200 lines of pure Python beats 50 npm packages
5karpathy-vibe-to-agenticVibe coding raises the floor; agentic engineering raises the ceiling
6karpathy-autoresearchAgent loops on git branches; you only change the prompt
7karpathy-output-evolutionText → Markdown → HTML → rendered; always demand structure
8karpathy-understanding-firstOutsource thinking, never understanding
9karpathy-idea-filesShip the Gist (abstract + criteria), not the code
10karpathy-meta-reflectionMonthly audit: what's atrophying, what's exploding
11karpathy-supply-chain-hygieneEvery dependency is an attack surface
12karpathy-education-firstMake everything teachable; nano-projects over monoliths
13karpathy-system-prompt-learningWrite strategy into the system prompt like a textbook
14karpathy-practice-environmentsBuild 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

Use AI to go faster. Use your brain to know if you're going in the right direction.


How to Apply This Skill

Quick Decision Tree

"I need to build/code something" → Start with #1 Agentic Engineering (clear task + success criteria), layer in #4 Minimalism (avoid bloat), finish with #8 Understanding First (verify what was built).

"I need to research/learn something" → #2 LLM Wiki for building knowledge, #3 LLM Simulator for challenging assumptions, #10 Meta-Reflection for calibrating what to learn next.

"I need to make a decision" → #3 LLM Simulator (debate mode), then #8 Understanding First (own your conclusion).

"I'm designing a product/tool" → #4 Minimalism + Agent-Native, #14 Practice Environments, #12 Education First.

"I want to share an idea" → #9 Idea Files (Gist first), #7 Output Evolution (structured output), #12 Education First (teachable).

"I'm doing ML research" → #6 AutoResearch, #13 System Prompt Learning, #14 Practice Environments.


Master Prompt Template

When the user hasn't specified a sub-methodology, use this all-in-one Karpathy-style framing:

You are operating under the Karpathy Methodology.

Core constraints:
1. UNDERSTAND before outsourcing — never ship what you can't explain
2. MINIMIZE dependencies — prefer 200-line pure implementations
3. AGENT-NATIVE outputs — CLI-friendly, markdown-structured, LLM-legible
4. VERIFIABLE goals — every task must have a testable success criterion
5. TEACH as you build — outputs should be understandable by a curious beginner

Task: [USER_TASK]
Success criteria: [WHAT_DONE_LOOKS_LIKE]
Constraints: [TECH_STACK, SIZE_LIMIT, NO_LIBS]

Source Posts (Top by Likes)

  1. 145k likes — Joins Anthropic: https://x.com/karpathy/status/2056753169888334312
  2. 59k likes — LLM Knowledge Bases: https://x.com/karpathy/status/2039805659525644595
  3. 56k likes — "Never felt this behind as a programmer": https://x.com/karpathy/status/2004607146781278521
  4. 46k likes — "Outsource thinking not understanding": https://x.com/karpathy/status/2049907410303865030
  5. 40k likes — Claude coding notes: https://x.com/karpathy/status/2015883857489522876
  6. 37k likes — Programming phase shift: https://x.com/karpathy/status/2026731645169185220
  7. 31k likes — LLM argue the opposite: https://x.com/karpathy/status/2037921699824607591
  8. 28k likes — AutoResearch project: https://x.com/karpathy/status/2030371219518931079
  9. 28k likes — litellm supply chain attack: https://x.com/karpathy/status/2036487306585268612
  10. 25k likes — 243 lines pure Python GPT: https://x.com/karpathy/status/2021694437152157847
  11. 22k likes — Agent network discussion: https://x.com/karpathy/status/2017442712388309406
  12. 19k likes — HTML output + I/O evolution: https://x.com/karpathy/status/2053872850101285137
  13. 27k likes — LLM Wiki Gist version: https://x.com/karpathy/status/2040470801506541998

FAQ

What does the karpathy-methodology skill do?

Apply Andrej Karpathy AI methodology and principles from his 2023-2026 insights. Use this skill when the user wants to apply Karpathy-style thinking, needs guidance on agentic engineering, LLM knowledge bases, minimalist coding, understanding-first principles, or any of the 14 core methodologies distilled from his work. Also triggers on: "karpathy method", "karpathy approach", "karpathy way", "AK style", "like karpathy does", "karpathy principles", or when user asks how Karpathy would approach any programming or AI problem.

How do I install karpathy-methodology?

Run npx skills add https://github.com/learnprompt/andrej-karpathy-skills --skill karpathy-methodology in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/karpathy-methodology/ (personal) or .claude/skills/karpathy-methodology/ (project).

Which AI agents can use karpathy-methodology?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is karpathy-methodology safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains karpathy-methodology?

It is published by learnprompt in learnprompt/andrej-karpathy-skills. It has 137 recorded installs.

More from learnprompt/andrej-karpathy-skills

View all →

karpathy-agentic-engineering

learnprompt/andrej-karpathy-skills

Apply Karpathy-style agentic engineering to any coding or building task. Use this skill when the user wants to set up an agent-driven workflow, needs to write a CLAUDE.md or AGENTS.md, wants to orchestrate agents with clear success criteria, or says things like "agent loop", "let the agent handle it", "agentic coding", "set up agent workflow". Includes the 7-step inner loop from Karpathy claude coding notes.

AI & Agents145 installs

karpathy-minimalism

learnprompt/andrej-karpathy-skills

Apply Karpathy-style minimalism and anti-dependency principles to code and system design. Use this skill when the user wants to reduce dependencies, avoid supply chain risks, rewrite something in pure Python or minimal code, audit a project for bloat, design agent-native CLI tools, or says "too many dependencies", "minimize deps", "pure python", "yoink this", "vibe code this", "no frameworks", "agent-native design". Based on 28k-like litellm attack post and 25k-like 243-line GPT post.

Security136 installs

karpathy-understanding-first

learnprompt/andrej-karpathy-skills

Open the skill to read its SKILL.md instructions.

128 installs

karpathy-supply-chain-hygiene

learnprompt/andrej-karpathy-skills

Apply rigorous supply chain security hygiene to software projects — audit dependencies, detect risks, minimize attack surface. Use this skill when the user wants to audit project dependencies, is concerned about supply chain attacks, wants to set up secure dependency management, needs to review a requirements.txt or package.json, or says "dependency audit", "supply chain risk", "check packages", "secure dependencies", "pin versions", "check pypi". Based on Karpathy 28k-like litellm supply chain post.

Security127 installs

karpathy-education-first

learnprompt/andrej-karpathy-skills

Apply the education-first mindset — make everything you build teachable, create nano-project explanations, write for beginners. Use this skill when the user wants to explain a project to beginners, create a tutorial from code, write documentation that teaches (not just documents), make a concept accessible, or says "make this teachable", "explain like im a beginner", "nano project version", "teaching version", "explain from scratch", "blog post about this". Based on Karpathy 243-line GPT and Eureka Labs posts.

karpathy-llm-wiki

learnprompt/andrej-karpathy-skills

Build and maintain an LLM-powered personal knowledge base or wiki. Use this skill when the user wants to organize research notes, build a second brain, set up an Obsidian vault with LLM compilation, ingest papers or articles automatically, or mentions "personal knowledge base", "LLM wiki", "second brain", "knowledge management", "ingest papers", "obsidian + LLM". Based on Karpathy Gist and 59k-like post.

AI & Agents127 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs