Skills clawhub-rate-limited-publisher
Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/52yuanchangxing/clawhub-rate-limited-publisher-fixed" ~/.claude/skills/clawdbot-skills-clawhub-rate-limited-publisher && rm -rf "$T"
manifest:
skills/52yuanchangxing/clawhub-rate-limited-publisher-fixed/SKILL.mdsource content
ClawHub Rate Limited Publisher
Use this skill when the user wants to publish one or more local skills to ClawHub without exceeding the platform's publish cap.
What this skill does
This skill does not magically grant shell permissions. It provides a safe local queue + scheduler workflow around the user's own
clawhub CLI.
Follow this procedure:
- Verify the skill folder exists and contains
.SKILL.md - Build or update a queue JSON file.
- Ask the host to run the helper script from
.{baseDir}/scripts/clawhub_rate_limited_uploader.py - Prefer a host scheduler such as cron or systemd timer so uploads happen automatically every 12 minutes.
- Never exceed 5 publish attempts in any rolling 3600-second window.
- Log stdout/stderr for each attempt and mark queue items as
orpublished
.failed
Required runtime conditions
must already be installed and authenticated on the host.clawhub- The host must allow command execution. In OpenClaw this usually means enabling runtime tools such as
/bash
, or running the Python script directly outside chat.exec - New sessions may be required after changing skill/config state because eligible skills are snapshotted per session.
Recommended invocation patterns
One-off manual run
Run:
python3 "{baseDir}/scripts/clawhub_rate_limited_uploader.py" --queue "/absolute/path/to/queue.json" --execute
Dry run
Run:
python3 "{baseDir}/scripts/clawhub_rate_limited_uploader.py" --queue "/absolute/path/to/queue.json" --dry-run
Cron schedule
Run every 12 minutes using the example in
{baseDir}/resources/cron.example.
Queue file shape
See
{baseDir}/examples/queue.sample.json.
Each item may contain:
: absolute path to one skill directorypath
: optional command template, defaultcommandclawhub publish "{path}"
Safety rules
- Use absolute paths.
- Do not use
, base64 piping, or hidden remote installers.curl|bash - Keep
limited to the localcommand
pattern unless the user explicitly audits and accepts a custom command.clawhub publish "{path}" - Count failures toward the hourly cap to avoid hammering ClawHub when auth or validation is broken.