← 返回 Skills 市场
413
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-stats
功能描述
Query, analyze, and track all skill usage information. This skill should be invoked when users ask about skill usage, call counts, success rates, last used t...
安全使用建议
This skill is coherent with its purpose, but it reads many local session and settings files under ~/.claude and ~/.openclaw which may contain sensitive conversation content or metadata. Before running:
- Review the bundled scripts (already included) to confirm behavior (they only parse and aggregate invocation records and write local JSON files).
- Be aware SKILL.md suggests using 'npx -y tsx', which will fetch the 'tsx' runner from npm if you don't have it; if you prefer, install/inspect tsx locally or run the scripts with your own node/ts runner.
- If you have sensitive data in session files, consider running in a limited environment or backing up/removing sensitive sessions first.
- Check the files the skill will create (~/.claude/skill-stats/*, ~/.openclaw/skill-stats/*) and their permissions after execution.
- If you need stronger guarantees, run the scripts in a container or on a machine/user profile dedicated to diagnostics.
功能分析
Type: OpenClaw Skill
Name: skill-stats
Version: 1.0.0
The skill performs automated analysis of sensitive AI session logs and configuration files located in `~/.claude` and `~/.openclaw` to generate usage statistics. While the logic in `stats-collector.ts` and `openclaw-stats-collector.ts` appears focused on extracting tool invocation data (e.g., call counts and success rates), the requirement to recursively read all historical conversation files (`.jsonl`) constitutes a significant privacy and security risk. No evidence of data exfiltration or intentional malice was found, but the broad file system access to private interaction history is a high-risk capability.
能力评估
Purpose & Capability
Name/description and the included code align: the scripts scan local Claude Code (~/.claude) and OpenClaw (~/.openclaw) session and skill directories to extract skill invocation records and compute usage stats. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
The SKILL.md and scripts instruct the agent to read numerous files under the user's home (~/.claude and ~/.openclaw), including session .jsonl files, settings.json, and SKILL.md files for discovered skills. This is consistent with the stated purpose, but it does mean the skill will access potentially sensitive session content and metadata (user messages, cwd, etc.). The code appears to only extract structured invocation records, but it reads whole files to parse them.
Install Mechanism
There is no packaged install spec; SKILL.md recommends running the included TypeScript using 'npx -y tsx ${SKILL_DIR}/scripts/main.ts'. That will cause npx to fetch the 'tsx' runner from npm if not present. The skill's own code is bundled in the package (no external download URLs), so runtime risk is limited to executing these local scripts and the tsx runner fetched by npx.
Credentials
The skill requests no credentials or secret environment variables. It does use process.env.HOME to locate user directories (normal). It reads user settings (enabled plugins) and skill directories to determine scope — these accesses are proportional to its function.
Persistence & Privilege
always:false and the skill does not request elevated or platform-wide privileges. It writes statistics to local files under ~/.claude/skill-stats and ~/.openclaw/skill-stats, which is appropriate for a local usage-collection tool and does not modify other skills' configurations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-stats - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-stats触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of skill-stats—query and analyze skill usage data.
- Tracks skill usage, call counts, success rates, and last used time for both Claude Code and OpenClaw environments.
- Categorizes skills by scope (builtin/plugin/user/project for Claude Code; workspace/global for OpenClaw).
- Identifies unused, deleted, redundant, and duplicate skills.
- Stores statistics independently for each environment.
- Provides command-line usage and formatted output of skill statistics.
元数据
常见问题
skill-stats 是什么?
Query, analyze, and track all skill usage information. This skill should be invoked when users ask about skill usage, call counts, success rates, last used t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 413 次。
如何安装 skill-stats?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-stats」即可一键安装,无需额外配置。
skill-stats 是免费的吗?
是的,skill-stats 完全免费(开源免费),可自由下载、安装和使用。
skill-stats 支持哪些平台?
skill-stats 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 skill-stats?
由 leo-306(@leo-306)开发并维护,当前版本 v1.0.0。
推荐 Skills