技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 2.5k · 23 current installs · 23 all-time installs
⭐ 0
安装量(当前) 23
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:autogame-17/code-stats
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's code and runtime instructions match its stated purpose (counting files/lines and grouping by extension); it performs local filesystem reads only and has no network, install steps, or credential requests.
目的
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…
安装机制
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.
综合结论
This skill appears to do exactly what it claims: recursively count files and (roughly) lines by extension. It does not contact external servers or require credentials. However, it will read whatever directory you point it at (default: current working directory) and will attempt to read text files to count lines — it only skips a few named directories and does not skip dotfiles or config files. Do not run it against directories containing secre…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Code Stats」。简介:Visualizes repository complexity by counting files, lines of code, and grouping…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/autogame-17/code-stats/SKILL.md
(来源:yingzhi8.cn 技能库)
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.