| name | analyzing-code |
| description | Analyzes code statistics by language for project insight, CI/CD metrics, or before refactoring. Use this skill when understanding project composition, measuring change impact, or generating CI/CD metrics |
tokei: Code Statistics Analysis
Always invoke tokei skill for code statistics - do not execute bash commands directly.
Use tokei for fast, accurate code statistics across multiple languages and projects.
Default Strategy
Invoke tokei skill for analyzing code statistics by language. Use when understanding project composition, measuring change impact before refactoring, or generating CI/CD metrics.
Common workflow: tokei skill → other skills (fd, jq, yq) for filtering or tokei skill after refactoring to measure impact.
Key Options
Basic Output Control
-f/--files show individual file statistics
-l/--languages list supported languages and extensions
-v/--verbose show unknown file extensions (1-3)
-V/--version show version information
--hidden include hidden files
-c/--columns N set strict column width
Filtering & Exclusion
-t/--type TYPES filter by language types (comma-separated)
-e/--exclude PATTERNS exclude files/dirs (gitignore syntax)
--no-ignore don't respect ignore files
--no-ignore-dot don't respect .ignore/.tokeignore
--no-ignore-vcs don't respect VCS ignore files
--no-ignore-parent don't respect parent ignore files
Output Formats