Install any skill in seconds. Free to start, no credit card required.
Get Started Free →alibaba/code-stats
Analyzes code files and reports statistics including line counts, file counts by extension, and total size.
4 of 22 test cases passed with the skill.
Tokens, turns and time describe resource use, not a dollar price.
Lift withheld: 4 comparable cases; this report requires 8.
This benchmark measured an earlier version of the skill.
A newer attempt on gemini-3.6-flash on 10/2/2026 did not produce a publishable comparison (not comparable). The snapshot above is the previously measured run.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Analyze a repository containing 8 distinct file extensions (.js, .css, .html, .ts, .json, .md, .py, .sh) and produce the top file extension summary.
| Checked | Without skill | With skill |
|---|---|---|
| Limits the top file extensions list to at most 5 extension entries. | Missed | Passed |
The instructions your model reads when the skill loads.
Analyzes code files and generates statistics about a codebase.
When invoked, this skill will:
node_modules/, .git/, dist/, and build/ unless the user explicitly asks to count them. These are dependencies, repository metadata, or generated output rather than project source.Always use this exact format for the output:
# Code Statistics
## Summary
- Total Files: <count>
- Total Lines: <count>
- Total Size: <size_bytes> bytes
## Files by Extension
| Extension | Files | Lines |
|-----------|-------|-------|
| .go | 12 | 1500 |
| .md | 5 | 200 |
## Top 5 File Extensions by Line Count
1. .go — 1500 lines
2. .md — 200 lines
## Largest Files (top 5)
1. main.go (500 lines)
2. util.go (300 lines)
test cases passed with the skill
More skills from the same source and nearby in the registry, with their headline benchmark lift.