TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/openai/skills/llms.txt
Use this file to discover all available pages before exploring further.
skill-installer system skill is your one-stop interface for discovering and installing skills into Codex. It is pre-installed in every Codex environment and backed by two Python helper scripts that handle everything from listing available skills to fetching and placing skill directories on disk. This page covers every installation method in detail.
How Skill Installer Works
When you invoke$skill-installer in Codex, the system skill activates and uses these two scripts:
scripts/list-skills.py— Lists skills from a GitHub repo path and annotates which ones are already installed locally.scripts/install-skill-from-github.py— Downloads a skill directory from GitHub and installs it into$CODEX_HOME/skills/.
https://github.com/openai/skills/tree/main/skills/.curated. The install destination is $CODEX_HOME/skills/<skill-name>, which defaults to ~/.codex/skills/<skill-name> when CODEX_HOME is not set.
System skills (including
skill-installer and skill-creator) are pre-installed and cannot — and need not — be re-installed. If a user asks to install a system skill, simply explain that it is already available.Installation Methods
Method 1: By Name (Curated Skills)
The simplest installation path. Provide the skill name and the installer fetches it fromskills/.curated:
Method 2: By Folder (Experimental Skills)
For experimental skills, specify the.experimental folder explicitly:
Method 3: By Full GitHub URL
Provide any GitHub directory URL directly — useful for skills in forks, private repos, or branches:CLI Reference: install-skill-from-github.py
The install script supports several flags for advanced use cases.
Repository in
owner/repo format. Required unless --url is provided.One or more relative paths to skill directories inside the repo. Multiple paths install multiple skills in a single run, each named from its path basename.
Full GitHub URL to a skill directory, e.g.
https://github.com/owner/repo/tree/main/path/to/skill. When provided, --repo is optional.Git branch, tag, or commit SHA to install from. Defaults to
main.Destination directory for the installed skill. Defaults to
$CODEX_HOME/skills (which resolves to ~/.codex/skills).Override the skill folder name at the destination. Only valid when installing a single skill. Defaults to the basename of the
--path value.Download strategy.
auto tries direct download first, falls back to git sparse checkout on auth/permission errors. download forces direct download only. git forces git sparse checkout only (tries HTTPS, then SSH).CLI Reference: list-skills.py
Repository to list skills from.
Path within the repository to list. Use
skills/.experimental for experimental skills.Branch or tag to list from.
Output format.
text prints a numbered list with (already installed) annotations. json returns an array of {"name": string, "installed": boolean} objects.Install Destination
Skills are always installed to$CODEX_HOME/skills/<skill-name>. If CODEX_HOME is not set, it defaults to ~/.codex. The installer aborts if the destination directory already exists — it will not overwrite an existing skill.
Private Repository Support
The install script supports private GitHub repositories through existing git credentials or environment variables:GITHUB_TOKEN or GH_TOKEN is accepted. When direct download fails due to auth errors (HTTP 401, 403, or 404), the script automatically falls back to git sparse checkout, which tries HTTPS first and then SSH.