5 views
multica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
★ 218,422+278 that day#5 on trending
B81.8/100
Duplication82
0% in bash, perlDead coden/a
no JavaScript, TypeScript, Python or compiler-checked Rust filesComplexity82
0% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
2.73%duplicated over all files · 60 of 2,201 lines
2clones
24files scanned
Most complex files
- .git/hooks/fsmonitor-watchman.sample19 cx
- .git/hooks/pre-rebase.sample14 cx
- .git/hooks/sendemail-validate.sample14 cx
- .git/hooks/update.sample13 cx
- .git/hooks/push-to-checkout.sample6 cx
- .git/hooks/pre-commit.sample5 cx
- .git/hooks/pre-push.sample5 cx
- .git/hooks/pre-receive.sample4 cx
- .git/hooks/commit-msg.sample3 cx
- .git/hooks/prepare-commit-msg.sample1 cx
Dead code
Not measured: no JavaScript, TypeScript, Python or compiler-checked Rust files.
Only 10 of the files count as code, too few for a code-only percentage; the numbers above cover every file.
Largest clones
- 57 lines in 2 placesmarkdowndocs and examples325 tokens
5**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment. 6 7## 1. Think Before Coding 8 9**Don't assume. Don't hide confusion. Surface tradeoffs.** 10 11Before implementing: 12- State your assumptions explicitly. If uncertain, ask. 13- If multiple interpretations exist, present them - don't pick silently. 14- If a simpler approach exists, say so. Push back when warranted.First 10 of 57 lines.
- 7 lines in 2 placesbashdocs and examples65 tokens
119curl -o CLAUDE.md https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md 120``` 121 122Existing project (append): 123```bash 124echo "" >> CLAUDE.md 125curl https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md >> CLAUDE.md119curl -o CLAUDE.md https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md 120``` 121 122已有项目(追加): 123```bash 124echo "" >> CLAUDE.md 125curl https://raw.githubusercontent.com/forrestchang/andrej-karpathy-skills/main/CLAUDE.md >> CLAUDE.md
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| bash | 9 | 694 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| markdown | 6 | 1,024 | 1 | 57 | 5.57% |
| bash | 11 | 700 | 1 | 3 | 0.43% |
| perl | 1 | 168 | 0 | 0 | 0% |
| python | 1 | 116 | 0 | 0 | 0% |
| diff | 1 | 89 | 0 | 0 | 0% |
| text | 3 | 75 | 0 | 0 | 0% |
| json | 1 | 29 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 11, 2026 | #5 | 218,422 (+278) | 24 | 2,201 | 2 | 2.73% | — | B 81.8 | 2c60614 |
| Sep 9, 2026 | #4 | 211,590 (+333) | 24 | 2,157 | 2 | 2.78% | — | — | 2c60614 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.