技能 Installer
- 作者仓库星标 604
- 作者仓库 VTCode
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:
scripts/list-curated-skills.py
Optional: specify a different repo or path:
scripts/list-curated-skills.py --repo owner/repo --path skills/path --ref branch
Output formats:
- Default: numbered list with installation status
- JSON:
--format jsonfor programmatic use
Install from Curated List
Install a skill by name from the curated list:
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:
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:
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:
- Ensure GitHub CLI (
gh) is installed and authenticated:gh auth login - Or set the
GITHUB_TOKENenvironment variable
Overwriting Existing Skills
If a skill with the same name already exists, the installer will:
- Warn about the existing skill
- Ask for confirmation before overwriting
- 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 listto verify installation. - Use
/skills load <skill-name>to activate the skill.
- 流狐分类
- AI 智能
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @vinhnx · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 需简单配置
- 是否需要外部 API Key
- 需要 · GitHub
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 读取环境变量
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 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
Show available skills from the curated list: Optional: specify a different repo or path: Output formats:
Install a skill by name from the curated list: The skill will be installed to ~/.agents/skills/<skill-name>/.
Install skills from any GitHub repository: For private repos, ensure gh CLI is authenticated or GITHUBTOKEN is set. Install multiple skills from the same repo:
Behavior and Options
# 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
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Communication → Scripts → List Curated Skills → Install from Curated List → Install from Any GitHub Repo → Behavior and Options
要点 -> Helps install skills. · - List curated skills when the user asks what is available, or if the user uses this skill without specifying what to do. · Install skills with the helper scripts. · - Start by confirming the task and running the appropriate command. · The skill will be installed to ~/.agents/skills/<skill-name>/. · For private repos, ensure gh CLI is authenticated or GITHUBTOKEN is set. · Skills are installed to ~/.agents/skills/ by default. · 1. Ensure GitHub CLI (gh) is installed and authenticated: gh auth login 2.
文件/命令 -> --format json · ~/.agents/skills/<skill-name>/ · GITHUBTOKEN · ~/.agents/skills/ · gh auth login · /skills list · /skills load <skill-name>
内容 SHA-256 -> 952bad03bd6b
原文结构
适用与边界
原文中的明确线索
--format json、~/.agents/skills/<skill-name>/、GITHUBTOKEN、~/.agents/skills/、gh auth login、/skills list、/skills load <skill-name>