ClawHub Integration
/install clawhub-integration
ClawHub Integration
ClawHub (clawhub.ai) is the skill registry for OpenClaw agents — like npm but for AI agent skills.
Base URL
https://clawhub.ai/api/v1
Authentication
- Token format:
clh_\x3Ctoken>as Bearer token - Generate token: Login at clawhub.ai → Settings → API Tokens
- Store in env:
CLAWHUB_TOKEN=clh_xxx - Validate:
GET /api/v1/whoami
curl -H "Authorization: Bearer $CLAWHUB_TOKEN" https://clawhub.ai/api/v1/whoami
Security Considerations
When working with API tokens, especially in automated environments or with AI agents, be aware of the following security considerations:
-
Token Storage: Never store tokens directly in scripts or commands. Use environment variables or secure credential storage.
-
Secure Token Usage:
# Read token from secure file or environment variable
TOKEN=$(cat ~/.secure/clawhub_token)
curl -H "Authorization: Bearer $TOKEN" https://clawhub.ai/api/v1/whoami
# Or use environment variable
curl -H "Authorization: Bearer $CLAWHUB_TOKEN" https://clawhub.ai/api/v1/whoami
-
Security Scanning: Many environments now scan for exposed credentials. If you encounter security warnings:
- Do not bypass security checks
- Use proper credential management practices
- Store tokens in secure files with restricted permissions (chmod 600)
- Use credential helpers when available
-
Token Permissions: Ensure your token has only the minimum required permissions for the tasks you need to perform.
Search Skills (No auth needed)
# Search by keyword
curl "https://clawhub.ai/api/v1/search?q=github+automation"
# List all skills
curl "https://clawhub.ai/api/v1/skills"
# Get specific skill
curl "https://clawhub.ai/api/v1/skills/{slug}"
# Download skill
curl "https://clawhub.ai/api/v1/download?slug=my-skill" -o skill.zip
Install via CLI
# Install clawhub
pip install clawhub
# or: npm i -g clawhub
# Login
clawhub login # browser OAuth via GitHub
clawhub login --token clh_xxx # headless token login
# Browse & Install
clawhub search "calendar" # search by keyword
clawhub explore # list recently updated
clawhub inspect \x3Cslug> # preview before install
clawhub install \x3Cslug> # download and install
clawhub list # show installed skills
clawhub update [slug] # update skill
clawhub uninstall \x3Cslug> # remove skill
Publish a Skill
# Via CLI
clawhub skill publish ./my-skill-folder
# Via API (multipart form)
curl -X POST https://clawhub.ai/api/v1/skills \
-H "Authorization: Bearer $CLAWHUB_TOKEN" \
-F "slug=my-skill" \
-F "version=1.0.0" \
-F "files[][email protected]"
SKILL.md Format for Publishing
---
name: skill-name
description: What this skill does and when to use it
version: 1.0.0
author: Kintama
license: MIT
metadata:
hermes:
tags: [tag1, tag2]
related_skills: [other-skill]
required_env:
- API_KEY
required_binaries:
- python3
---
# Skill Name
Content here...
Rate Limits
- Anonymous: 180 reads/min, 45 writes/min
- Authenticated: 900 reads/min, 180 writes/min
Environment Variables
CLAWHUB_TOKEN=clh_xxx # API token
CLAWHUB_REGISTRY= # Override registry URL (optional)
CLAWHUB_DISABLE_TELEMETRY=1 # Disable tracking
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawhub-integration - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawhub-integration触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ClawHub Integration 是什么?
Use when browsing, searching, installing, or publishing skills to ClawHub (OpenClaw skill registry). ClawHub is like npm for AI agent skills. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。
如何安装 ClawHub Integration?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-integration」即可一键安装,无需额外配置。
ClawHub Integration 是免费的吗?
是的,ClawHub Integration 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ClawHub Integration 支持哪些平台?
ClawHub Integration 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawHub Integration?
由 piuaibot-stack(@piuaibot-stack)开发并维护,当前版本 v1.0.0。