SkillTrust

← All skills

code-stats

100 / 100 · Low risk

Fine to try.

By alibaba/skill-up (GitHub) · coding · 1,474 stars · scanned at commit 1d624e0

Analyzes code files and reports statistics including line counts, file counts by extension, and total size. Use this skill whenever the user wants to understand the composition of a codebase - asking about "how many lines of code", "what file types exist", "code distribution", or needing a quick audit of project size and structure. Make sure to invoke this skill when users mention analyzing codebases, counting lines, checking file distributions, or auditing code.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'code-stats' ] || [ -L ~/.agents/skills/'code-stats' ]; then echo 'A skill folder named code-stats already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/alibaba/skill-up' "$d" && git -C "$d" checkout --quiet '1d624e036195bc317d7d8c8779402329783c7835' -- 'examples/code-stats' && mkdir -p ~/.agents/skills && cp -R "$d"/'examples/code-stats' ~/.agents/skills/'code-stats' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'code-stats' ~/.claude/skills/'code-stats' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for alibaba/skill-up shows the score of its lowest-scoring skill.

SkillTrust badge for alibaba/skill-up

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/alibaba/skill-up.svg)](https://zalavijaysinh.github.io/skilltrust/repos/alibaba/skill-up/)

Score history

DateVersionScore
2026-11-141d624e0100
2026-11-107814813100
2026-11-0880a6a8d100
2026-11-0780a6a8d75