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.

  • 33 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentbashnode

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --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/dvcrn-code-stats/badge)](https://www.skillsdirectory.com/skills/dvcrn-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.md513 B
  • index.js2 KB
  • package.json209 B
  • scripts/test.js655 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.

Comments

Loading comments…