Install
openclaw skills install fly-install当 ClawHub CLI 速率限制或安装失败时,通过多种备用方式安装技能:1) clawhub.ai 下载 zip;2) GitHub 搜索并克隆;3) 手动流程指导。
openclaw skills install fly-install当
clawhub install遭遇速率限制时的逃生通道 🚀
npx clawhub install <skill> 返回 Rate limit exceededclawhub CLI 无法访问或安装失败# 使用 fly-install 脚本,自动尝试多种安装方式
~/.openclaw/workspace/skills/fly-install/fly-install.sh <skill-name>
# 示例
~/.openclaw/workspace/skills/fly-install/fly-install.sh nano-pdf
~/.openclaw/workspace/skills/fly-install/fly-install.sh skill-vetter
脚本会按以下顺序尝试:
# 搜索 GitHub 上的技能仓库并克隆
cd ~/.openclaw/workspace/skills
# 搜索技能(示例)
curl -s "https://api.github.com/search/repositories?q=nano-pdf+openclaw" | jq -r '.items[0].clone_url'
# 克隆到本地
git clone --depth 1 <clone_url> <skill-name>
访问 https://clawhub.ai/skills 搜索技能,下载 zip 包手动安装。
# 基础用法
~/.openclaw/workspace/skills/fly-install/fly-install.sh <skill-name>
# 指定安装目录
~/.openclaw/workspace/skills/fly-install/fly-install.sh <skill-name> /custom/skills/path
# 查看帮助
~/.openclaw/workspace/skills/fly-install/fly-install.sh --help
# 使用 GitHub API 搜索技能仓库
SEARCH_QUERY="<skill-name>+openclaw+skill"
curl -s "https://api.github.com/search/repositories?q=$SEARCH_QUERY" | jq -r '.items[0:3] | .[] | "\(.full_name): \(.clone_url)"'
cd ~/.openclaw/workspace/skills
# 克隆仓库(替换为实际的 clone_url)
git clone --depth 1 <clone_url> <skill-name>
# 验证安装
ls <skill-name>/SKILL.md
cat <skill-name>/SKILL.md
访问 https://clawhub.ai/skills 搜索你要安装的技能名称
点击技能卡片进入详情页,确认:
在详情页找到 "Download zip" 按钮,复制链接地址
cd ~/.openclaw/workspace/skills
# 下载 zip 包(替换为实际的下载链接)
wget -O <skill-name>.zip "<下载链接>"
# 解压到独立文件夹
unzip -q <skill-name>.zip -d <skill-name>
# 删除 zip 包
rm <skill-name>.zip
# 验证安装
ls <skill-name>/SKILL.md
# 创建技能列表
cat > skills-to-install.txt << EOF
nano-pdf
skill-vetter
clawshield
atxp
EOF
# 批量安装
while read skill; do
~/.openclaw/workspace/skills/fly-install/fly-install.sh "$skill"
done < skills-to-install.txt
| 方式 | 优点 | 缺点 | 适用场景 |
|---|---|---|---|
| GitHub 克隆 | 版本控制、可更新 | 需要找到正确仓库 | 开源技能 |
| ClawHub zip | 官方来源、安全可靠 | 需手动下载 | 闭源/官方技能 |
| fly-install 脚本 | 全自动、多方式尝试 | 依赖网络 | 快速安装 |
# 检查仓库是否存在
curl -s https://api.github.com/repos/<owner>/<repo> | jq -r '.message'
# 使用 https 替代 ssh
git clone https://github.com/<owner>/<repo>.git
# 使用 curl 替代 wget
curl -L -o skill.zip "<下载链接>"
# 安装 unzip
apt-get install unzip # Ubuntu/Debian
brew install unzip # macOS
# GitHub 克隆的技能
cd ~/.openclaw/workspace/skills/<skill-name>
git pull
# zip 安装的技能(需重新下载)
mv <skill-name> <skill-name>-backup
~/.openclaw/workspace/skills/fly-install/fly-install.sh <skill-name>
find-skills - 搜索发现新技能healthcheck - 检查系统健康状态security-check - 扫描技能安全性🦞 大龙虾的逃生通道,CLI 受阻时的救命稻草。