ClaudeMap

Andrej Karpathy Skills (CLAUDE.md)

A single-file CLAUDE.md distilling Karpathy's coding observations into four working rules (211k stars).

Prompt Librariesclaude-mdrulesprompt-engineeringbest-practices

Karpathy's widely-shared observations on how coding agents go wrong, maintained by the community as a single-file CLAUDE.md: four rules that prevent the classic failure modes (speculative abstraction, dead code, unrequested rewrites, ignored lint). The point is the packaging as much as the rules — copy one file, get measurably better agent behavior. One of the most-starred prompt assets in the ecosystem; works in any tool that reads CLAUDE.md.

What it does

  • A single CLAUDE.md encoding four principles derived from Andrej Karpathy's observations on LLM coding pitfalls
  • Principles: Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution
  • Directly targets wrong assumptions, over-engineering, orthogonal edits, and unverifiable work
  • Zero infrastructure — drop the file into your project and Claude Code reads it

When to use it

For anyone whose coding agent over-builds or silently assumes — this file is a cheap, instant behavioral nudge with real philosophy behind it.

Getting started

Copy the CLAUDE.md into your project root (or merge its principles into your existing CLAUDE.md). Claude Code picks it up automatically.

Things to know

It's one opinionated file — principles help most codebases but won't replace project-specific instructions.

Repository

multica-ai/andrej-karpathy-skills

Charted

Related on the map

  • Version-by-version teardown of Claude Code's system prompts and 27 built-in tool descriptions, updated with every release.

    • system-prompt
    • claude-code
    • analysis
    • prompt-engineering
  • prompts.chat

    Prompt Library

    The de-facto standard ChatGPT role-prompt collection (f.k.a. Awesome ChatGPT Prompts).

    • prompts
    • awesome-list
    • roles
    • community
  • Claude Quickstarts

    Prompt Library

    Anthropic's official Claude API quickstarts — agentic customer service, RAG, skills, and more, in working notebooks.

    • official
    • anthropic
    • quickstart
    • examples