Skills Officially Comes to Codex

Published: (December 20, 2025 at 03:09 AM EST)
2 min read

Source: Hacker News

Skill Structure

A skill is a folder that contains a SKILL.md file (required) and optional sub‑folders:

  • SKILL.md – required: markdown instructions + metadata
  • scripts/ – optional: executable code
  • references/ – optional: documentation
  • assets/ – optional: templates, resources

Invoking Skills

Explicit invocation

You can include a skill directly in your prompt. To select one, run the /skills slash command or start typing $ to mention a skill. (Codex web and iOS don’t support explicit invocation yet, but you can still prompt Codex to use any skill checked into the repo.)

Skills selector in CLI – light mode
Skills selector in CLI – dark mode

Skills selector in IDE – light mode
Skills selector in IDE – dark mode

Implicit invocation

Codex can decide to use an available skill when the user’s task matches the skill’s description. In either case, Codex reads the full instructions of the invoked skill and any extra references checked into the skill.

Skill Scopes and Precedence

Codex loads skills from several locations. When multiple skills share the same name, the one from the higher‑precedence scope overwrites the others.

ScopeLocationSuggested Use
REPO$CWD/.codex/skillsCurrent working directory (e.g., a microservice or module).
REPO$CWD/../.codex/skillsParent folder of the current repo – shared area for related projects.
REPO$REPO_ROOT/.codex/skillsRepository root – skills available to all subfolders.
USER$CODEX_HOME/skills (~/.codex/skills on macOS/Linux)Personal skills that apply across any repository.
ADMIN/etc/codex/skillsSystem‑wide skills for automation, SDK scripts, or default admin tools.
SYSTEMBundled with CodexBroad‑audience skills (e.g., skill-creator, plan).

Creating a Skill

Using the built‑in $skill-creator

Run the $skill-creator skill inside Codex, describe what you want the skill to do, and Codex will bootstrap it. Pair it with $plan to generate a plan first.

Manual creation

Create a folder in any valid skill location and add a SKILL.md file. The file must contain a name and description (metadata is optional).

---
name: skill-name
description: Description that helps Codex select the skill
metadata:
  short-description: Optional user‑facing description
---

Skill instructions for the Codex agent to follow when using this skill.

Codex skills build on the Agent Skills specification. See the documentation for more details.

Built‑in Skills and Installers

You can expand the list of built‑in skills by downloading from a curated set on GitHub:

$skill-installer linear

The installer can also fetch skills from other repositories.

Example Use Cases

Plan a new feature

Codex ships with a built‑in $plan skill that helps research and create a plan for a new feature or complex problem.

Access Linear context for Codex tasks

$skill-installer linear

Have Codex access Notion for more context

$skill-installer notion-spec-to-implementation
Back to Blog

Related posts

Read more »

3 things I want to learn in 2026

n8n This has been covered a few times by Dev YouTubers and has piqued my interest. It's an open-source workflow automation tool that's fair‑code licensed, powe...

Understanding npx How It Really Works

Summary This article explains npx in two layers: - Brief overview with exact resolution steps - Deep explanation of each step Overview npx searches for an exec...