📊
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
Data — 812 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 #542 by stars among the 812 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 →
⚖️
2026/08/24

Agent Judge

Agent Judge adds judge-level skill installation for agent-based evaluation runs. Use it when the evaluator needs reusable rubrics or domain guidance separate from the skill under test.
AI Engineering
68045
⚖️
2026/08/24

Agent Judge Support

Agent Judge Support adds judge-side Skills to agent_judge evaluations so the reviewer agent can install and use separate rubric Skills. It is used when you need reusable, isolated review rules and audit data for scoring.
AI Engineering
68045
🔍
2026/08/24

Code Quality Analyzer

Code Quality Analyzer reviews code for correctness, maintainability, performance, and security. Use it when you want a static quality assessment, issue list, and actionable fix suggestions.
Quality
68045
🔍
2026/08/24

Code Quality Reviewer

Code Quality Reviewer reviews code changes and provides a detailed quality assessment with bug findings and actionable recommendations. Use it when you need a second pass on changes before merging or shipping.
Quality
68045
🔎
2026/08/24

Code Review Assistant

Code Review Assistant analyzes submitted code for bugs, security issues, performance problems, and error handling gaps. Use it when you want a structured review with specific findings and fix suggestions.
Quality
68045
🔍
2026/08/24

Code Review Helper

Code Review Helper analyzes code snippets or diffs for common issues like null pointer risks, unhandled exceptions, resource leaks, naming, and style. Use it when you want a review report with problems, suggestions, and a summary.
Quality
68045