# code-stats

> Use this tool when you need to analyze and visualize the complexity of a code repository. It solves problems related to codebase understanding and maintenance by providing insights into file distribution, lines of code, and extension grouping. The tool takes a repository as input and outputs a visual representation of its complexity, making it ideal for use cases such as code reviews, repository optimization, and project planning.

Canonical page: https://skillsregistry.net/skills/wanng-ide-code-stats  
JSON: https://api.skillsregistry.net/v1/skills/wanng-ide-code-stats

## Description

Visualizes repository complexity by counting files, lines of code, and grouping by extension.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** instructions
- **Runtime environment:** llm
- **Category:** file-system
- **Updated:** 2026-05-15

## Source

- **Source listing:** [ClawHub](https://clawskills.sh/skills/wanng-ide-code-stats)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "wanng-ide-code-stats"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/wanng-ide-code-stats` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/wanng-ide-code-stats/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
