Code Stats

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

javimosch 9d18d24 511 B Updated

File contents

Code Stats

Analyzes the current workspace to provide development metrics.

Usage

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.

javimosch/open-claw-skills/tree/main/skills/wanng-ide/code-stats commit 9d18d24b0c

Frequently asked questions

npx skillmds@latest add javimosch/code-stats