Karpathy's LLM-coding pitfalls compiled into viral CLAUDE.md — #2 on GitHub weekly
·GitHub Trending
A community-maintained distillation of Andrej Karpathy's observations about where LLMs fail at coding — shipped as a single CLAUDE.md you drop into any Claude Code project — racked up ~5,000 stars this week, landing at #2 on GitHub trending. The repo encodes Karpathy's rules for atomic commits, test-driven scaffolding, and guarding against hallucinated APIs. Author forrestchang says it cut his own Claude Code hallucination rate by roughly half. Part of a wider trend: Karpathy-shaped opinions becoming infrastructure.
Karpathy's informal observations becoming a de-facto standard — via a fan repo he didn't even author — is the clearest sign that "practitioner prompts" are turning into real engineering artifacts. Expect every team running AI-coding tools to adopt a similar CLAUDE.md / AGENT.md pattern over the next quarter, with competing distillations from Nat Friedman, swyx, and others emerging. The era of shared LLM "coding constitutions" has started.
Impact scorecard
7.1/10
Stakes
6.0
Novelty
7.0
Authority
8.0
Coverage
5.5
Concreteness
8.5
Social
8.0
FUD risk
1.5
Coverage8 outlets · 0 tier-1
GitHub Trending, The Pragmatic Engineer, Hacker News, Every.to, AI Noon
Trending rank and star counts are directly verifiable on github.com/trending. Content in the CLAUDE.md is cross-checked against Karpathy's own public tweets and YouTube transcripts. Low FUD risk; the only caveat is attribution — Karpathy hasn't formally endorsed the repo.
@hardmaru (David Ha) flagged a paper adapting Sora-style video-diffusion architectures to build a learned world model of an actual Linux desktop. The model ingests 9,000 hours of screen-recording + keyboard/mouse traces and learns to predict next-frame UI state conditioned on user input — effectively a probabilistic operating-system simulator. On a held-out eval of 50 common tasks (opening files, running commands, navigating web UIs), the model achieves 73% next-event accuracy at 2-second horizons and 41% at 30-second horizons, beating the prior SOTA (Meta AI Habitat-UI) by 18pp. Direct application: train agents in fully simulated computer environments without real-system rollouts — cuts RL data costs ~40x and eliminates the safety risk of letting agents touch production systems during training.
EE Times deep-dive on AMD's ROCm 7.0 and whether it can finally dent NVIDIA's CUDA moat. AMD's MI400 (96GB HBM4, 5.2 PFLOPS FP8) now runs PyTorch, vLLM and SGLang out-of-the-box — but reviewers testing MLPerf Inference v5.1 still see 1.6–2.2x gaps vs H200 on representative LLM workloads, driven by kernel-library maturity rather than raw silicon. Breakthrough of the cycle: AMD hiring 600 CUDA-kernel engineers in 12 months, plus open-sourcing HIPify tooling that auto-translates 83% of typical CUDA kernels. AMD claims Meta, Microsoft and OpenAI are all now shipping production MI400 pods. NVIDIA's response: CUDA 13 with tensor-core autotuning targeting the same eval suite, launching Q2.
Anthropic announced the advisor strategy on the Claude Platform: pair Opus 4.6 as a planning/critique advisor with Sonnet 4.6 or Haiku 4.5 as the executing model. The advisor inspects partial outputs, suggests corrections and redirects the executor mid-generation. On SWE-bench Multilingual, Sonnet+Opus-advisor scores 2.7 percentage points higher than Sonnet alone, at roughly 1.3x the cost vs 7x the cost of running Opus end-to-end. General availability today via the Claude Console and CLI; pricing is existing Claude API rates for both models (no advisor premium). Anthropic positions this as the first first-class multi-model inference primitive in any frontier-lab API — not just routing or cascading but explicit advisor/executor roles with shared context.