/karpathy:karpathy-updatefrom karpathy
Check for and update the Karpathy plugin itself. Use when the user says "karpathy update", "/karpathy:update", the client-dependent shorthand "/karpathy update", asks to update or upgrade the Karpathy skill/plugin, or asks whether a Karpathy plugin update is available. This is for plugin updates, not repo wiki content updates.
Ships in karpathy. 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.
None: SKILL.md is the whole skill.
Update the installed Karpathy plugin with the smallest safe workflow for the current client.
Resolve this skill directory and use the shared helper:
python3 <skill-dir>/../../scripts/check_update.py --check
python3 <skill-dir>/../../scripts/check_update.py --update
If the user asked for status only (--check, check, "is there an update"),
run --check and report the result.
Otherwise run --update.
If the helper reports repaired or restart_required, summarize the
command results and tell the user to start a new Codex thread or
restart/reload the client so refreshed skills and hooks are loaded.
If the helper reports manual_required, relay the exact fallback command(s)
from the helper. Do not invent a manual cache rewrite.
If the helper reports dry_run, none, or update_available, report the
status and exact next steps from the helper without adding extra repair
commands.
Codex has a shell plugin manager. In Codex, the helper may run:
codex plugin marketplace upgrade karpathy-skills
codex plugin add karpathy@karpathy-skills
Claude Code's plugin update path is an interactive slash command. Do not
manually edit ~/.claude/plugins/cache or installed_plugins.json. Tell the
user to run:
/plugin marketplace update karpathy-skills
/plugin install karpathy@karpathy-skills
/reload-plugins
If /karpathy:update itself is missing in Codex, recover with:
codex plugin marketplace upgrade karpathy-skills
codex plugin add karpathy@karpathy-skills
Then start a new Codex thread.
When an update is available, say:
Run /karpathy:update to install it.
If the client rejects slash commands or the user tried /karpathy update, add
the fallback:
Type karpathy update as normal text.
Keep the explanation short. This command updates the plugin itself; use
/karpathy:wiki update for repo wiki content updates.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jokim1/karpathy-skills --plugin karpathy5 skills in this plugin
/karpathy-auditAudit a CLAUDE.md, AGENTS.md, .cursor/rules file, or other AI-agent instruction/memory file against Andrej Karpathy's four LLM-coding principles. Checks two things: whether the file tells the agent to follow the principles (coverage), and whether the file itself earns its context budget - lean, unambiguous, current, contradiction-free, well-layered, and sized for every model that reads it (quality). Use this whenever the user wants to review, audit, critique, tighten, clean up, or improve a CLAUDE.md / AGENTS.md / .cursor/rules / agent memory file, says "karpathy audit" or "/karpathy:audit", asks to configure or set up Karpathy audit checks, asks whether their agent instructions are any good, or wants to apply Karpathy or vibe-coding guidelines to a project. Trigger even if they just say "check my CLAUDE.md" without naming Karpathy./karpathy-diffReview an in-progress code change (a git diff) against Andrej Karpathy's principles before you commit or accept it. Catches scope creep, collateral file edits, drive-by refactors, reformatting, deletions of code or comments the task never called for, over-engineered new code, and missing verification. Use this whenever the user wants to review a diff or their changes, check whether a change is safe to commit or accept, asks "did the agent touch anything it shouldn't", "review my changes", "check this before I commit", says "karpathy diff" or "/karpathy:diff", or has just had an agent make a batch of edits. Trigger before commits and after agent-made edits even if the user doesn't mention Karpathy.