← 返回 Skills 市场
Skill Usage
作者
akira82-ai
· GitHub ↗
· v0.1.0
· MIT-0
153
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skills-usage
功能描述
统计已安装技能在指定时间段内的使用次数,以美观的 TUI 格式展示结果
安全使用建议
This skill reads your Claude conversation history files (~/.claude/history.jsonl and files under ~/.claude/projects/) and the ~/.claude/skills/ directory to compute usage counts — that is necessary for its purpose but exposes sensitive local data. Before installing or running: review stats.py (already included) to confirm it only aggregates counts (it does), ensure you trust the skill source, and verify file permissions. If you want tighter safety, run the script manually in a shell (python3 ~/.claude/skills/skill-usage/stats.py past_30_days) rather than allowing autonomous invocation, or make a copy of your history files for testing. Note the SKILL.md and README contain slightly different path descriptions (session.jsonl vs any *.jsonl), but the script's behavior is consistent and broader (it scans all *.jsonl under projects).
功能分析
Type: OpenClaw Skill
Name: skills-usage
Version: 0.1.0
The skill-usage bundle is a legitimate utility designed to track and display usage statistics for Claude Code skills. It operates by parsing local history files (~/.claude/history.jsonl and project session files) using a Python script (stats.py) to count occurrences of skill-invocation patterns. The code lacks any network activity, data exfiltration, or unauthorized execution patterns, and its behavior aligns perfectly with its stated purpose.
能力评估
Purpose & Capability
Name/description match what the files implement: stats.py and SKILL.md both enumerate installed skills and parse local Claude history files to produce usage counts and a TUI-like report. Required resources (none) align with a local, file-reading tool.
Instruction Scope
Instructions explicitly tell the agent to read ~/.claude/history.jsonl and ~/.claude/projects/*/*.jsonl and to run the included stats.py, which is necessary for the stated purpose. This does mean the skill reads private conversation history (expected for usage statistics) — a privacy consideration but not unexpected. Minor mismatch: SKILL.md mentions session.jsonl path variants while the code processes all *.jsonl under projects; behavior is consistent with broader file discovery.
Install Mechanism
No install spec is provided (instruction-only skill with a bundled script). No downloads, package installs, or external install URLs are present.
Credentials
The skill requests no environment variables or credentials. It does access files under the user's home (~/.claude/*), which is proportional to its function but exposes potentially sensitive conversation history — the code aggregates counts and does not print raw messages, but users should be aware the skill reads local history files.
Persistence & Privilege
always is false and the skill does not request persistent system-wide changes. It does not modify other skills or global agent settings. Autonomous invocation is allowed by default but not combined with other suspicious privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skills-usage - 安装完成后,直接呼叫该 Skill 的名称或使用
/skills-usage触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of skill-usage: analyze and display installed skill usage statistics for a selected time range.
- Collects data from global and project-specific history files, identifying skill calls and their frequencies.
- Presents results in an attractive TUI/Markdown report, including rankings, totals, and bar chart visualizations.
- Supports time period selection (today, past 7/30/90 days, all history) via user prompt.
- Guides execution: runs a stats script with the selected range and outputs the complete report without extra formatting.
元数据
常见问题
Skill Usage 是什么?
统计已安装技能在指定时间段内的使用次数,以美观的 TUI 格式展示结果. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。
如何安装 Skill Usage?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skills-usage」即可一键安装,无需额外配置。
Skill Usage 是免费的吗?
是的,Skill Usage 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skill Usage 支持哪些平台?
Skill Usage 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skill Usage?
由 akira82-ai(@akira82-ai)开发并维护,当前版本 v0.1.0。
推荐 Skills