List Skills
Fetch available skills for one or more working directories.Method
Parameters
Working directories to scan for skills (defaults to current session cwd if empty)
Bypass the skills cache and re-scan from disk
Additional roots to scan as user-scoped skills for specific cwds
Response
Array of skills grouped by working directory
Skill Object
Skill identifier (e.g.,
skill-creator)Brief skill description
Whether the skill is enabled in config
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
Absolute path to the skill’s SKILL.md file
Whether the skill should be enabled
Response
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