← Back to Skills Marketplace
tsag1

ClawHub Download Tracker

by TSAG1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
43
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install skill-download-tracker
Description
Monitor download counts for your ClawHub-published skills. Track changes over time with automated alerts.
README (SKILL.md)

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

  • clawhub CLI installed (auto-detected via shutil.which with fallbacks)

  • Python 3 (built-in on macOS)

  • Feishu 凭证(必须配置,无硬编码 fallback):

    • CLAWHUB_FEISHU_APP_ID
    • CLAWHUB_FEISHU_APP_SECRET
    • CLAWHUB_FEISHU_USER_OPEN_ID

    配置方式(任选其一):

    1. 环境变量:export CLAWHUB_FEISHU_APP_ID=cli_xxx
    2. .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.

Usage Guidance
Install only if you want download summaries for monitored ClawHub skill slugs sent to Feishu. Treat the .env file as sensitive, restrict access to it, and avoid putting private project names or sensitive notes in the monitored skills list if they should not appear in Feishu messages or local report archives.
Capability Assessment
Purpose & Capability
The artifacts consistently describe tracking ClawHub skill download counts, reading a user-maintained skills.csv, invoking clawhub inspect, writing CSV/report history, and sending Feishu notifications; the code matches that purpose.
Instruction Scope
README.md and SKILL.md disclose the runtime commands, required Feishu credentials, local files created, report generation, and the monitored-skill list managed by the user.
Install Mechanism
The package contains Python and shell scripts but no installer hook, cron entry, launchd plist, autostart registration, or automatic persistence setup.
Credentials
The requested local file access is scoped to the tracker data directory and Feishu network access is purpose-aligned; the script also relies on the clawhub CLI to fetch registry stats as documented.
Persistence & Privilege
It persistently writes check logs, report archives, and tracker logs, and can read Feishu credentials from environment variables or a disclosed .env file in the tracker data directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-download-tracker
  3. After installation, invoke the skill by name or use /skill-download-tracker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: download count monitoring with daily/weekly/monthly reports, Feishu push notifications, and security audit passed
Metadata
Slug skill-download-tracker
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is ClawHub Download Tracker?

Monitor download counts for your ClawHub-published skills. Track changes over time with automated alerts. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.

How do I install ClawHub Download Tracker?

Run "/install skill-download-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ClawHub Download Tracker free?

Yes, ClawHub Download Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ClawHub Download Tracker support?

ClawHub Download Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ClawHub Download Tracker?

It is built and maintained by TSAG1 (@tsag1); the current version is v1.0.0.

💬 Comments