📊
DataGo

Code Stats

by alibaba

Code Stats is a Data skill for Claude Code, published by alibaba in skill-up.

680 stars45 forkson alibaba/skill-upAdded 2026/08/24+13% in starsRepository updated 2026/08/21
agent-skillsaiai-agentsalibabaskills
Install in seconds
Install Code Stats
Copy Code Stats into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/alibaba/skill-up/tree/main/examples/code-stats ~/.claude/skills/code-stats

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/alibaba/skill-up.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
examples/code-stats/SKILL.md in alibaba/skill-up
Installs to
~/.claude/skills/code-stats
Collection
One of 23 skills cataloged from this repository
Category
Data668 skills

What Code Stats does

Code Stats analyzes a codebase and reports file counts, line counts, largest files, and size by extension. Use it when you need a quick audit of project structure or want to know how much code is in a directory.

Code Stats is cataloged under Data on DirSkills. Code Stats comes from a repository tagged agent-skills, ai, ai-agents, alibaba and skills.

Documentation

README

Code Stats Skill

Analyzes code files and generates statistics about a codebase.

Usage

When invoked, this skill will:

  1. Scan the specified directory (defaults to current directory)
  2. Count total lines, files by extension
  3. Report the largest files
  4. Output results in a structured format
  5. Sort extension summaries by total line count in descending order

Output Format

Always use this exact format for the output:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Code Stats

  • What else does alibaba publish alongside Code Stats?

    Code Stats is one of 23 skills that DirSkills catalogs from alibaba/skill-up, the repository it ships in. Its siblings there include Agent Judge, Agent Judge Support and Code Quality Analyzer. Each one is a separate skill with its own page in this directory, installs the same way Code Stats does, and is maintained by alibaba in that same repository. The rest of the collection is listed on the alibaba/skill-up page.

  • How does Code Stats compare to other Data skills?

    Code Stats ranks #540 by stars among the 668 Data skills in this catalog. The most-starred ones next to it are Benchmark Methodology, Jupyter Notebook and Solana. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Code Stats against them. Open each page to compare what they document and how they install.

More from alibaba/skill-up

Code Stats is one of 23 skills cataloged on DirSkills from alibaba/skill-up.

See all 23 skills