技能添加
- 作者仓库星标 707
- 作者仓库 openclacky
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @clacky-ai · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
/skill-add https://store.clacky.ai/skills/canvas-design-1.2.0.zip
# Skill Add — Zip Installer
Installs a skill from a zip URL **or a local zip file path** using the bundled `install_from_zip.rb` script.
## How to Install
The script path is listed in the Supporting Files above (`scripts/install_from_zip.rb`) — use the full path directly, no `find` needed.
The script accepts **either a remote URL or a local file path**:
```bash
ruby "SKILL_DIR/scripts/install_from_zip.rb" <zip_url_or_path> [slug]
```
- `<zip_url_or_path>` — a remote `https://` URL **or** an absolute/relative local path to a `.zip` file
- `[slug]` — optional; the skill's directory name. If omitted, inferred from the filename (e.g. `canvas-design-1.2.0.zip` → `canvas-design`)
The script handles everything automatically:
- For URLs: downloads the zip (follows HTTP redirects)
- For local paths: reads the file directly (no download needed)
- Extracts and locates all `SKILL.md` files inside
- Copies skill directories to `~/.clacky/skills/`
- Reports installed skills with their descriptions
**Do NOT manually download or unzip — the script handles everything.**
## Examples
**From a remote URL:**
```
/skill-add https://store.clacky.ai/skills/canvas-design-1.2.0.zip
```
```bash
ruby "SKILL_DIR/scripts/install_from_zip.rb" \
"https://store.clacky.ai/skills/canvas-design-1.2.0.zip" \
"canvas-design"
```
**From a local file:**
```
/skill-add /Users/alice/Downloads/my-skill-1.0.0.zip
```
```bash
ruby "SKILL_DIR/scripts/install_from_zip.rb" \
"/Users/alice/Downloads/my-skill-1.0.0.zip"
```
## Notes
- Skills install to `~/.clacky/skills/` by default
- Local paths may be absolute (`/path/to/skill.zip`) or use `~` (`~/Downloads/skill.zip`)
- If the user doesn't provide a URL or path, ask them for the zip source
章节与文件索引
按说明文件中的顺序排列。
如何安装
示例
注释
文件/命令 -> install_from_zip.rb · scripts/install_from_zip.rb · find · <zip_url_or_path> · https:// · .zip · [slug] · canvas-design-1.2.0.zip
内容校验值 -> c69dc8d09923
当前原文的自动摘译,尚未人工审校。
如何安装
脚本路径在上面的支持文件中列出(
scripts/install_from_zip.rb)——直接使用完整路径,不需要find。该脚本接受远程 URL 或本地文件路径:<zip_url_or_path>— 远程https://URL 或.zip文件的绝对/相对本地路径[slug]— 可选;技能的目录名称。如果省略,则从文件名推断(例如canvas-design-1.2.0.zip→canvas-design)示例
从远程 URL: 从本地文件:
注释
技能默认安装到
~/.clacky/skills/本地路径可以是绝对路径 (/path/to/skill.zip) 或使用~(~/Downloads/skill.zip) 如果用户未提供 URL 或路径,请向他们询问 zip 源