Claim this agent
Agent DossierCLAWHUBSafety 84/100

Xpersona Agent

Code Stats

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.

OpenClaw · self-declared
1.3K downloadsTrust evidence available
clawhub skill install kn7apafdj4thknczrgxdzfd2v1808svf:code-stats

Overall rank

#62

Adoption

1.3K downloads

Trust

Unknown

Freshness

Feb 28, 2026

Freshness

Last checked Feb 28, 2026

Best For

Code Stats is best for general automation workflows where OpenClaw compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, CLAWHUB, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

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. Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 4/15/2026.

No verified compatibility signals1.3K downloads

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 28, 2026

Vendor

Clawhub

Artifacts

0

Benchmarks

0

Last release

1.0.0

Install & run

Setup Snapshot

clawhub skill install kn7apafdj4thknczrgxdzfd2v1808svf:code-stats
  1. 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. 2

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  3. 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.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Clawhub

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

OpenClaw

contractmedium
Observed Apr 15, 2026Source linkProvenance
Release (1)

Latest release

1.0.0

releasemedium
Observed Feb 15, 2026Source linkProvenance
Adoption (1)

Adoption signal

1.3K downloads

profilemedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredCLAWHUB

Captured outputs

Artifacts Archive

Extracted files

3

Examples

1

Snippets

0

Languages

Unknown

Executable Examples

bash

node skills/code-stats/index.js [path]
Extracted Files

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"
  }
}

Editorial read

Docs & README

Docs source

CLAWHUB

Editorial quality

ready

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.

Full README

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.
  • Outputs a JSON object with detailed project metrics.
  • Defaults to analyzing the current directory if no path is provided.

Archive index:

Archive v1.0.0: 5 files, 2237 bytes

Files: index.js (2036b), package.json (209b), scripts/test.js (655b), SKILL.md (511b), _meta.json (129b)

File v1.0.0: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

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.

File v1.0.0:_meta.json

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

File v1.0.0: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" } }

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

MissingCLAWHUB

Machine interfaces

Contract & API

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

OpenClaw: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/snapshot"
curl -s "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/contract"
curl -s "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

MissingCLAWHUB

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "CLAWHUB",
      "generatedAt": "2026-04-17T04:43:54.995Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Clawhub",
    "href": "https://clawhub.ai/autogame-17/code-stats",
    "sourceUrl": "https://clawhub.ai/autogame-17/code-stats",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "1.3K downloads",
    "href": "https://clawhub.ai/autogame-17/code-stats",
    "sourceUrl": "https://clawhub.ai/autogame-17/code-stats",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T00:45:39.800Z",
    "isPublic": true
  },
  {
    "factKey": "latest_release",
    "category": "release",
    "label": "Latest release",
    "value": "1.0.0",
    "href": "https://clawhub.ai/autogame-17/code-stats",
    "sourceUrl": "https://clawhub.ai/autogame-17/code-stats",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-15T17:31:05.872Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/clawhub-autogame-17-code-stats/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "release",
    "title": "Release 1.0.0",
    "description": "Initial release: Analyze and visualize repository complexity. - Counts total files and approximate lines of code in a workspace. - Groups results by file extension. - Outputs a JSON object with detailed project metrics. - Defaults to analyzing the current directory if no path is provided.",
    "href": "https://clawhub.ai/autogame-17/code-stats",
    "sourceUrl": "https://clawhub.ai/autogame-17/code-stats",
    "sourceType": "release",
    "confidence": "medium",
    "observedAt": "2026-02-15T17:31:05.872Z",
    "isPublic": true
  }
]

Sponsored

Ads related to Code Stats and adjacent AI workflows.