← 返回
未分类 中文

clawhub-deployer — Skill Publishing Assistant

Publish a skill to ClawHub registry. Use when user asks to publish, release, or deploy a skill to ClawHub.
Publish a skill to ClawHub registry. Use when user asks to publish, release, or deploy a skill to ClawHub.
futurizerush futurizerush 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 360
下载
💾 0
安装
1
版本
#latest

概述

Publish Skill to ClawHub

Validate, prepare, and publish a skill to the ClawHub registry.

When to Trigger

  • User asks to publish / release / deploy a skill to ClawHub
  • User mentions clawhub publish or publish skill

Workflow

Step 1: Validate SKILL.md

Check that the target folder contains a valid SKILL.md:

ls TARGET_DIR/SKILL.md
head -20 TARGET_DIR/SKILL.md

Required frontmatter fields:

  • name — lowercase + hyphens, must match ^[a-z0-9][a-z0-9-]*$
  • description
  • version — semver format

Recommended fields for cross-platform compatibility:

  • allowed-tools — for Claude Code
  • metadata.openclaw.requires.env — required environment variables
  • metadata.openclaw.requires.bins — required binaries

Step 2: Check files

ClawHub only accepts text files: .md, .py, .txt, .json, .yaml, .toml, .js, .ts, .svg.

Must exclude:

  • Images: .png, .jpg, .jpeg, .gif, *.ico
  • Git: .git/, .gitignore
  • License: LICENSE (ClawHub enforces MIT-0 for all skills)
  • Environment: .env, .DS_Store

Step 3: Prepare publish folder

Create a folder with only text files:

mkdir -p TARGET_DIR/clawhub-publish
cp TARGET_DIR/SKILL.md TARGET_DIR/*.py TARGET_DIR/*.md TARGET_DIR/*.txt clawhub-publish/
cp -r TARGET_DIR/docs clawhub-publish/docs 2>/dev/null || true

Add clawhub-publish/ to .gitignore to keep the GitHub repo clean.

Step 4: Login

npx clawhub@latest whoami 2>&1 || npx clawhub@latest login

Step 5: Publish

npx clawhub@latest publish TARGET_DIR/clawhub-publish/ \
  --slug SLUG \
  --name "DISPLAY_NAME" \
  --version VERSION \
  --changelog "CHANGELOG" \
  --tags latest
  • SLUG: globally unique, lowercase + hyphens
  • DISPLAY_NAME: human-readable name, can include spaces
  • VERSION: semver (e.g. 1.0.0)
  • CHANGELOG: use Initial release. for first publish

Step 6: Verify

npx clawhub@latest inspect SLUG

Error Handling

ErrorFix
------------
Slug is requiredAdd --slug parameter
TakenChoose a different slug
GitHub API rate limitWait for reset (usually 10–60 seconds), then retry
Remove non-text filesGo back to Step 3, ensure only text files are included
SKILL.md is requiredConfirm SKILL.md exists inside the publish folder

SKILL.md Template

---
name: my-skill
description: One-line description of what this skill does.
version: 1.0.0
allowed-tools: Bash, Write, Read
metadata:
  openclaw:
    requires:
      env: [MY_API_KEY]
      bins: [python3]
    primaryEnv: MY_API_KEY
    emoji: "🔧"
    homepage: https://github.com/USER/REPO
    os: [macos, linux, windows]
---

# Skill Title

What this skill does.

## When to Trigger
- Trigger condition 1
- Trigger condition 2

## Usage
(Instructions for the AI on how to invoke the skill)

## Environment
(How to obtain and configure required API keys)

## Errors
(Common errors and fixes)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 11:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

imgforge — Free AI Image Generation

futurizerush
使用 Z-Image-Turbo 免费生成 AI 图像。说“生成一张…的图像”,即可在几秒内获得惊艳效果。
★ 0 📥 763

Anti-Slop

futurizerush
此技能用于用户请求“检查垃圾内容、反垃圾审查、质量检查、这是AI垃圾吗、审查原创性、检查……”时。
★ 0 📥 539

Fact Check

futurizerush
此技能应在用户要求“事实核查”“核实此信息”“这是真的吗”“检查事实”“验证说法”“这些字段名是否正确”等情况下使用。
★ 0 📥 419