安全扫描
OpenClaw
安全
high confidence该技能用于代码统计分析,代码和指令与其声明目的一致。
评估建议
此技能用于分析代码统计信息,帮助开发者了解代码质量。...详细分析 ▾
✓ 用途与能力
Name/description (repo complexity, file/line counts) align with the provided code and SKILL.md. The module exports getStats and the CLI usage in SKILL.md matches index.js behavior.
ℹ 指令范围
Instructions ask the agent to analyze the current workspace which is consistent with the code. Note: the scanner will recursively read files under the given path (defaulting to the current working directory) and will attempt to read text files to count lines; it excludes only a few directory names (.git, node_modules, logs, temp, dist) but not dotfiles or other config files (e.g., .env). This is expected for the stated purpose but users should avoid running it on directories containing sensitive data they don't want scanned.
✓ 安装机制
No install spec; this is an instruction-and-code skill that runs with node. No external packages or downloads are requested.
✓ 凭证需求
No environment variables, credentials, or config paths are required. The code only uses local filesystem APIs and does not access unrelated services or secrets.
✓ 持久化与权限
The skill does not request persistent/always-on status and does not modify other skills or system settings. It runs as a normal, user-invoked script.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/2/16
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.
● 可疑
安装命令 点击复制
官方npx clawhub@latest install code-stats
镜像加速npx clawhub@latest install code-stats --registry https://cn.clawhub-mirror.com
技能文档
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.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制