← 返回 Skills 市场
hybrid1labs

ClawHub Publishing Workflow

作者 HYBRID1LABS · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
100
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-publishing
功能描述
Manages publishing, distribution, and versioning of OpenClaw skills via ClawHub registry with CLI authentication and batch sync support.
使用说明 (SKILL.md)

CLAWHUB SKILL

Name: clawhub
Description: ClawHub registry integration for OpenClaw skills publishing and distribution
Version: 1.0.0
Status: ACTIVE


🎯 MISIÓN

Enable seamless publishing, distribution, and management of OpenClaw skills through ClawHub registry.


🔧 CONFIGURACIÓN

Authentication

# Login to ClawHub (opens browser)
clawhub login

# Verify authentication
clawhub whoami

# Logout
clawhub logout

Environment Variables

export CLAWHUB_SITE="https://clawhub.ai"
export CLAWHUB_REGISTRY="https://clawhub.ai"
export CLAWHUB_WORKDIR="$HOME/.openclaw"

📦 PUBLISHING WORKFLOW

Quick Publish

# Single skill
clawhub publish ~/.openclaw/skills/my-skill \
  --slug "my-skill" \
  --version "1.0.0" \
  --changelog "Initial release" \
  --tags "latest,openclaw,automation"

# Using publish script
~/.openclaw/workspace/scripts/publish-to-clawhub.sh publish \
  ~/.openclaw/skills/my-skill

Batch Sync

# Publish all valid skills
~/.openclaw/workspace/scripts/publish-to-clawhub.sh sync \
  ~/.openclaw/skills

Validation Requirements

Before publishing, ensure:

  • SKILL.md exists with Name and Description
  • ✅ No sensitive data (API keys, credentials)
  • ✅ Version follows semver (e.g., 1.0.0)
  • ✅ Unique slug (check existing: clawhub search \x3Cslug>)

📊 METADATA STRUCTURE

_meta.json (Auto-generated)

{
  "ownerId": "\x3Cauto-assigned>",
  "slug": "skill-slug",
  "version": "1.0.0",
  "publishedAt": 1774384644739
}

.clawhub/origin.json (After publish)

{
  "version": 1,
  "registry": "https://clawhub.ai",
  "slug": "skill-slug",
  "installedVersion": "1.0.0",
  "installedAt": 1774384644739
}

🛠️ CLI COMMANDS

Search & Discover

# Search skills
clawhub search "crypto trading"

# Explore latest
clawhub explore

# Inspect without install
clawhub inspect deep-scraper

Install & Update

# Install skill
clawhub install \x3Cslug>

# Update installed skills
clawhub update [slug]

# List installed
clawhub list

# Uninstall
clawhub uninstall \x3Cslug>

Publish & Manage

# Publish new skill
clawhub publish \x3Cpath> [options]

# Update existing
clawhub publish \x3Cpath> --version "1.1.0" --changelog "Bug fixes"

# Delete (moderator only)
clawhub delete \x3Cslug>

# Hide/Unhide
clawhub hide \x3Cslug>
clawhub unhide \x3Cslug>

📋 CATALOG MANAGEMENT

Skill Discovery Pipeline

  1. Browseclawhub explore (latest updates)
  2. Searchclawhub search \x3Cquery> (vector search)
  3. Inspectclawhub inspect \x3Cslug> (preview metadata)
  4. Installclawhub install \x3Cslug> (download + configure)
  5. Updateclawhub update (sync latest versions)

Quality Standards

Published skills must:

  • ✅ Have clear purpose and trigger conditions
  • ✅ Include usage examples
  • ✅ Document dependencies
  • ✅ Follow naming conventions (kebab-case slugs)
  • ✅ Be tested and functional

🔗 INTEGRATION POINTS

With OpenClaw

# Skills auto-discovered from ~/.openclaw/skills/
# Published skills available via:
openclaw skill run \x3Cslug> "\x3Ctask>"

With Publishing Script

# Full workflow automation
./publish-to-clawhub.sh validate \x3Cpath>   # Check structure
./publish-to-clawhub.sh package \x3Cpath>    # Create tarball
./publish-to-clawhub.sh publish \x3Cpath>    # Upload to registry
./publish-to-clawhub.sh sync \x3Cdir>        # Batch publish

📁 FILES

  • ~/.openclaw/skills/clawhub/SKILL.md (this file)
  • ~/.openclaw/workspace/scripts/publish-to-clawhub.sh (publishing automation)
  • ~/.openclaw/workspace/docs/clawhub-publishing-guide.md (documentation)
  • ~/.config/clawhub/token (authentication token)

✅ VERIFICATION

# Check CLI installed
which clawhub
clawhub --version

# Verify auth
clawhub whoami

# Test search
clawhub search "openclaw" | head -10

# List published skills (your account)
clawhub list --mine 2>/dev/null || echo "Check web dashboard"

🐛 TROUBLESHOOTING

Common Errors

"Not logged in"

clawhub login

"Slug already exists"

# Increment version
clawhub publish \x3Cpath> --version "1.1.0"

"Missing SKILL.md"

# Ensure skill has required files
ls -la \x3Cskill-path>/SKILL.md

"Validation failed"

# Run validation first
./publish-to-clawhub.sh validate \x3Cskill-path>

📈 METRICS

Metric Target Status
Skills Published 5+ (test batch) IN PROGRESS
Publishing Time \x3C2 min/skill ✅ Automated
Validation Rate 100% ✅ Pre-check enabled

Version: 1.0.0
Created: 2026-03-31
Registry: https://clawhub.ai
Owner: Hybrid Labs

安全使用建议
This skill's instructions are coherent for a publishing tool, but the metadata omits important declarations (required CLI, env vars, script locations, token file). Before installing or using it: 1) verify the origin of the 'clawhub' CLI and the publish-to-clawhub.sh script (get them from an official release or inspect the script contents), 2) confirm CLAWHUB_SITE/REGISTRY URLs are correct and trustworthy, 3) inspect the publish script to ensure it doesn't include unintended file globs (to avoid uploading secrets), 4) ensure ~/.config/clawhub/token is stored securely, and 5) ask the author/registry to add explicit install steps and required env vars to the skill metadata so the requirements are transparent. If you can't validate the CLI/scripts, treat uploads (especially batch sync) as potentially risky.
功能分析
Type: OpenClaw Skill Name: clawhub-publishing Version: 1.0.0 The skill bundle provides documentation and metadata for integrating with the ClawHub registry (https://clawhub.ai) to manage OpenClaw skills. The SKILL.md file outlines standard CLI operations for publishing, installing, and searching skills, while the _meta.json contains routine versioning information. No malicious logic, unauthorized data exfiltration, or harmful prompt injection instructions were found.
能力评估
Purpose & Capability
The skill description (ClawHub publishing) matches the instructions, but the metadata lists no required binaries, env vars, or config paths while the SKILL.md repeatedly references a 'clawhub' CLI, ~/.openclaw workspace scripts (publish-to-clawhub.sh), environment variables (CLAWHUB_SITE, CLAWHUB_REGISTRY, CLAWHUB_WORKDIR), and a token path (~/.config/clawhub/token). Those are functional requirements that should have been declared. The absence of a homepage/source also makes it harder to verify the origin of the CLI and scripts.
Instruction Scope
Runtime instructions tell the agent (or a user) to run the clawhub CLI and local publishing scripts that package and upload entire skill directories (~/.openclaw/skills). That is coherent with a publishing workflow, but it means the operation will read and transmit local files. The doc asks publishers to avoid sensitive data but does not provide automated sanitization or explicit checks — leaving room for accidental exposure during batch sync/publish.
Install Mechanism
This is instruction-only with no install spec (lowest formal risk). However, the instructions assume the presence of an external 'clawhub' CLI and custom scripts in ~/.openclaw/workspace; because there is no declared install source (e.g., package repository or release URL) the provenance and integrity of those binaries/scripts is unknown and should be verified before use.
Credentials
The SKILL.md references environment variables and an authentication token file but the skill metadata lists no required env vars or primary credential. Requiring an authentication token and site URL is reasonable for a registry client, but not declaring them is an omission that reduces transparency. Also, publishing scripts that tar and upload directories can accidentally include secrets if not carefully validated, so the power to read and transmit local skill directories is non-trivial.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It describes writing .clawhub/origin.json and metadata files under the user's ~/.openclaw, which is expected for a publishing client and is scoped to the user's home area.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-publishing
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-publishing 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Complete publishing workflow for OpenClaw skills
元数据
Slug clawhub-publishing
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

ClawHub Publishing Workflow 是什么?

Manages publishing, distribution, and versioning of OpenClaw skills via ClawHub registry with CLI authentication and batch sync support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。

如何安装 ClawHub Publishing Workflow?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-publishing」即可一键安装,无需额外配置。

ClawHub Publishing Workflow 是免费的吗?

是的,ClawHub Publishing Workflow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ClawHub Publishing Workflow 支持哪些平台?

ClawHub Publishing Workflow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawHub Publishing Workflow?

由 HYBRID1LABS(@hybrid1labs)开发并维护,当前版本 v1.0.0。

💬 留言讨论