·code-stats
</>

code-stats

0xdarkmatter/claude-mods

Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs). Get quick project overview without manual counting. Triggers on: how big is codebase, count lines of code, what languages, show semantic diff, compare files, code statistics.

14Installs·0Trend·@0xdarkmatter

Installation

$npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats

SKILL.md

| Line-by-line | AST-aware | | Shows moved as delete+add | Recognizes moves | | Whitespace sensitive | Ignores formatting |

| Count all code | tokei | | Compact output | tokei --compact | | Sort by code | tokei --sort code | | TypeScript only | tokei -t TypeScript | | JSON output | tokei --output json | | Exclude dir | tokei --exclude nodemodules | | Semantic diff | difft file1 file2 | | Git diff | GITEXTERNALDIFF=difft git diff |

Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs). Get quick project overview without manual counting. Triggers on: how big is codebase, count lines of code, what languages, show semantic diff, compare files, code statistics. Source: 0xdarkmatter/claude-mods.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is code-stats?

Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs). Get quick project overview without manual counting. Triggers on: how big is codebase, count lines of code, what languages, show semantic diff, compare files, code statistics. Source: 0xdarkmatter/claude-mods.

How do I install code-stats?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/0xdarkmatter/claude-mods --skill code-stats Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/0xdarkmatter/claude-mods