/install skill-download-tracker
Overview
Track download counts for skills published on ClawHub. This tool fetches official stats via clawhub inspect \x3Cslug> --json, stores history in local CSV, and supports scheduled checks, daily/weekly/monthly reports with Feishu push notifications.
File Structure
~/.openclaw/workspace/skills/clawhub-download-tracker/
├── SKILL.md # This file
├── clawhub_tracker.py # Main script: collection + report + Feishu
├── clawhub_tracker.sh # launchd wrapper (sets PATH)
└── test_clawhub_tracker.py # Tests (mock data, 19 test cases)
~/.openclaw/workspace/data/clawhub-tracker/
├── skills.csv # Monitored skills: slug,note
├── checklog.csv # History: timestamp,slug,downloads,delta
└── reports/ # Report archive (monthly .md files)
Prerequisites
-
clawhubCLI installed (auto-detected viashutil.whichwith fallbacks) -
Python 3 (built-in on macOS)
-
Feishu 凭证(必须配置,无硬编码 fallback):
CLAWHUB_FEISHU_APP_IDCLAWHUB_FEISHU_APP_SECRETCLAWHUB_FEISHU_USER_OPEN_ID
配置方式(任选其一):
- 环境变量:
export CLAWHUB_FEISHU_APP_ID=cli_xxx .env文件:在~/.openclaw/workspace/data/clawhub-tracker/.env中写入KEY=VALUE格式
Usage
1. Collect Current Downloads (Snapshot + Feishu Push)
python3 ~/.openclaw/workspace/skills/clawhub-download-tracker/clawhub_tracker.py
Iterates all slugs in skills.csv, fetches latest download counts, computes deltas, writes to checklog.csv, archives to reports/, and sends Feishu notifications.
2. Reports
python3 ~/.openclaw/workspace/skills/clawhub-download-tracker/clawhub_tracker.py report daily # Today's report
python3 ~/.openclaw/workspace/skills/clawhub-download-tracker/clawhub_tracker.py report weekly # Last 7 days
python3 ~/.openclaw/workspace/skills/clawhub-download-tracker/clawhub_tracker.py report monthly # Current month
Generates reports from checklog.csv history, including:
- Per-slug start → end download counts and cumulative deltas
- Sample count and peak time windows
- Total new downloads and current totals
Reports are printed to stdout, archived to reports/YYYY-MM.md, and pushed to Feishu.
3. Add / Remove Monitored Skills
Edit ~/.openclaw/workspace/data/clawhub-tracker/skills.csv directly. Format: slug,note
Data Source
Fetches the official stats.downloads field via clawhub inspect \x3Cslug> --json. Data comes directly from the ClawHub registry — no third-party APIs involved.
The current monitor list is maintained dynamically in ~/.openclaw/workspace/data/clawhub-tracker/skills.csv.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skill-download-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/skill-download-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ClawHub Download Tracker 是什么?
Monitor download counts for your ClawHub-published skills. Track changes over time with automated alerts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。
如何安装 ClawHub Download Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-download-tracker」即可一键安装,无需额外配置。
ClawHub Download Tracker 是免费的吗?
是的,ClawHub Download Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ClawHub Download Tracker 支持哪些平台?
ClawHub Download Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawHub Download Tracker?
由 TSAG1(@tsag1)开发并维护,当前版本 v1.0.0。