Agent Skills are self-contained folders of instructions, scripts, and resources that extend Codex with specialized capabilities. Rather than requiring you to re-explain a workflow every session, a skill packages that knowledge once so Codex can discover and apply it automatically — every time, without prompting. This is the central idea: write once, use everywhere.Documentation 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.
What are Agent Skills?
A skill transforms Codex from a general-purpose coding agent into a specialist. Skills provide four categories of value:- Specialized workflows — Multi-step procedures for specific domains (e.g., addressing GitHub PR review comments with the
ghCLI) - Tool integrations — Instructions for working with specific APIs, file formats, or external services
- Domain expertise — Company-specific schemas, business logic, and policies that no pre-trained model can fully possess
- Bundled resources — Scripts, reference documents, and asset templates for complex or repetitive tasks
The Three-Tier System
The skills catalog is organized into three tiers, each with a different installation path:System
Pre-installed in every Codex environment. The
skill-creator and skill-installer skills live here. No installation step needed.Curated
Vetted skills in the
skills/.curated folder. Install by name using $skill-installer gh-address-comments.Experimental
Community and work-in-progress skills in
skills/.experimental. Install by folder name or GitHub URL..experimental folder or a full GitHub URL.
What a Skill Contains
Every skill lives in a named directory. The only required file isSKILL.md; everything else is optional:
SKILL.md file has two parts: a YAML frontmatter block with name and description fields, and a Markdown body with instructions. The description is the primary trigger — Codex reads it to decide whether the skill is relevant to a given request. The body is only loaded after the skill triggers.
The Progressive Disclosure Model
Skills use a three-level loading strategy to avoid consuming too much of Codex’s context window:| Level | What loads | When | Size |
|---|---|---|---|
| Metadata | name + description from frontmatter | Always in context | ~100 words |
| SKILL.md body | Full instruction document | After skill triggers | < 5k words |
| Bundled resources | Scripts, references, assets | On demand, as needed | Unlimited |
When NOT to Add a Skill
Codex is already very smart. Before adding a skill, ask: “Does Codex really need this explanation?” and “Does this paragraph justify its token cost?” Only add context that Codex genuinely doesn’t already have — domain-specific schemas, proprietary workflows, niche API quirks. Verbose explanations of things Codex already knows well just consume tokens without adding value.
- Company-specific database schemas or business logic
- Workflows that involve fragile, error-prone sequences (e.g., PDF manipulation, deploy pipelines)
- Repetitive tasks where deterministic scripts outperform ad-hoc code generation
- Tasks requiring external documentation (API specs, legal policies, brand guidelines)
- General programming patterns Codex already handles well
- Single-use instructions better suited to a direct prompt
- Auxiliary documentation about how a skill was built, tested, or changed
Next Steps
Quickstart
Install your first skill and use it in Codex in under five minutes.
Skill Catalog
Browse curated and experimental skills, and learn all installation methods.