The argument in one line.
A single CLAUDE.md file derived from Karpathy's coding principles fixes the four most expensive AI agent failure modes: silent assumptions, overengineering, scope creep, and unverified output.
Read if. Skip if.
- Claude Code users who keep getting over-engineered, scope-creeping outputs that solve problems they didn't have
- Developers who want the Karpathy-derived CLAUDE.md principles explained and demonstrated before they copy the file
- Anyone using coding agents daily who wants a 9-minute fix for silent assumptions and unverified output
- Developers not using Claude Code or AI coding agents — the demo is specific to the Claude Code workflow
- People who already have a well-tuned CLAUDE.md and agent behavior they're happy with
The full version, fast.
AI coding agents have stopped writing broken syntax — the new failure modes are subtler and more expensive: silent assumptions where the agent picks one interpretation and commits without asking, overengineering where a simple function becomes a configurable utility class, scope creep where adjacent code gets refactored uninvited, and unverified output where the agent reports success without confirming the thing actually works. The andrej-karpathy-skills GitHub repo addresses all four with a single CLAUDE.md file derived from Karpathy's public thread on how his workflow shifted to 80% agent coding. The file installs in minutes, runs as a behavioral specification for Claude Code, and is demonstrated live against an ecommerce dashboard build to show the measurable before/after difference in output quality.
Chat with this breakdown — free.
Sign in and you get 23 free chat messages on us — ask for the hook, quote a framework, find the exact transcript moment, generate a markdown action plan. Bring your own key when you want unlimited.
Create a free account →Where the time goes.

01 · Karpathy thread + the four problems
Opens with Karpathy workflow flip (80% manual to 80% agent). Frames story around failures. Names four agent failure modes: silent assumptions, overengineering, scope creep, no verification.

02 · Excalidraw: problems mapped to cost
Three-column diagram: Your Request / What the Agent Does / What You Get. Walks each failure mode with concrete cost examples (400-line OAuth, 200-line date formatter, 40-line diff, untested validation).

03 · The four principles (GitHub README)
Introduces the Karpathy Skills repo. Maps each principle to the problem it solves: Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution.

04 · Installation walkthrough
Two paths: Claude Code plugin (global, recommended) via /plugin marketplace add + /plugin install; and per-project curl with append support for existing CLAUDE.md.

05 · Live demo: ecommerce dashboard
Builds dashboard with guidelines active. Agent asks 3 clarifying questions. Output: 1 file, 120 lines. Without guidelines: 6-8 files, 500+ lines, unasked-for features.

06 · VS Code: clean diff
Shows actual code output. Every changed line traces to what was asked. No renamed variables, no reformatted comments, no drive-by refactors.

07 · Tradeoff + close
Guidelines bias toward caution, not speed. For trivial tasks they are overkill. For nontrivial work where wrong assumptions cost hours, they are the fix.
Lines worth screenshotting.
- Coding agents have stopped making syntax errors — the new failure mode is silent assumptions that produce confident, wrong answers.
- When you ask for user authentication, the agent picks OAuth with refresh tokens and role-based access control because it was trained on codebases where abstraction is rewarded.
- A prompt to fix a bug in one function often produces a 40-line diff touching things you never asked about.
- Agents write code and call it done without verifying it handles empty strings, edge cases, or any real input at all.
- A CLAUDE.md file with 50 lines of behavioral rules changes the agent's default from guess-and-build to ask-first-then-build.
- The Karpathy Skills repo has 26,000+ stars because it solves a specific, expensive problem that most AI coding tutorials never address.
- Installing the guidelines as a plugin applies them across every project automatically — no per-project setup required.
- A dashboard built with the guidelines active produces one file and 120 lines; the same prompt without them typically yields 6-8 files and 500+ lines.
- Every line in the output should trace back to something you asked for — surprise edits are a signal the agent is operating outside its guidelines.
- The guidelines bias toward caution over speed, which is the right trade-off for any non-trivial feature where wrong assumptions cost hours.
Your CLAUDE.md is a behavioral contract, not a hint.
The agent does not need better prompts — it needs explicit rules about what NOT to do.
- Install the plugin route (global, 10 seconds): /plugin marketplace add forrestchang/andrej-karpathy-skills then /plugin install andrej-karpathy-skills@karpathy-skills
- Or append to your existing CLAUDE.md with the curl append command — your rules stay on top, Karpathy principles go at the bottom
- The four failure modes (silent assumptions, overengineering, scope creep, no verification) are the ones that kill review time — name them in your own CLAUDE.md
- The Excalidraw diagram format (Your Request / What Agent Does / What You Get) is a reusable content frame for any AI tool breakdown video
- The tradeoff is honest and worth saying out loud: these rules slow down trivial tasks, so scope them to nontrivial work
Terms worth knowing.
- CLAUDE.md
- A Markdown file placed in a project folder (or user config) that gives Claude Code standing behavioral instructions — role, constraints, coding style rules — that apply to every prompt in that project without needing to be repeated.
- Claude Code
- Anthropic's AI coding assistant that can read a project's files, write and edit code, run terminal commands, and build software through natural-language conversation.
- Coding agent
- An AI system that can autonomously plan and execute multi-step software development tasks — reading files, writing code, running tests, and iterating — with minimal human intervention between steps.
- Pull request
- A request to merge a set of code changes from one branch into another in a version control system like Git, typically reviewed by other developers before being accepted.
- Silent assumption
- When an AI agent picks one interpretation of an ambiguous request and acts on it without flagging the ambiguity or asking for clarification, often producing output that solves the wrong problem.
- Scope creep (in edits)
- When an AI makes unrequested changes beyond the stated task — reformatting files, renaming variables, or refactoring unrelated code — inflating the diff and adding review burden.
- Builder pattern
- A software design pattern where an object is constructed step-by-step through a chain of method calls rather than a single constructor, used to handle complex configurations.
- Diff
- A view showing exactly which lines of code were added, changed, or removed between two versions of a file, used in code review to understand what a change actually does.
- Claude Code plugin
- A packaged extension that adds reusable instructions, skills, or tool integrations to Claude Code, installable via the plugin marketplace and applying across all projects.
- Tailwind CSS
- A utility-first CSS framework that lets developers style HTML elements by applying small, single-purpose class names directly in markup rather than writing custom stylesheets.
Things they pointed at.
Lines you could clip.
“Coding agents are capable, but they behave badly. They make silent mistakes that look correct on the surface. They build too much when you need too little. They touch things they should not touch, and they do not verify their own work. This file corrects those patterns in about 50 lines of markdown.”
“Every line that changed traces back to what I asked for. There are no surprise edits, no renamed variables in other files, no reformatted comments, no drive-by refactors.”
“And then you end up reviewing a giant pull request that solves a problem you never actually had.”
Word for word.
Don't just watch it. Burn it in.
See every word as it's spoken — crank it to 2× and still catch all of it. The same dual-channel trick behind Amazon's Kindle + Audible.
The bait, then the rug-pull.
Andrej Karpathy posted a thread saying he now programs mostly in English — and then catalogued exactly how that breaks. Not broken syntax. Something worse: agents that guess silently, build too much, touch things they should not, and call it done without checking. One developer turned those observations into a single file. This is a breakdown of that file.
Named ideas worth stealing.
The Four Karpathy Principles
- Think Before Coding — surface ambiguity first, ask not guess
- Simplicity First — minimum code to solve the problem, no speculative features
- Surgical Changes — touch only what the request requires
- Goal-Driven Execution — define success criteria, loop until met
Four behavioral rules for AI coding agents derived from Karpathy X thread, packaged as a CLAUDE.md file by Forrest Chang.
The Four Agent Failure Modes
- Silent assumptions — picks one interpretation and commits without asking
- Overengineering — writes 200 lines when 30 would do
- Scope creep in edits — reformats, renames, refactors beyond the task
- No verification — says done without checking edge cases
Problem taxonomy from Karpathy thread, named and made concrete with cost estimates.
How they asked for the click.
“If you did, please like this video and subscribe to the channel, and I will see you in the next video.”
Standard end-screen CTA, no mid-roll asks. Clean close after the argument lands.









































































