Video wird geladen...
Video konnte nicht geladen werden
karpathy's CLAUDE.md hit #1 on github trending. 220,000 stars. most devs still haven't read it. it's 65 lines. it took AI coding accuracy from 65% to 94%. the 4 rules inside: → think before coding state your assumptions. ask when unsure. never guess. → simplicity first write the minimum... show more
2,629,432 Aufrufe • vor 3 Monaten •via X (Twitter)
38 Kommentare

The link to the OG repo:

ep thanks

I have pushed it further with my charter inspired by Karpathy. The codebase has some eval for benchmarking but I’ve been using it heavy on my private codebases as well. Looking for feedback

great job

Anyone good at ai coding usually gives Claude something similar in the initial prompt, not every task needs these exact instructions and some need more

That’s a good one. I also highly recommend. Second one that I’d recommend is called “caveman” it makes Claude way less verbose. Saves money, context and agent is not getting off rails as much

Every dev rn bookmarking the 65 lines they will never read

This CLAUDE.md hitting 220k stars is actually wild Karpathy dropped 65 lines of “just think clearly and don’t be sloppy” and the entire timeline completely lost their minds. To be fair, the 4 rules are genuinely solid—especially “state your assumptions” and “surgical changes.” I’ve been forcing almost the exact same discipline into my custom Claude Skills for my UGC factories. It makes the jump from messy prompts to consistent Seedance 2.0 output way cleaner. Still calling bullshit on that 65% \rightarrow 94% accuracy jump, though. That smells like classic AI benchmark cope.

.

@grok does @karpathy actually has that repo? Or this is a scam?

i added 'ask when unsure' to my prompt and now claude asks me questions that expose i didn't understand my own request. humbling

ironic that devs need a 65 line manifesto to stop guessing finally someone admitting the rest of us are just over-engineering nonsense

Friendly reminder:Karpathy didn't create this skill. He shared observations about common LLM coding pitfalls. A developer packaged them into a CLAUDE.md file for Claude Code, and the community repo

It's missing very important "you are 100x elite engineer with 100 years of experience". And also the classic one "make no mistakes plz".

65 lines and 220,000 stars, yet the most crucial rule seems to be 'actually read the thing'.

That’s very interesting. I thought prompt engineering had died a year ago, but I was mistaken. Thousands of users are still searching for the "golden prompt"... It’s a bit sad. I really don't understand why you would try to coax a model instead of just giving it a direct command

The "think before coding" rule is the real unlock. Most people skip straight to prompting and then wonder why the output is messy. Writing down assumptions first forces you (and the model) to actually reason about the problem instead of pattern-matching.

Karpathy dropping another gem These 4 rules are pure gold. Especially 'surgical changes' and 'think before coding' — that's exactly where most AI coding sessions go off the rails. Added to every project now. The 220k stars are well deserved."

he is real legend

repoweasel: CLAUDE.md is the operating file, DEMO.md is the 60-second prompt-only paste-in-any-model demo, README has the before/after + try-it path. MIT licensed, no install, single file. happy to answer any questions:

Relevant thread:

Excellent

Fat skill, thin harness. Too much instruction in the harness limits the underlying models capabilities.

did accuracy actually go from 65% to 94% or is that just a catchy number from the post?

accuracy numbers in this post are made up but the CLAUDE.md concept itself is real. a well-structured one does change how the model approaches your codebase

This is solid evidence why a real software engineer will be the person who extracts the most out of LLMs. SEs know what to ask for because they know the consequences of decisions being made. That it what Karpathy is doing with the skills.md.

65 lines for 94% accuracy? My Chrome extension for X replies, Crazy Pigeon, needs about 65,000 lines to get people to click 'reply'. Guess I'm not Karpathy.

how did you define “AI coding accuracy?”

220k stars and the real flex is admitting you bookmarked it without opening the file 😂 Classic dev self-own.

素晴らしいルール!簡潔で的確な方法ですね。必ず守ります。

lol why you’re so excited any decent dev say to his model to follow KISS,DRY,SOC,YAGNI there is nothing new lr special here

Goal criteria stop claude from adding unplanned refactors during a task

65 lines, 4 rules, 29% accuracy jump. The simplicity is the whole point

banger grats

thanks my friend

65→94% is real. it's also fragile. CLAUDE.md rules are advisory — model follows them turn 1, drifts by turn 5. accuracy creeps back down mid-session. the fix isn't more rules. it's a PreToolUse hook that checks output against constraints before committing

been here before 100k views rules are simple yet so necessary

honestly most skip it and run their agents blind. 65 lines is nothing
