← 返回
开发者工具 中文

Clawhub Rate Limited Publisher Fixed

Queue and publish local skills to ClawHub with a strict 5-per-hour cap using the local clawhub CLI and host scheduler.
使用本地 clawhub CLI 和主机调度器,将本地技能排队发布至 ClawHub,每小时上限 5 个。
52yuanchangxing
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 560
下载
💾 6
安装
1
版本
#latest

概述

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:

  1. Verify the skill folder exists and contains SKILL.md.
  2. Build or update a queue JSON file.
  3. Ask the host to run the helper script from {baseDir}/scripts/clawhub_rate_limited_uploader.py.
  4. Prefer a host scheduler such as cron or systemd timer so uploads happen automatically every 12 minutes.
  5. Never exceed 5 publish attempts in any rolling 3600-second window.
  6. Log stdout/stderr for each attempt and mark queue items as published or failed.

Required runtime conditions

  • clawhub must already be installed and authenticated on the host.
  • The host must allow command execution. In OpenClaw this usually means enabling runtime tools such as bash/exec, or running the Python script directly outside chat.
  • 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:

  • path: absolute path to one skill directory
  • command: optional command template, default clawhub publish "{path}"

Safety rules

  • Use absolute paths.
  • Do not use curl|bash, base64 piping, or hidden remote installers.
  • Keep command limited to the local clawhub publish "{path}" pattern unless the user explicitly audits and accepts a custom command.
  • Count failures toward the hourly cap to avoid hammering ClawHub when auth or validation is broken.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-19 19:52 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,414
content-creation

paper-assistant

52yuanchangxing
面向论文选题、提纲、摘要、引言、文献综述、研究方法、结果讨论、润色改写与投稿准备的论文助手。
★ 1 📥 1,957
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,462