Who it is forA developer whose agent turns a 50 line fix into a 400 line abstraction and rewrites comments it did not need to touch.
The problemLLM agents bloat abstractions, add unrequested configurability and make orthogonal edits as side effects.
The outcomeAn agent that writes the minimum code for the task, matches existing style and leaves unrelated code alone.
What you need first
- Claude Code (plugin install) or any project where the agent reads CLAUDE.md
- curl for the per-project install
- Cursor users can use the committed project rule in .cursor/rules
Steps
- Open Claude Code in any project
- Run
/plugin marketplace add forrestchang/andrej-karpathy-skillsto add the marketplace - Run
/plugin install andrej-karpathy-skills@karpathy-skillsto install the guidelines across all your projects - Give the agent a small change and check that every changed line traces to your request
- If it notices unrelated dead code, expect it to mention it rather than delete it
Prompt for your agent
Install the andrej-karpathy-skills plugin in Claude Code, then make this change: <change>. Follow Simplicity First and Surgical Changes: touch only what the task needs, match existing style, and list any unrelated issues you notice instead of fixing them.
Caveat. The guidelines bias toward caution over speed; the README says trivial tasks do not need the full rigor.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for multica-ai/andrej-karpathy-skills and "Stop Claude Code from overengineering your code"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer