MCPInstall

karpathy-understanding-first

Apply the Karpathy understanding-first principle — verify what AI built, own your understanding, map the jagged capability landscape of LLMs. Use this skill when the user has used AI to build something and needs to verify it, wants to audit their own understanding, needs to know where LLMs are reliable vs unreliable, or says "verify this", "do I actually understand this", "what can I trust the AI on", "jagged capabilities", "understanding not outsourcing". Based on 46k-like quote post.

Installs
129
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-understanding-first
  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-understanding-first 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.

Skill 8: Understanding > Outsourcing(理解 > 外包)

Source: https://x.com/karpathy/status/2049907410303865030 "You can outsource your thinking but you cannot outsource your understanding." — 46k likes Also: Jagged Capabilities Modeling (Sequoia conversation)

Core Principle

Outsourcing is fine. Atrophy is not.

Use AI to go 10x faster. But every time you skip understanding something, you're borrowing from your own future. Understanding compounds. Blindly shipping agent output does not.

Karpathy's "jagged capabilities" insight: LLMs are wildly good at some things (verifiable, high-data domains) and silently wrong at others (off-distribution, novel combinations). You need a mental map of which is which.

The Understanding Audit

After every agent-assisted work session, run this:

I just had an AI help me [DESCRIBE WHAT WAS BUILT/WRITTEN/DECIDED].

Help me audit my own understanding:

1. List the 5 key decisions that were made (technical choices, assumptions, trade-offs)
2. For each decision: would I be able to explain WHY this choice was made to a colleague?
   Mark each: UNDERSTOOD / SHALLOW / BLACK BOX
3. For the BLACK BOX items: give me a 3-sentence explanation I can verify
4. What would I need to read/learn to make the SHALLOW items UNDERSTOOD?

Be honest. If I'm shipping something I don't understand, I need to know.

Jagged Capabilities Map

LLMs are NOT uniformly capable. Use this mental model:

HIGH Reliability (on the rails)

These are well-defined, verifiable, data-rich domains:

  • Code in popular languages (Python, JS, SQL)
  • Text summarization and rewriting
  • Structured data extraction
  • Well-known algorithms
  • Common patterns (REST APIs, SQL queries, regex)

MEDIUM Reliability (use carefully, verify)

  • Less popular languages (Rust, Haskell, Elixir)
  • Integrating multiple systems together
  • Anything involving specific versions/APIs after training cutoff
  • Multi-step reasoning chains
  • Math beyond simple arithmetic

LOW Reliability (always verify independently)

  • Cutting-edge research (may hallucinate papers)
  • Novel combinations of technologies
  • Domain-specific knowledge you can't easily verify
  • Legal/medical/financial specifics
  • Anything where being wrong is expensive

The Capability Check Prompt

Before trusting an AI output on something important:

I need to evaluate how reliable your output is for this specific task:

Task type: [DESCRIBE WHAT YOU ASKED THE AI]
Output: [PASTE THE OUTPUT]

Help me assess:
1. How common is this exact pattern in training data? (ubiquitous / common / rare / novel)
2. What's the easiest way to verify this without running it?
3. What's the most likely error — hallucinated API? Wrong logic? Outdated syntax?
4. What search query would I use to double-check the key claim?
5. Should I trust this output? (YES/VERIFY_FIRST/DEFINITELY_CHECK)

The Anti-Atrophy Protocol

Karpathy tracks which skills are atrophying (taken over by AI) and which are growing. Monthly check:

Run a skills audit for [MONTH/YEAR]:

Things I've been having AI do for me recently:
[LIST 5-10 TASKS]

For each:
1. Is my ability to do this WITHOUT AI declining? (YES / NO / UNSURE)
2. Is that OK? (Critical skill I must maintain / Commodity I'm fine outsourcing)
3. Action: KEEP_DELEGATING / PRACTICE_MANUALLY / LEARN_DEEPLY

Final question: What's one thing I should deliberately do WITHOUT AI this month to stay sharp?

The Verification Checklist

Before shipping any agent-produced output:

Understanding verification:
- [ ] I can explain what this does in plain English without looking at it
- [ ] I've traced through the logic manually for at least one example
- [ ] I know what the failure mode looks like
- [ ] I've run it / tested it myself (not just read the output)
- [ ] If it's wrong, I'll know how to debug it
- [ ] I'm not shipping something I'd be embarrassed to explain in a code review

If any box is unchecked: understand it before shipping.

The Learning Extraction Prompt

When AI writes something you don't understand — learn from it, don't just ship it:

You wrote this code/text and I don't fully understand it:

[PASTE OUTPUT]

Teach me:
1. The underlying concept (assume I know [MY_LEVEL] — beginner/intermediate/expert)
2. Walk through the logic step by step
3. What would happen if I changed [SPECIFIC PART]?
4. Point me to the canonical resource where I can learn this properly
5. Give me a simpler version that demonstrates the core idea in isolation

I'm going to use this as a learning moment, not just copy-paste.

Workflow

属于工作流:反偏见决策(第2步)+ 工作流:月度体检(第2步)

位置上游下游
C第2步karpathy-llm-simulator(辩论后)karpathy-system-prompt-learning(沉淀规则)
D第2步karpathy-meta-reflection(审计后)karpathy-practice-environments(建练习环境)

反偏见决策链路:llm-simulator → understanding-first → system-prompt-learning 月度体检链路:meta-reflection → understanding-first → practice-environments → education-first

Prompt Contract

After completing this task, append an Understanding Report: 1) Key assumptions made (list each), 2) What was verified (with evidence), 3) What remains inferred/unverified (with suggested verification method), 4) Capability boundary notes (where LLM might be off-distribution for this task), 5) Items I must personally inspect or understand before relying on this output.

Verification Checklist

  • 关键假设被明确列出(不藏在输出里)
  • 已验证项有证据(测试通过/文档引用/数据对比)
  • 未验证项有明确的验证方法建议
  • LLM 能力边界有标注(哪些部分它可能不擅长)
  • 「你必须亲自看」清单具体到文件/行/配置
  • 人类确认已理解核心逻辑(不只是看了一眼)

FAQ

What does the karpathy-understanding-first skill do?

Apply the Karpathy understanding-first principle — verify what AI built, own your understanding, map the jagged capability landscape of LLMs. Use this skill when the user has used AI to build something and needs to verify it, wants to audit their own understanding, needs to know where LLMs are reliable vs unreliable, or says "verify this", "do I actually understand this", "what can I trust the AI on", "jagged capabilities", "understanding not outsourcing". Based on 46k-like quote post.

How do I install karpathy-understanding-first?

Run npx skills add https://github.com/learnprompt/andrej-karpathy-skills --skill karpathy-understanding-first 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-understanding-first/ (personal) or .claude/skills/karpathy-understanding-first/ (project).

Which AI agents can use karpathy-understanding-first?

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-understanding-first 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-understanding-first?

It is published by learnprompt in learnprompt/andrej-karpathy-skills. It has 129 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-methodology

learnprompt/andrej-karpathy-skills

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.

AI & Agents137 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-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

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

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