← Back to Skills Marketplace
harrylabsj

Codebase Radar

by haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
42
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install codebase-radar
Description
Scan codebase for dependency graph, tech debt hotspots, and module health scores
README (SKILL.md)

Codebase Radar

Full-spectrum static analysis for any codebase: dependency graphs, module health scoring, tech debt detection, dead code, and visualization in Mermaid/D2.

Workflow

  1. Project scan — Tree view, line counts, language distribution, file size outliers.
  2. Dependency graph — Resolve imports/requires across modules; detect circular dependencies; list external deps with versions.
  3. Cohesion & coupling — Score each module: how focused its internals are (cohesion) and how tightly bound to others (coupling).
  4. Tech debt signals — Scan for TODO/FIXME/HACK density, outdated dependency alerts, low comment-to-code ratio.
  5. Dead code detection — Find unreferenced functions, classes, variables; flag large commented-out blocks.
  6. Health scorecard — 5-dimension score per module: Cohesion, Coupling, Maintainability, Coverage estimate, Tech debt.
  7. Visualization — Generate dependency diagram in Mermaid (graph TD) or D2 format.
  8. Report — Produce project health summary with ranked refactoring priorities.

Sample Prompts

  • codebase-radar scan --path ./my-project --format json > report.json
  • codebase-radar scan --path ./my-project --visual mermaid --output deps.md
  • codebase-radar health --path ./my-project --score-only --json
  • codebase-radar deadcode --path ./src --exclude tests/

Safety

  • Read-only scanner; never modifies source files.
  • Language-agnostic for import detection; language-specific analyzers are opt-in.
  • Large repos may require --max-files limit to avoid memory issues.
Usage Guidance
Review before installing. The ClawHub moderation and migration workflows are clearly documented and guarded, but only use this skill set in trusted repositories and prefer disabling the autoreview full-access default unless you explicitly want nested review to run without sandbox or approval prompts.
Capability Assessment
Purpose & Capability
The artifacts coherently support ClawHub development, Convex setup/migrations/performance work, moderation, PR maintenance, and code review workflows; several workflows intentionally involve high-impact production, admin, or repository actions.
Instruction Scope
Most sensitive workflows require explicit targets, reasons, dry runs, verification, or user confirmation, but the autoreview helper defaults to running nested Codex review with approval and sandbox bypass, which is broader than a review-only workflow needs.
Install Mechanism
The inspected skill artifacts are Markdown guidance files, YAML UI metadata, SVG icons, references, and one Bash helper; no install hook, hidden persistence, or automatic startup behavior was found.
Credentials
Network, GitHub, Convex, package install, and admin CLI usage are expected for the stated purposes and are generally disclosed with guardrails.
Persistence & Privilege
No persistence mechanism was found, but the helper's default full-access sandbox bypass and the moderation/migration guidance's production/admin authority make privilege handling a material review point.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install codebase-radar
  3. After installation, invoke the skill by name or use /codebase-radar
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Scan codebase for dependency graph, tech debt hotspots and module health scores
Metadata
Slug codebase-radar
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Codebase Radar?

Scan codebase for dependency graph, tech debt hotspots, and module health scores. It is an AI Agent Skill for Claude Code / OpenClaw, with 42 downloads so far.

How do I install Codebase Radar?

Run "/install codebase-radar" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Codebase Radar free?

Yes, Codebase Radar is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Codebase Radar support?

Codebase Radar is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Codebase Radar?

It is built and maintained by haidong (@harrylabsj); the current version is v1.0.0.

💬 Comments