tooyoung:codebase-stats

Installation
SKILL.md

Codebase Stats

Count lines of code with auto-detected project structure. No external tools required.

Tools to use: Bash for file discovery and counting, Glob and Read for config file detection. Do NOT use cloc, tokei, scc, or any external LOC counter.

Activation

Trigger on:

  • /codebase-stats or /loc
  • "count lines of code", "LOC by module", "code stats", "project size"

Execution Flow

Step 1: Detect Project Structure

Use Glob and Read to inspect config files at the project root. Follow this decision tree in order (first match wins):

Installs
13
GitHub Stars
17
First Seen
Mar 9, 2026