技能安装者
- 作者仓库星标 604
- 作者仓库 VTCode
- 领域
- 人工智能
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @vinhnx · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 需要 · GitHub
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 读取环境变量
- 网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# Skill Installer
Helps install skills. By default these are from https://github.com/openai/skills/tree/main/skills/.curated, but users can also provide other locations.
Use the helper scripts based on the task:
- List curated skills when the user asks what is available, or if the user uses this skill without specifying what to do.
- Install from the curated list when the user provides a skill name.
- Install from another repo when the user provides a GitHub repo/path (including private repos).
Install skills with the helper scripts.
## Communication
- Start by confirming the task and running the appropriate command.
- If something fails, report the exact error and ask what to do next.
- Say only what is necessary.
## Scripts
### List Curated Skills
Show available skills from the curated list:
```bash
scripts/list-curated-skills.py
```
Optional: specify a different repo or path:
```bash
scripts/list-curated-skills.py --repo owner/repo --path skills/path --ref branch
```
Output formats:
- Default: numbered list with installation status
- JSON: `--format json` for programmatic use
### Install from Curated List
Install a skill by name from the curated list:
```bash
scripts/install-skill-from-github.py <skill-name>
```
The skill will be installed to `~/.agents/skills/<skill-name>/`.
### Install from Any GitHub Repo
Install skills from any GitHub repository:
```bash
scripts/install-skill-from-github.py owner/repo path/to/skill
```
For private repos, ensure `gh` CLI is authenticated or `GITHUB_TOKEN` is set.
Install multiple skills from the same repo:
```bash
scripts/install-skill-from-github.py owner/repo path/to/skill1 path/to/skill2
```
## Behavior and Options
### Installation Location
Skills are installed to `~/.agents/skills/` by default.
### Private Repositories
For private repositories:
1. Ensure GitHub CLI (`gh`) is installed and authenticated: `gh auth login`
2. Or set the `GITHUB_TOKEN` environment variable
### Overwriting Existing Skills
If a skill with the same name already exists, the installer will:
1. Warn about the existing skill
2. Ask for confirmation before overwriting
3. Back up the existing skill before replacement
### Validation
Before installing, the script validates:
- SKILL.md exists and has valid frontmatter
- Skill name follows naming conventions
- No invalid or dangerous file patterns
## Notes
- Skills installed from GitHub are placed in the User scope.
- After installation, the skill is immediately available in the current session.
- Use `/skills list` to verify installation.
- Use `/skills load <skill-name>` to activate the skill.
章节与文件索引
按说明文件中的顺序排列。
通讯
列出精选技能
从精选列表安装
从任何 GitHub 存储库安装
安装位置
文件/命令 -> --format json · ~/.agents/skills/<skill-name>/ · GITHUB_TOKEN · ~/.agents/skills/ · gh auth login · /skills list · /skills load <skill-name>
内容校验值 -> 952bad03bd6b
当前原文的自动摘译,尚未人工审校。
通讯
首先确认任务并运行适当的命令。如果出现问题,请报告确切的错误并询问下一步该怎么做。只说必要的话。
列出精选技能
显示策划列表中的可用技能: 可选:指定不同的存储库或路径: 输出格式: 默认:带有安装状态的编号列表 JSON:
--format json用于编程使用从精选列表安装
从策划列表中按名称安装技能:该技能将安装到
~/.agents/skills/<skill-name>/。从任何 GitHub 存储库安装
从任何 GitHub 存储库安装技能:对于私有存储库,请确保
ghCLI 已通过身份验证或GITHUB_TOKEN已设置。从同一存储库安装多个技能:安装位置
技能默认安装到
~/.agents/skills/。