Karpathy Regula — Development skill for Claude Code
Karpathy coding guidelines with explicit conditions and reasons for Claude Code and Codex, with process-comparison research.
How to install Karpathy Regula
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ajitta/karpathy-regula and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Karpathy Regula does
Karpathy coding guidelines with explicit conditions and reasons for Claude Code and Codex, with process-comparison research.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Andrej Karpathy Skills — 7404 65 1 7.5k ★
- Contributing To Auto-claude-code-research-in-sleep (aris) — English 中文版 Thank you for your interest in contributing to ARIS 3.1k ★
README
Karpathy Regula
Karpathy's coding guidelines for Claude Code and Codex, rewritten so that each instruction keeps its condition, its action and its reason together (one clause added in 0.2.0 still lacks its own reason; see [Remaining limits](#remaining-limits-of-the-text)). Both hosts load one shared English skill, `coding-guidelines`, with four principles: think before coding, keep implementations simple, make scoped changes, and define verifiable goals.
This is an unofficial adaptation of the Karpathy Guidelines skill by [forrestchang](https://github.com/forrestchang) and contributors; see [attribution](plugins/karpathy-regula/NOTICE.md). It has not been shown to produce better code than the original; see [Evidence and limits](#evidence-and-limits).
Install
Claude Code
In Claude Code, add the marketplace:
/plugin marketplace add ajitta/karpathy-regulaInstall the plugin:
/plugin install karpathy-regula@karpathy-regulaStart a new session.
Put the skill's name in front of a coding task:
/karpathy-regula:coding-guidelines Fix the discount bug in cart.py without touching anything else.
From a terminal, steps 1 and 2 are `claude plugin marketplace add ajitta/karpathy-regula` and `claude plugin install karpathy-regula@karpathy-regula`. The plugin is also listed in the [ajitta catalog](https://github.com/ajitta/claude-plugins) as `karpathy-regula@ajitta`. Install it through one route only; two routes give you two copies of the skill.
Codex
In a terminal, add the marketplace:
codex plugin marketplace add ajitta/karpathy-regulaInstall the plugin:
codex plugin add karpathy-regula@karpathy-regulaStart a new Codex session.
Put the skill's name in front of a coding task:
$karpathy-regula:coding-guidelines Fix the discount bug in cart.py without touching anything else.
In the desktop app, the register
Related Skills
Demand Stack
Global CLAUDE.md skill layer for Claude Code: Session Relay + Karpathy Coding Guidelines
Karpathys Claude Guide
Karpathy Inspired Claude Code Guidelines 🌟 Star if you like it! 🌟
Marcopolo
Process for exploring unconventional designs for coding, architecture, and research problems, with a benchmark
Work Block
Daytime multi-issue work block — process an explicit issue list or queue selector through ship with per-issue
AgentBench Lab
Developers choose between Claude Code, Codex, Aider, and similar tools mostly on gut feeling. AgentBench Lab r
Hermes Architect Skill
Hermes Agent advanced skill set: Deeply integrated Karpathy's coding principles and Claude Code's architectura
Related Agents
Process Observer Audit
Compliance audit sub-agent. Reviews session against CLAUDE.md behavioral guidelines — branching conventions, C
Aux Delegator
Invokes external CLI coding agents (Codex, OpenCode, Claude -p, ACP). Use whenever a task should be offloaded
Team Karpathy
Dev-team skeptic, based on Karpathy's guidelines. Clears up requirements, states assumptions, sets success cri