Xpersona
C

Codebase Inspection

CLAWHUB · Unverified

Advanced codebase analysis with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI/CD integration

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/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 s174ndtg3nagdpbj0zw5b8m1wn83w573:codebase-inspection
  1. Install using `clawhub skill install s174ndtg3nagdpbj0zw5b8m1wn83w573:codebase-inspection` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/itspremkumar/codebase-inspection before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-itspremkumar-codebase-inspection/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

26,086 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: codebase-inspection
version: 2.0.0
description: Advanced codebase analysis with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI/CD integration
tags: ["codebase", "analysis", "metrics", "devtools", "python", "cli", "ci", "reports", "open-source", "agent", "automation", "MIT"]
---

# Codebase Inspector

**Walk any directory and report language breakdowns, line counts, blank/comment lines, with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI integration.**

> *Keywords: codebase, analysis, metrics, devtools, python, cli, ci, reports, open-source, agent, automation, MIT*  
>
> Part of the [itsPremkumar](https://github.com/itsPremkumar) Hermes / OpenClaw / Paperclip agent stack — 31 free, MIT-licensed, CI-tested agent-native tools.

## What it does

You can't manage codebase metrics you can't measure — and you can't see trends over time. Codebase Inspector solves this: Walk any directory and report language breakdowns, line counts, blank/comment lines, with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI integration.

**Best for:** Engineering leads, open-source maintainers, and CI pipelines.

## Features

- **Print a per-language LOC report**
- **Export CSV for dashboards**
- **Generate an HTML report**
- **Git-aware diff between snapshots**
- **Track trends and emit an SVG badge**

## Install

```bash
# Requires Python 3.8+. No pip install needed.
curl -O https://raw.githubusercontent.com/itsPremkumar/codebase-inspection/main/codebase_inspector.py
# Or copy the file anywhere — it's self-contained.
```

## Quick start

```bash
python codebase_inspector.py --help        # list options
```

## Use cases

1. Print a per-language LOC report
1. Export CSV for dashboards
1. Generate an HTML report
1. Git-aware diff between snapshots
1. Track trends and emit an SVG badge

## Why choose this over alternatives

| Alternative | Why this skill is better |
|---|---|
| tokei/scc | Adds git-aware diffs, trend tracking, HTML reports, and badges in one CLI. |
| Manual wc -l | Per-language breakdown with comment/blank counts. |
| Spreadsheet metrics | CSV + HTML + badge, CI-ready. |

## FAQ (SEO / AEO)

**Q: How many languages?**  
A: 25+ extensions recognized out of the box.

**Q: CI integration?**  
A: Yes — example GitHub Actions workflow asserts a language ratio.

**Q: Badges?**  
A: --badge emits an SVG you can drop in a README.

**Q: Offline?**  
A: Yes — no network, no telemetry.

## Geo / local reach

Built and maintained by [@itsPremkumar](https://github.com/itsPremkumar) (Chennai, India · serving developers worldwide). 
Free for individuals and teams everywhere. Documentation in English; tool output is locale-neutral.

## CI integration

```yaml
# .github/workflows/verify.yml
name: Verify
on: [push]
jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: action

README.md

[![ClawHub](https://img.shields.io/badge/ClawHub-codebase-inspection-red)](../..) [![License](https://img.shields.io/badge/license-MIT--0-blue)](../..) [![Python](https://img.shields.io/badge/python-3.8%2B-3776AB)](../..)

---
name: codebase-inspection
version: 2.0.0
description: Advanced codebase analysis with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI/CD integration
tags: ["codebase", "analysis", "metrics", "devtools", "python", "cli", "ci", "reports", "open-source", "agent", "automation", "MIT"]
---

# Codebase Inspector

**Walk any directory and report language breakdowns, line counts, blank/comment lines, with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI integration.**

> *Keywords: codebase, analysis, metrics, devtools, python, cli, ci, reports, open-source, agent, automation, MIT*  
>
> Part of the [itsPremkumar](https://github.com/itsPremkumar) Hermes / OpenClaw / Paperclip agent stack — 31 free, MIT-licensed, CI-tested agent-native tools.

## What it does

You can't manage codebase metrics you can't measure — and you can't see trends over time. Codebase Inspector solves this: Walk any directory and report language breakdowns, line counts, blank/comment lines, with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI integration.

**Best for:** Engineering leads, open-source maintainers, and CI pipelines.

## Features

- **Print a per-language LOC report**
- **Export CSV for dashboards**
- **Generate an HTML report**
- **Git-aware diff between snapshots**
- **Track trends and emit an SVG badge**

## Install

```bash
# Requires Python 3.8+. No pip install needed.
curl -O https://raw.githubusercontent.com/itsPremkumar/codebase-inspection/main/codebase_inspector.py
# Or copy the file anywhere — it's self-contained.
```

## Quick start

```bash
python codebase_inspector.py --help        # list options
```

## Use cases

1. Print a per-language LOC report
1. Export CSV for dashboards
1. Generate an HTML report
1. Git-aware diff between snapshots
1. Track trends and emit an SVG badge

## Why choose this over alternatives

| Alternative | Why this skill is better |
|---|---|
| tokei/scc | Adds git-aware diffs, trend tracking, HTML reports, and badges in one CLI. |
| Manual wc -l | Per-language breakdown with comment/blank counts. |
| Spreadsheet metrics | CSV + HTML + badge, CI-ready. |

## FAQ (SEO / AEO)

**Q: How many languages?**  
A: 25+ extensions recognized out of the box.

**Q: CI integration?**  
A: Yes — example GitHub Actions workflow asserts a language ratio.

**Q: Badges?**  
A: --badge emits an SVG you can drop in a README.

**Q: Offline?**  
A: Yes — no network, no telemetry.

## Geo / local reach

Built and maintained by [@itsPremkumar](https://github.com/itsPremkumar) (Chennai, India · serving developers worldwide). 
Free for individuals and teams everywhere. D

_meta.json

{
  "ownerId": "kn7cgv1dp5c95kg54gbwh6xth583wafq",
  "slug": "codebase-inspection",
  "version": "2.0.1",
  "publishedAt": 1783936679275
}

skill-card.md

## Description:

Advanced codebase analysis with HTML reports, git-aware diffs, trend tracking, SVG badges, CSV export, and CI/CD integration.

This skill is ready for commercial/non-commercial use.

## Publisher:

[itspremkumar](https://clawhub.ai/user/itspremkumar)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, engineering leads, open-source maintainers, and CI pipelines use this skill to inspect repositories, measure language and line-count metrics, generate reports, compare codebase snapshots, and track trends.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Downloading and running the script from a moving branch can execute code that differs from the reviewed release.

Mitigation: Use the bundled reviewed artifact or a pinned release, and inspect the script before running it.

Risk: Running repository analysis on untrusted projects can expose sensitive project metadata in generated reports or snapshots.

Mitigation: Run the tool in an isolated environment without secrets, and handle HTML reports and .codebase-snapshots as potentially sensitive outputs.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/itspremkumar/skills/codebase-inspection)
- [Publisher Profile](https://clawhub.ai/user/itspremkumar)
- [Project Repository](https://github.com/itsPremkumar/codebase-inspection)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown guidance with shell commands and generated text, JSON, CSV, HTML, SVG badge, and snapshot files.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Can produce repository metrics, language breakdowns, largest-file lists, diffs, trend snapshots, CI checks, and report files.]

## Skill Version(s):

2.0.1 (source: server-resolved ClawHub release metadata; artifact frontmatter and tool constant report 2.0.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Codebase Inspection and adjacent AI workflows.