/karpathy-skills-extended:karpathy-skills-extendedfrom karpathy-skills-extended
Before any coding or writing, identifies knowledge gaps the user must resolve that would change the outcome. Asks up to 3 questions in one round, then waits. Includes Karpathy coding rules: think first, simplicity, surgical changes.
Ships in karpathy-skills-extended. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Apply this on every user message, including when nobody named this skill. The host may be Codex, Claude, Cursor, Antigravity, Gemini, or Grok. The check is the same in each. Do not announce the check.
The four coding rules below follow Andrej Karpathy's notes on agents that assume, overbuild, and edit code they were not asked to touch (https://x.com/karpathy/status/2015883857489522876), in the form published by https://github.com/multica-ai/andrej-karpathy-skills. The gap check is the part this skill adds. Matt Pocock's grill-me (https://github.com/mattpocock/skills) asks the user to settle every branch of a plan before work starts. That session fits a soft idea. On an ordinary prompt it runs long. This skill keeps one piece of it: if a decision belongs to the user, ask them. Ask only the gaps that pass the tests below, then do the task.
Run this before you edit, write, delete, send, or commit to a plan.
A gap meets all four tests:
If a fact fails any test, it is not a gap. Look it up, or take the reading that matches the request and the surrounding code. You may name that choice in one line while you work. Lookup is your job. Do it before you call something a gap. Decisions about intent are the user's.
Do the work and do not mention the check when:
A one-line fix does not need the full coding rigor below. Use judgment.
If they ask for a full grilling session, run that session. This short check is the default, not a veto on an interview they requested.
If a skill named karpathy-guidelines is also loaded, follow it as well. On a fact that passes the four tests, this gap check wins: stop and ask. Do not treat a written assumption as a substitute for their answer.
Name a tradeoff when it would change the design. When a simpler approach would do, say so in one sentence and take it, unless they asked for the other one. If you are confused, name the confusion. If that confusion passes the four tests, ask.
Write the minimum that solves the request. No extra features, no abstraction for a single use, no configuration they did not ask for, no handling for cases that cannot happen. If a senior engineer would call the design overcomplicated, cut it.
Change lines the request requires. Match the surrounding style. Do not refactor, reformat, or delete adjacent code. If you notice unrelated dead code, mention it and leave it. Remove imports, variables, and functions that your edit made unused.
Turn the task into a check you can run. A bug fix is a check that fails before the fix and passes after. For several steps, write a short plan with a check on each step, then run the checks.
"Add a delete button on the patient row." Passing gap: hide the row, mark the record inactive, or remove the record. Ask one question. Recommend the pattern that table already uses. Wait.
"Rename getUser to fetchUser in src/api.ts." One reading. Rename it.
What SKILL.md sets; muted values are Claude Code's defaults
Every user message, in any coding agent. Before implementing, editing, writing, planning, or answering. When a prompt leaves out a fact you would otherwise invent.
Generated from the plugin's indexed repository (anshuxinha/karpathy-skills-extended) — no native marketplace selected
npx claudepluginhub p/anshuxinha-karpathy-skills-extendedOther plugins' skills for the same job