← Back to Skills Marketplace
413
Downloads
1
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install skill-stats
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install skill-stats - After installation, invoke the skill by name or use
/skill-stats - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 413 downloads so far.
How do I install skill-stats?
Run "/install skill-stats" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is skill-stats free?
Yes, skill-stats is completely free (open-source). You can download, install and use it at no cost.
Which platforms does skill-stats support?
skill-stats is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created skill-stats?
It is built and maintained by leo-306 (@leo-306); the current version is v1.0.0.
More Skills