← 返回 Skills 市场
42
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install codebase-radar
功能描述
Scan codebase for dependency graph, tech debt hotspots, and module health scores
使用说明 (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
- Project scan — Tree view, line counts, language distribution, file size outliers.
- Dependency graph — Resolve imports/requires across modules; detect circular dependencies; list external deps with versions.
- Cohesion & coupling — Score each module: how focused its internals are (cohesion) and how tightly bound to others (coupling).
- Tech debt signals — Scan for TODO/FIXME/HACK density, outdated dependency alerts, low comment-to-code ratio.
- Dead code detection — Find unreferenced functions, classes, variables; flag large commented-out blocks.
- Health scorecard — 5-dimension score per module: Cohesion, Coupling, Maintainability, Coverage estimate, Tech debt.
- Visualization — Generate dependency diagram in Mermaid (
graph TD) or D2 format. - Report — Produce project health summary with ranked refactoring priorities.
Sample Prompts
codebase-radar scan --path ./my-project --format json > report.jsoncodebase-radar scan --path ./my-project --visual mermaid --output deps.mdcodebase-radar health --path ./my-project --score-only --jsoncodebase-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-fileslimit to avoid memory issues.
安全使用建议
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install codebase-radar - 安装完成后,直接呼叫该 Skill 的名称或使用
/codebase-radar触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Scan codebase for dependency graph, tech debt hotspots and module health scores
元数据
常见问题
Codebase Radar 是什么?
Scan codebase for dependency graph, tech debt hotspots, and module health scores. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 42 次。
如何安装 Codebase Radar?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install codebase-radar」即可一键安装,无需额外配置。
Codebase Radar 是免费的吗?
是的,Codebase Radar 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Codebase Radar 支持哪些平台?
Codebase Radar 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Codebase Radar?
由 haidong(@harrylabsj)开发并维护,当前版本 v1.0.0。
推荐 Skills