skill-installer
帮助安装技能,支持从默认仓库或用户指定位置获取技能,简化技能部署流程。
npx skills add openai/skills --skill skill-installerBefore / After 效果对比
1 组手动下载、配置和安装 AI 技能或插件,过程繁琐,容易出现依赖问题或配置错误,耗时耗力。
使用技能安装器,自动化技能的发现、安装和管理,简化了技能的部署过程,提高了开发和运维效率。
skill-installer
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 skills when the user asks what is available, or if the user uses this skill without specifying what to do. Default listing is
.curated, but you can pass--path skills/.experimentalwhen they ask about experimental skills. -
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
When listing skills, output approximately as follows, depending on the context of the user's request. If they ask about experimental skills, list from .experimental instead of .curated and label the source accordingly:
"""
Skills from {repo}:
-
skill-1
-
skill-2 (already installed)
-
... Which ones would you like installed? """
After installing a skill, tell the user: "Restart Codex to pick up new skills."
Scripts
All of these scripts use network, so when running in the sandbox, request escalation when running them.
-
scripts/list-skills.py(prints skills list with installed annotations) -
scripts/list-skills.py --format json -
Example (experimental list):
scripts/list-skills.py --path skills/.experimental -
scripts/install-skill-from-github.py --repo <owner>/<repo> --path <path/to/skill> [<path/to/skill> ...] -
scripts/install-skill-from-github.py --url https://github.com/<owner>/<repo>/tree/<ref>/<path> -
Example (experimental skill):
scripts/install-skill-from-github.py --repo openai/skills --path skills/.experimental/<skill-name>
Behavior and Options
-
Defaults to direct download for public GitHub repos.
-
If download fails with auth/permission errors, falls back to git sparse checkout.
-
Aborts if the destination skill directory already exists.
-
Installs into
$CODEX_HOME/skills/<skill-name>(defaults to~/.codex/skills). -
Multiple
--pathvalues install multiple skills in one run, each named from the path basename unless--nameis supplied. -
Options:
--ref <ref>(defaultmain),--dest <path>,--method auto|download|git.
Notes
-
Curated listing is fetched from
https://github.com/openai/skills/tree/main/skills/.curatedvia the GitHub API. If it is unavailable, explain the error and exit. -
Private GitHub repos can be accessed via existing git credentials or optional
GITHUB_TOKEN/GH_TOKENfor download. -
Git fallback tries HTTPS first, then SSH.
-
The skills at https://github.com/openai/skills/tree/main/skills/.system are preinstalled, so no need to help users install those. If they ask, just explain this. If they insist, you can download and overwrite.
-
Installed annotations come from
$CODEX_HOME/skills.
Weekly Installs356Repositoryopenai/skillsGitHub Stars14.5KFirst SeenJan 20, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykWarnInstalled oncodex313opencode292gemini-cli280github-copilot272cursor266amp252
用户评价 (0)
发表评价
暂无评价
统计数据
用户评分
为此 Skill 评分