# anthropics/claude-cookbooks SLOC report

> As of 2026-09-16 (commit c245d39f91e5), anthropics/claude-cookbooks contains 214,970 total lines: 186,437 code, 15,457 comments, 13,076 blank, across 423 files in 18 languages (top: JSON 76.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

anthropics/claude-cookbooks has 186,437 source lines of code out of 214,970 total lines across 423 files, counted from the c245d39f91e5bbc0bf88f6a66a9af5e15f5c3462 ref at commit c245d39f91e5 by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving anthropics/claude-cookbooks to commit c245d39f91e5, 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 large codebase by counted code lines. Code represents 86.7% of all lines, comments represent 7.2%, and the repository averages 441 code lines per file. JSON accounts for 76.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 38 | 142,560 | 142,560 | 0 | 0 |
| Python | 93 | 23,369 | 19,479 | 1,177 | 2,713 |
| Jupyter Notebooks | 99 | 28,081 | 17,956 | 5,712 | 4,413 |
| TypeScript | 27 | 2,790 | 2,043 | 500 | 247 |
| YAML | 18 | 1,972 | 1,833 | 104 | 35 |
| CSS | 1 | 1,054 | 885 | 29 | 140 |
| TSX | 5 | 889 | 783 | 56 | 50 |
| Shell | 6 | 385 | 200 | 131 | 54 |
| TOML | 7 | 260 | 194 | 31 | 35 |
| INI | 1 | 154 | 133 | 11 | 10 |
| Dockerfile | 8 | 166 | 101 | 39 | 26 |
| Makefile | 1 | 128 | 97 | 16 | 15 |

Top language (JSON 76.5%). Generated at 2026-09-16T17:29:56.164192176+00:00. Canonical report: https://octocounts.com/github/anthropics/claude-cookbooks

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/anthropics/claude-cookbooks/commit/c245d39f91e5bbc0bf88f6a66a9af5e15f5c3462?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

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

anthropics/claude-cookbooks has 214,970 total lines, including 186,437 code lines, 15,457 comment lines, and 13,076 blank lines.

### How was the anthropics/claude-cookbooks line count measured?

OctoCounts resolved the public GitHub repository to commit c245d39f91e5, 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-cookbooks?

This OctoCounts report was generated from c245d39f91e5bbc0bf88f6a66a9af5e15f5c3462 at commit c245d39f91e5 on 2026-09-16T17:29:56.164192176+00:00.

## Similar repository reports

- [koush/scrypted](https://octocounts.com/github/koush/scrypted) — JSON, 184,414 code lines
- [halo-dev/halo](https://octocounts.com/github/halo-dev/halo) — JSON, 180,790 code lines
- [chen-006/gpt56_api_detector](https://octocounts.com/github/chen-006/gpt56_api_detector) — JSON, 180,504 code lines
- [stanford-cs336/lectures](https://octocounts.com/github/stanford-cs336/lectures) — JSON, 175,340 code lines
- [Eslzzyl/Pixiv-SwiftUI](https://octocounts.com/github/Eslzzyl/Pixiv-SwiftUI) — JSON, 171,332 code lines
- [lmgame-org/GamingAgent](https://octocounts.com/github/lmgame-org/GamingAgent) — JSON, 169,859 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
