What Are Codex CLI Skills
Codex skills are self-contained workflow definitions stored as SKILL.md files. Each skill describes what it does, when it should be triggered, and the step-by-step process Codex should follow. Skills live in .agents/skills/ directories — either per-project (in your repo root) or globally (in ~/.codex/agents/).
What makes skills powerful is automatic discovery. When you give Codex a task, it scans available skills and selects the best match. You can also invoke skills explicitly using the$ prefix (e.g., $ gh-fix-ci) or browse available skills withcodex /skills.
Skills can be chained — one skill's output becomes another's input. For example,gh-address-comments can read PR feedback, then webapp-testing can generate tests for the changes, and changelog-generator can document what changed. This composability is what separates skills from simple prompt templates.
How to Install Codex Skills
Per-Project Skills
# Create skills directory in your project
mkdir -p .agents/skills/gh-fix-ci
# Add the skill definition
cat > .agents/skills/gh-fix-ci/SKILL.md << 'EOF'
# gh-fix-ci
## Description
Reads CI failure logs from GitHub Actions, diagnoses the root cause,
and applies targeted fixes to pass the pipeline.
## Trigger
When the user mentions CI failure, build error, or pipeline issues.
## Steps
1. Read the latest CI run logs from GitHub Actions
2. Identify the failing step and error message
3. Analyze the codebase for the root cause
4. Apply the minimal fix to resolve the failure
5. Run the failing test locally to verify
EOF
# Verify skill is discovered
codex /skillsGlobal Skills
# Global skills available across all projects
mkdir -p ~/.codex/agents/skills/email-draft-polish
# Add SKILL.md as above
# Or clone a curated collection
git clone https://github.com/ComposioHQ/awesome-codex-skills.git
cp -r awesome-codex-skills/skills/* ~/.codex/agents/skills/Skills Directory
These 10 skills are selected for real-world utility. Each has been verified to work with current Codex CLI versions.