Agent Skills extend Codex with specialized capabilities that activate automatically when relevant. This guide walks you through discovering what skills are available, installing one, and using it in a real workflow — all from inside Codex itself, using the built-inDocumentation 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.
Prerequisites
Before you begin:- You need a Codex account with an active session.
- System skills (
skill-installer,skill-creator) are pre-installed in every Codex environment. You do not need to install them. - Curated and experimental skills require an explicit install step, followed by a Codex restart.
Installing and Using a Skill
Open Codex and list available skills
Start a new Codex session and type the following to invoke the skill-installer:Codex will call the
list-skills.py helper script and display the available curated skills from skills/.curated, annotating any that are already installed:Install a skill by name
Install the The installer downloads the skill from the curated catalog and places it at
gh-address-comments skill by referencing it directly:$CODEX_HOME/skills/gh-address-comments (which defaults to ~/.codex/skills/gh-address-comments).Restart Codex
After installing any new skill, restart Codex so it picks up the new skill’s metadata.
Skills are discovered at startup. A restart is required before a newly installed skill becomes active. Codex will confirm the skill is available on your next turn.
Use the skill
In your next session, navigate to a repository with an open pull request and ask Codex to address the PR comments:Codex matches the request to
gh-address-comments, loads the skill, fetches the PR comments using the bundled scripts/fetch_comments.py, and asks you which comment threads to address before applying changes.Installing Experimental Skills
Experimental skills live inskills/.experimental and are not included in the default curated listing. You can install them in two ways.
By folder name:
install-skill-from-github.py under the hood and install the skill to $CODEX_HOME/skills/<skill-name>. Restart Codex after installing.
What Happens Under the Hood
When you run$skill-installer, Codex activates the skill-installer system skill, which uses two helper scripts:
list-skills.py— Queries the GitHub API for the contents ofskills/.curated(or another path you specify) and cross-references with your locally installed skills.install-skill-from-github.py— Downloads the skill directory from GitHub (using direct download for public repos, falling back to git sparse checkout for private repos or auth failures) and copies it into$CODEX_HOME/skills/.
GITHUB_TOKEN or GH_TOKEN environment variables.
Next Steps
All Installation Methods
Learn every install option: by name, by folder, by URL, with private repo support and CLI flags.
Create a Custom Skill
Build your own skill for team-specific workflows using the skill-creator and init_skill.py.