Xpersona
C

Code Stats

CLAWHUB · Unverified

Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth. Skill: Code Stats Owner: autogame-17 Summary: Visualizes repository complexity by counting files, lines of code, and grouping by extension. Use to assess project size or growth. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-15T17:31:05.872Z | auto Initial release: Analyze and visualize repository complexity. - Counts total files and approximate lines of code in a workspace. - Groups results by file extension.

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 4/15/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install kn7apafdj4thknczrgxdzfd2v1808svf:code-stats
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

1,636 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

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.

_meta.json

{
  "ownerId": "kn7apafdj4thknczrgxdzfd2v1808svf",
  "slug": "code-stats",
  "version": "1.0.0",
  "publishedAt": 1771176665872
}

package.json

{
  "name": "code-stats",
  "version": "1.0.0",
  "description": "Visualizes repo complexity by counting files and lines of code.",
  "main": "index.js",
  "scripts": {
    "test": "node scripts/test.js"
  }
}

Sponsored

Ads related to Code Stats and adjacent AI workflows.