code-stats
Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).
Skill by claude-mods
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aiskillstore-code-stats
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/code-stats
Tools it pre-approves 1
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Bash
What's inside
- Skill name
code-stats- Description
- 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.
- License
- MIT
- Compatibility
- Requires tokei and difft CLI tools. Install: brew install tokei difft (macOS) or cargo install tokei difftastic (cross-platform).
- Allowed tools
- Bash
- Metadata
- author: claude-mods
- Instructions
- 86 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (6)
- SKILL.md
- .gitkeep · assets/
- difft-advanced.md · references/
- tokei-advanced.md · references/
- .gitkeep · scripts/
- skill-report.json
SKILL.md (first lines)
# Code Statistics Quickly analyze codebase size, composition, and changes. ## tokei - Line Counts ```bash # Count all code tokei # Compact output sorted by code tokei --compact --sort code # Specific languages tokei --type=TypeScript,JavaScript # Exclude directories tokei --exclude node_modules --exclude dist # JSON output for scripting tokei --output json | jq '.Total.code' ``` ### Sample Output ``` =============================================================================== Language Files Lines Code Comments Blanks =============================================================================== TypeScript 45 12847 9823 1456 1568 JavaScript 12 2341 1876 234 231 ------------------------------------------------------------------------------- Total 57 15188 11699 1690 1799 =============================================================================== ``` ## difft - Semantic Diffs ```bash # Compare files difft old.ts new.ts # Inline mode difft --display=inline old.ts new.ts # With git GIT_EXTERNAL_DIFF=difft git diff GIT_EXTERNAL_DIFF=difft git show HEAD~1 ``` ### Why Semantic? | Traditional diff | difft | |-----------------|-------| | Line-by-line | AST-aware | | Shows moved as delete+add | Recognizes moves | | Whitespace sensitive | Ignores formatting | ## Quick Reference | Task | Command | |------|---------| | 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 node_modules` | | Semantic diff | `difft file1 file2` | | Git diff | `GIT_EXTERNAL_DIFF=difft git diff` | ## When to Use - Getting quick codebase overview - Comparing code changes semantically - Understanding project composition - Reviewing refactoring impact - Tracking codebase growth ## Additional Resources For detailed patterns, load: - `./references/tokei-advanced.md` - Filtering, output formats, CI integration - `./references/difft-advanced.md` - Display modes, git integration, language support
From aiskillstore/marketplace, MIT.
More from aiskillstore/marketplace
- 0.685score
find-replace
claude-mods
Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
tool-discovery
claude-mods
Recommend the right agents and skills for any task.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
data-processing
claude-mods
Process JSON with jq and YAML/TOML with yq.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
python-env
claude-mods
Fast Python environment management with uv (10-100x faster than pip).
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
structural-search
claude-mods
Search code by AST structure using ast-grep.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
task-runner
claude-mods
Run project commands with just.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
sqlite-ops
claude-mods
Patterns for SQLite databases in Python projects - state management, caching, and async operations.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
container-orchestration
claude-mods
Docker, Kubernetes, and AWS ECS/Fargate patterns.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
file-search
claude-mods
Modern file and content search using fd, ripgrep (rg), and fzf.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
project-planner
claude-mods
Detects stale project plans and suggests session commands.
SkillCFreshness: C★ 443Claude Code +9 - 0.681score
doc-scanner
claude-mods
Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.
SkillCFreshness: C★ 443Claude Code +9 - 0.599score
auv-computer-control
aiskillstore
Incorporate moeru-ai/AUV into native desktop app control through its CLI or connected MCP for observation, targeted input, reusable operations, and…
SkillAFreshness: A★ 443Claude Code +9
Signals
- Stars
- 443
- Forks
- 48
- Open issues
- 1
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
- Last release
- Jul 22, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aiskillstore/marketplace
- Website
- skillstore.io
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from claude-mods
- 0.685score
file-search
claude-mods
Modern file and content search using fd, ripgrep (rg), and fzf.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
container-orchestration
claude-mods
Docker, Kubernetes, and AWS ECS/Fargate patterns.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
sqlite-ops
claude-mods
Patterns for SQLite databases in Python projects - state management, caching, and async operations.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
project-planner
claude-mods
Detects stale project plans and suggests session commands.
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
python-env
claude-mods
Fast Python environment management with uv (10-100x faster than pip).
SkillCFreshness: C★ 443Claude Code +9 - 0.685score
data-processing
claude-mods
Process JSON with jq and YAML/TOML with yq.
SkillCFreshness: C★ 443Claude Code +9
Cite this page
code-stats skill. Agent Mart. https://agentmart.dev/skills/aiskillstore-code-stats (last updated 2026-10-24)