Skip to content
Back to skills

Code Stats

ASecurity

Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
developmentbashnode

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill code-stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Stats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-code-stats/badge)](https://www.skillsdirectory.com/skills/modbender-code-stats)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-stats
description: Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth.
---

# Code Stats

Analyzes the current workspace to provide development metrics.

## Usage

```bash
node skills/code-stats/index.js [path]
```

Defaults to current working directory if path is omitted.

## Output

JSON object with:
- `files`: Total file count.
- `lines`: Total line count (approximate).
- `byExt`: Breakdown by file extension.

Files in this skill

  • SKILL.md534 B
  • index.js2 KB
  • package.json217 B
  • scripts/test.js673 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.