Install
openclaw skills install clawhub-managerClawHub 技能管理工具。封装技能的发布、删除、查询和搜索功能,方便管理 ClawHub 上的技能。
openclaw skills install clawhub-manager简化 ClawHub 技能的发布、删除、查询和搜索操作。
# 查询技能详情
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/inspect.sh feishu-voice
# 查询技能统计(JSON 格式)
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/inspect.sh feishu-voice --json
# 搜索技能(关键词)
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/search.sh "feishu"
# 搜索技能(限制结果数量)
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/search.sh "pdf" --limit 10
# 列出所有已安装的技能
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/list.sh
# 发布技能(指定版本)
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/publish.sh \
/root/.openclaw/workspace/skills/your-skill \
--version 1.0.0 \
--changelog "首次发布"
# 发布技能(指定 slug 和名称)
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/publish.sh \
/root/.openclaw/workspace/skills/your-skill \
--slug your-slug \
--name "Your Skill Name" \
--version 1.0.0
# 删除技能
bash /root/.openclaw/workspace/skills/clawhub-manager/scripts/delete.sh your-slug
{
"name": "Feishu Voice",
"slug": "feishu-voice",
"downloads": 19,
"installs": 1,
"stars": 0,
"versions": 2,
"updated": "2026-02-21 16:45"
}
发布技能前,请确保:
✅ 不在技能文件中硬编码任何密钥
YOUR_API_KEY_HERE)✅ 敏感信息存储在环境变量中
# ✅ 正确:从环境变量读取
API_KEY="${API_KEY}"
# ❌ 错误:硬编码密钥
API_KEY="tvly-YOUR_REAL_KEY_HERE"
✅ .env 文件已添加到 .gitignore
✅ 发布前会自动进行安全扫描
publish.sh 内置安全扫描,会自动检测:
app_secret=, app-secret= 等模式access_token=, access-token= 等模式export API_KEY=, export SECRET= 等发布前也可以手动运行检查:
# 检查常见密钥格式
grep -r "tvly-\|sk-\|ghp_\|pplx-\|exa_" \
--include="*.md" --include="*.sh" \
--include="*.py" --include="*.js"
# 检查通用密钥模式
grep -ri "api[_-]?key\s*[=:]" \
--include="*.sh" --include="*.py"
YOUR_API_KEY_HERE)# ⚠️ 仅在测试环境使用
bash publish.sh /path/to/skill --version 1.0.0 --skip-security
权限要求
版本号规范
slug 命名
速率限制
franklu0819-lang
MIT