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.
[](https://www.skillsdirectory.com/skills/dvcrn-code-stats)
---
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.