Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Run Karpathy's 4-principle review on staged changes or the last commit. Checks complexity, diff noise, hidden assumptions, and goal verification. Usage /karpathy-check [--last-commit]
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -65% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -66% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -58% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -57% | 0% |
<!-- canonical copy: engineering/karpathy-coder/commands/karpathy-check.md — keep in sync (root copy uses repo-root-relative script paths) -->
Review your staged changes (or last commit) against Karpathy's 4 coding principles.
/karpathy-check # review staged changes
/karpathy-check --last-commit # review the most recent commitengineering/karpathy-coder/skills/karpathy-coder/scripts/complexity_checker.py on all changed files — detects over-engineering, premature abstractions, deep nesting, long functionsengineering/karpathy-coder/skills/karpathy-coder/scripts/diff_surgeon.py on the diff — detects comment-only changes, whitespace noise, style drift, drive-by refactorskarpathy-reviewer agent reads the diff and applies human-judgment checks — hidden assumptions, missing verificationA structured report with per-principle verdicts and specific line-level fix recommendations.
Dispatches the karpathy-reviewer agent. See agents/karpathy-reviewer.md.
engineering/karpathy-coder/skills/karpathy-coder/scripts/complexity_checker.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/diff_surgeon.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/assumption_linter.pyengineering/karpathy-coder/skills/karpathy-coder/scripts/goal_verifier.py→ engineering/karpathy-coder/skills/karpathy-coder/SKILL.md
Other measured skills in the registry, with their headline benchmark lift.