ClawHub Push Skill

一键推送 skill 到 ClawHub registry,自动处理 acceptLicenseTerms 和文件格式问题

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ClawHub Push Skill" with this command: npx skills add bg1avd/clawhub-push-skill

ClawHub Push Skill

自动修复 ClawHub CLI 的 acceptLicenseTerms bug,一键推送 skill 到 ClawHub registry。

功能

  • ✅ 自动获取正确的 token 路径(支持新版 ~/.config/clawhub/token.json
  • ✅ 自动修复 acceptLicenseTerms 参数问题
  • ✅ 自动处理 tags 数组格式
  • ✅ 支持单个文件上传(不打包)
  • ✅ 支持批量推送整个目录

使用方法

推送单个 skill

# 使用默认配置推送
clawhub-push /path/to/skill

# 或指定 slug 和版本
clawhub-push /path/to/skill --slug my-skill --version 1.0.0

批量推送

# 推送 skills 目录下所有变更
clawhub-push-batch ~/.openclaw/workspace/skills

技术细节

修复的问题

  1. Token 路径问题:新版 ClawHub 将 token 存储在 ~/.config/clawhub/token.json,旧版在 ~/.clawhub/token

  2. acceptLicenseTerms 问题:CLI 的 FormData 中缺少该字段,需要在 payload JSON 中添加 acceptLicenseTerms: true

  3. Tags 格式问题tags 必须是数组 ["latest"] 而不是字符串

  4. 文件上传方式:必须用 -F "files=@文件名" 分别上传每个文件,不能用 tar.gz 打包

API 端点

  • Registry: https://clawhub.ai
  • Publish API: POST /api/v1/skills
  • Payload 格式:
    {
      "slug": "skill-slug",
      "version": "1.0.0",
      "displayName": "Skill Name",
      "tags": ["latest"],
      "acceptLicenseTerms": true
    }
    

Changelog

1.0.0

  • Initial release
  • 修复 acceptLicenseTerms bug
  • 支持单个和批量推送
  • 自动检测 token 位置

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Polymarket Politics Random Buyer

Randomly finds a live Polymarket politics market, checks trading context, and buys 1 USDC by default with explicit dry-run and live modes for AION Market.

Registry SourceRecently Updated
General

DB Schenker

德国铁路集团旗下物流巨头,专注欧洲最大陆运网络及多式联运,提供空运、海运及合同物流服务。

Registry SourceRecently Updated
General

Secretary Memory

OpenClaw 秘书式多分区记忆系统 v3.0。仿生现代秘书的笔记本分类法,支持:(1) 多分区并发搜索 + 每分区3条上下文召回,(2) 会话自动摘要,(3) 偏好自动提取 + 用户关系图谱,(4) 记忆冲突主动检测,(5) 定时 consolidation + 会话结束 hook,(6) 精细化恢复/回溯,...

Registry SourceRecently Updated
General

Hunt

Digital bounty hunter skill for finding, tracking, and managing online hackathon opportunities. Trigger when the user says "hunt", "find hackathons", "show m...

Registry SourceRecently Updated