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/.experimental
when 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
skill-installer
安装
npx skills add https://github.com/openai/skills --skill skill-installer