List Skills
Fetch available skills for one or more working directories.Method
Parameters
string[]
default:[]
Working directories to scan for skills (defaults to current session cwd if empty)
boolean
default:false
Bypass the skills cache and re-scan from disk
object[]
Additional roots to scan as user-scoped skills for specific cwds
Response
SkillsListEntry[]
Array of skills grouped by working directory
Skill Object
string
Skill identifier (e.g.,
skill-creator)string
Brief skill description
boolean
Whether the skill is enabled in config
SkillInterface
UI metadata for the skill
Example
Invoking a Skill
To invoke a skill, include$<skill-name> in the text input and add a skill input item.
If you omit the
skill input item, the model will still parse $<skill-name> and try to locate the skill, but this adds latency. Always include the skill item when possible.Enable or Disable a Skill
Useskills/config/write to enable or disable a skill by path.
Method
Parameters
string
required
Absolute path to the skill’s SKILL.md file
boolean
required
Whether the skill should be enabled
Response
object
Empty object on success
Example
Skill Scopes
Skills are discovered from multiple scopes:Built-in
Bundled with CodexLocation: Codex installation directory
User
User-level skillsLocation:
~/.codex/skills/Project
Project-specific skillsLocation:
{cwd}/.codex/skills/Skill Structure
A skill is defined by aSKILL.md file containing:
icon.svg- Small iconicon-large.svg- Large iconconfig.toml- Skill configuration (display name, brand color, default prompt)
Remote Skills (Under Development)
List Remote Skills
Export Remote Skill
hazelnutId into the user’s skills directory.
Next Steps
Apps
Discover and use connector apps
Turns
Start a turn with skill invocation