anthropics/claude-code SLOC report

As of 2026-09-06 (commit ab9b2cf7bb9e), anthropics/claude-code contains 38,142 total lines: 10,858 code, 20,025 comments, 7,259 blank, across 174 files in 9 languages (top: Python 52.0%). Counted with tokei via OctoCounts.

As of 2026-09-06 (commit ab9b2cf7bb9e), anthropics/claude-code contains 38,142 total lines: 10,858 code, 20,025 comments, 7,259 blank, across 174 files in 9 languages (top: Python 52.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving anthropics/claude-code to commit ab9b2cf7bb9e, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 28.5% of all lines, comments represent 52.5%, and the repository averages 62 code lines per file. Python accounts for 52.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python21757556511182742
Shell2033932352671370
HCL813871013212162
XML182282200
TypeScript574959724128
JSON1228728700
PowerShell21801114920
Dockerfile2102256413
Markdown103236470178235824

Top language (Python 52.0%). Generated at 2026-09-06T13:40:43.069872609+00:00.

Report FAQ

How many lines of code does anthropics/claude-code have?

anthropics/claude-code has 38,142 total lines, including 10,858 code lines, 20,025 comment lines, and 7,259 blank lines.

How was the anthropics/claude-code line count measured?

OctoCounts resolved the public GitHub repository to commit ab9b2cf7bb9e, 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 ab9b2cf7bb9e on 2026-09-06T13:40:43.069872609+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: