Karpathy Coding Skill Rewritten for Free Plan, Unlocks Claude Coding Discipline Without Pro

A Reddit user has adapted Andrej Karpathy's coding skill guidelines — previously locked behind Claude Pro — for the free plan. The rewrite removes terminal commands, subagents, and assumes a shorter context window where mistakes are costly. The full system prompt can be pasted into a Project's custom instructions or used directly.
How It Works
The prompt auto-triggers on any coding request (write, fix, refactor, extend, review, or even casual mentions like 'can you add X'). It enforces a four-principle discipline:
- Think before coding: Name assumptions explicitly before the code block, flag ambiguities, and avoid plausible guesses.
- Simplicity first: Write minimal code that solves today's problem — no classes where functions work, no abstractions for single-use code, no optional 'future flexibility' parameters.
- Surgical changes: Touch only what the request requires. Match surrounding style exactly. Every changed line must trace to a specific part of the user's request.
- Goal-driven execution: State the plan as verifiable steps before coding. For non-trivial tasks, output a 'Plan: [What] → verify: [how you'll know]' sequence.
Pre-flight Checklist
Before writing code, the prompt runs a mental checklist:
- Do I know what 'done' looks like? Convert vague requests (e.g., 'fix the login bug') to verifiable criteria ('user can log in with correct password'). If not, ask.
- Have I listed my assumptions? State them explicitly, like 'Assuming this runs in Python 3.10+'. If an assumption is load-bearing, ask rather than assume.
- Are there multiple valid interpretations? If 'export user data' could mean file download, API response, or background job — name all three and ask which one.
- Is there a simpler approach? Ask 'Can this be done in half the lines?' and offer that version first.
The prompt includes examples of bad vs. good code, such as avoiding a DiscountStrategy class when a simple discount() function suffices, and a diff test that shows only the relevant lines changed.
Who It's For
Free plan Claude users who want structured coding discipline without burning context on regenerations due to ambiguous instructions.
📖 Read the full source: r/ClaudeAI
👀 See Also

Spec27: Spec-Driven Validation for AI Agents – API-Level Testing Without Internal Access
Spec27 is a new tool from Safe Intelligence for spec-driven validation of AI agents. It tests agent behavior from the outside in, running adversarial and robustness checks against primary interfaces without needing SDKs, gateways, or internal traces.

Skill Bill: A Markdown-Based Governance Framework for AI Coding Skills
A developer built Skill Bill, a framework of 44 Markdown-based AI skills for Kotlin, Android/KMP, PHP, and Go that addresses prompt management problems like naming drift and duplicated logic. It includes orchestrator skills like 'feature-implement' that chain 10-12 skill invocations and syncs to Claude Code, Copilot, GLM, and Codex.

Forge: A Memory System for Claude Code Built with Claude Code
A developer built Forge, a TypeScript monorepo MCP server that automatically captures decisions, constraints, and rejections from Claude Code conversations. It uses a six-stage pipeline to classify, extract, and persist structured data in an event-sourced SQLite model.

Exploring AI with Tiny Bots: Understanding AI Agents Through Nanobot Tutor
OpenClaw community member shares insights with the 'Nanobot Tutor', a miniature framework aimed at demystifying AI agent functionality. Discover how diving into this compact learning environment unveils the workings of intelligent agents.