ClawHub Install
Downloads and installs skills from ClawHub by direct URL access, avoiding rate limits that may occur with the official CLI.
Usage
CODEBLOCK0
Steps
Each skill installation follows these steps:
- 1. Get workspace path: Retrieves the workspace directory from OpenClaw config using INLINECODE0
- Download: Downloads the skill package from INLINECODE1
- Extract: Unzips the package to INLINECODE2
Examples
CODEBLOCK1
Error Handling
The script will:
- - Report errors if required commands (curl, unzip, openclaw) are missing
- Skip existing skills after removing them
- Show success/failure count after batch installation
Use Cases
- - Use when
clawhub install command is rate-limited - Use when installing multiple skills in batch
- Use when direct download is preferred over CLI installation
ClawHub 安装
通过直接URL访问从ClawHub下载并安装技能,避免官方CLI可能出现的速率限制。
使用方法
bash
bash {baseDir}/scripts/install.sh <技能名称> [技能名称2] [技能名称3] ...
步骤
每个技能的安装遵循以下步骤:
- 1. 获取工作空间路径:使用 openclaw config get agents.defaults.workspace 从OpenClaw配置中获取工作空间目录
- 下载:从 https://wry-manatee-359.convex.site/api/v1/download?slug=<技能名称> 下载技能包
- 解压:将包解压到 /skills/<技能名称>
示例
bash
安装单个技能
bash {baseDir}/scripts/install.sh finnhub
一次运行安装多个技能
bash {baseDir}/scripts/install.sh finnhub massive-api tavily-search
错误处理
该脚本将:
- - 如果缺少必要命令(curl、unzip、openclaw),报告错误
- 在移除已有技能后跳过它们
- 批量安装后显示成功/失败计数
使用场景
- - 当 clawhub install 命令受到速率限制时使用
- 当需要批量安装多个技能时使用
- 当更倾向于直接下载而非CLI安装时使用