A Codex-native packaging of Andrej Karpathy-inspired coding-agent guidelines.
AGENTS.mdis the repository-level operating context..codex-plugin/plugin.jsonis the plugin manifest.skills/andrej-karpathy-skill/SKILL.mdis the reusable skill.instruction.mdis the copy-paste version for Codex Custom Instructions.EXAMPLES.mdshows Codex-style examples.
English | Simplified Chinese
Coding agents often fail in predictable ways:
- they assume too much,
- they overbuild simple requests,
- they edit unrelated code,
- they call work done without a clear success check.
This package turns the original Karpathy-style guidelines into a Codex-ready skill, repo instruction file, and Custom Instructions block.
| Guideline | Codex Behavior |
|---|---|
| Think before coding | Surface assumptions, confusion, alternatives, and tradeoffs. |
| Keep it simple | Solve the current request without speculative features or abstractions. |
| Make surgical changes | Touch only what the task requires and preserve surrounding code. |
| Define and verify the goal | Turn the request into a checkable outcome before calling it done. |
Use this repository as a local Codex plugin source.
- Add the repository to your Codex plugin sources.
- Codex reads
.codex-plugin/plugin.json. - Codex loads
skills/andrej-karpathy-skill/SKILL.md.
Plugin name:
andrej-karpathy-skills
Skill name:
andrej-karpathy-skill
If someone does not want to install the plugin or add an AGENTS.md, they can use the standalone Custom Instructions version:
- Open
instruction.md. - Copy the block under "Paste the block below".
- Paste it into Codex Settings -> Custom Instructions.
That version is self-contained, so Codex can apply the same behavior without reading any repo files.
.codex-plugin/plugin.json
AGENTS.md
EXAMPLES.md
instruction.md
LICENSE
README.md
README.zh.md
skills/andrej-karpathy-skill/SKILL.md
Inspired by Andrej Karpathy's public comments on LLM coding behavior and by the original community repo that packaged those ideas as reusable agent guidance.
Original repo credit:
multica-ai/andrej-karpathy-skills
MIT