anthropics/claude-code SLOC report
As of 2026-08-12 (commit 681a8be245e7), anthropics/claude-code contains 36,974 total lines: 10,648 code, 19,121 comments, 7,205 blank, across 174 files in 9 languages (top: Python 53.1%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 28.8% of all lines, comments represent 51.7%, and the repository averages 61 code lines per file. Python accounts for 53.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Python | 21 | 7575 | 5651 | 1182 | 742 |
| Shell | 20 | 3393 | 2352 | 671 | 370 |
| HCL | 8 | 1387 | 1013 | 212 | 162 |
| XML | 1 | 612 | 612 | 0 | 0 |
| TypeScript | 5 | 749 | 597 | 24 | 128 |
| JSON | 12 | 287 | 287 | 0 | 0 |
| PowerShell | 2 | 180 | 111 | 49 | 20 |
| Dockerfile | 2 | 102 | 25 | 64 | 13 |
| Markdown | 103 | 22689 | 0 | 16919 | 5770 |
Top language (Python 53.1%). Generated at 2026-08-12T04:35:13.793574539+00:00.
Report FAQ
How many lines of code does anthropics/claude-code have?
anthropics/claude-code has 36,974 total lines, including 10,648 code lines, 19,121 comment lines, and 7,205 blank lines.
How was the anthropics/claude-code line count measured?
OctoCounts resolved the public GitHub repository to commit 681a8be245e7, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for anthropics/claude-code?
This OctoCounts report was generated from main at commit 681a8be245e7 on 2026-08-12T04:35:13.793574539+00:00.