Skip to content

Codex Skills: Where They Live and How to Install

By Maximo Correa · 2026-11-16

Codex skills are folders with a SKILL.md file that OpenAI Codex loads when a task matches the skill description. Codex reads them from .agents/skills in your repository, from $HOME/.agents/skills, and from admin and system locations. You install curated ones with $skill-installer or create the folder by hand.

What a Codex skill is

A Codex skill is a folder with a SKILL.md file in it. OpenAI's docs define it this way: "A skill is a directory with a SKILL.md file plus optional scripts and references. The SKILL.md file must include name and description." It is the same folder format as the open Agent Skills standard, which OpenAI's docs name as the base: skills "build on the open agent skills standard." If you want the format explained from the beginning, read what Agent Skills are first.

A minimal skill, from the Codex docs:

---
name: skill-name
description: Explain exactly when this skill should and should not trigger.
---

Skill instructions for ChatGPT or Codex to follow.

The optional parts sit beside it: scripts/ for executable code, references/ for documentation, assets/ for templates, and agents/openai.yaml for appearance, invocation policy and tool dependencies.

Standalone skills run in more than one place. Per OpenAI: "Standalone skills are available in the ChatGPT desktop app, Codex CLI, and IDE extension."

Where Codex looks for skills

Codex reads skills from repository, user, admin and system locations. For repositories, it "scans .agents/skills in every directory from your current working directory up to the repository root."

ScopeLocationUse
REPO$CWD/.agents/skillsSkills for the folder where you launch Codex
REPO$CWD/../.agents/skillsSkills for a shared parent folder inside a Git repository
REPO$REPO_ROOT/.agents/skillsSkills for everyone working in the repository
USER$HOME/.agents/skillsYour own skills, in every repository
ADMIN/etc/codex/skillsDefault skills for every user on a machine or container
SYSTEMBundled with CodexIncludes skill-creator and skill-installer, enabled by default

Two more details from the same page. Codex "supports symlinked skill folders and follows the symlink target when scanning these locations." And if two skills share a name, "Codex doesn't merge them; both can appear in skill selectors."

A note on older guides. Some tutorials send you to .codex/skills/ or ~/.codex/skills/. The current official skills page, fetched on 2026-11-16, lists .agents/skills for repository and user scope and does not list a .codex/skills folder. If a guide and the docs disagree, follow the docs and check the version of Codex you run. The ~/.codex/config.toml file is a different matter: that is where Codex settings live, and it is the file the docs use for the disable switch described below.

How to install a skill

There are two routes, and both are in the official docs.

The built-in installer. Codex ships a system skill called skill-installer. For skills in the installer's own list, you invoke it by name inside Codex. The docs' example installs the linear skill:

$skill-installer linear

The docs add: "You can also prompt the installer to download skills from other repositories." The installer is for local setup. OpenAI's wording is "Use this for local setup and experimentation. For reusable distribution of your own skills, prefer plugins."

By hand. Create a folder with a SKILL.md file in one of the locations above. For one project, put it in .agents/skills/<skill-name>/ inside the repository. For every project, put it in $HOME/.agents/skills/<skill-name>/. "Codex detects skill changes automatically. If an update doesn't appear, restart Codex."

Before you add a skill from a repository you do not know, open its SKILL.md and any scripts/ folder and read them. A skill is instructions plus, sometimes, code that will run on your machine.

How Codex uses a skill

Codex starts with a list, then loads the file when it picks a skill. The docs say Codex and ChatGPT "start with each skill's name and description, then load the full SKILL.md instructions when they decide to use that skill." In Codex, the initial list also includes each skill's file path.

There are two ways to activate one:

  • Explicit. In Codex CLI or the IDE extension, "run /skills or type $ to mention a skill."
  • Implicit. "Codex can choose a skill when your task matches the skill description."

Because the second path depends on the description, OpenAI gives the same advice that applies in any tool: "Front-load the key use case and trigger words so a host can still match the skill if descriptions are shortened."

Descriptions do get shortened. The initial list "uses at most 2% of the model's context window, or 8,000 characters when the context window is unknown." When many skills are installed, "Codex shortens skill descriptions first," and for large sets it "may omit some skills from the initial list and show a warning." You can raise the budget with skills.max_context_tokens, up to 10,000 tokens.

To stop implicit use of one skill, set this in its agents/openai.yaml:

policy:
  allow_implicit_invocation: false

The docs say that when this is false, "explicit $skill invocation still works." To switch a skill off without deleting it, add an entry to ~/.codex/config.toml:

[[skills.config]]
path = "/path/to/skill/SKILL.md"
enabled = false

Codex skills and Claude Code skills, side by side

Both tools document the same starting point: a folder, a SKILL.md, a name and description read first, and the full file loaded when a skill is chosen. The differences are in where the folders live and in the controls around them.

CodexClaude Code
Personal folder$HOME/.agents/skills~/.claude/skills/<skill-name>/
Project folder$REPO_ROOT/.agents/skills.claude/skills/<skill-name>/
Invoke by hand$skill-name, or /skills in the CLI and IDE extension/skill-name
Listing budgetAt most 2% of the context window, or 8,000 characters if unknownScales at 1% of the context window
Turn off implicit useallow_implicit_invocation: false in agents/openai.yamldisable-model-invocation: true in the frontmatter
Built-in helpersskill-creator, skill-installerBundled skills such as /doctor, /code-review, /debug

If you want a Claude Code skill in Codex, the file you copy is the same kind of file. What you need to check is anything that is specific to one tool. Claude Code documents fields of its own on top of the standard, such as disable-model-invocation, and the Codex docs list their own settings in agents/openai.yaml. Read the frontmatter of any skill you move and look up each field in the docs of the tool you are moving it to. For the Claude Code side of the table, see where skills live in Claude Code and the glossary entry for a Claude Code skill.

Codex plugins

"Codex plugins" is a separate search, so here is what the docs say. OpenAI describes the split like this: "Skills are the authoring format for reusable workflows. Plugins distribute reusable skills and connectors through the universal plugin directory shared by ChatGPT and Codex."

A plugin can hold one or more skills, and it can "optionally bundle registered MCP server connections, bundled MCP server configuration, and presentation assets in a single package." The packaging page says to add a plugin.json at the plugin root. Existing .codex-plugin/plugin.json files "remain supported as a compatibility fallback."

For catalogs, OpenAI documents a CLI under codex plugin marketplace, with subcommands to add a marketplace source, list the sources you have and upgrade them.

A repository-scoped marketplace list lives at $REPO_ROOT/.agents/plugins/marketplace.json, and a personal one at ~/.agents/plugins/marketplace.json. The same page says the CLI commands "support plugin authoring and catalog setup" and that the ChatGPT desktop app is where you "install and test a local plugin." Treat that as the documented path and check the current docs before you rely on a different install command.

Plugins are not unique to OpenAI. Claude Code has its own plugin system, which what a Claude Code plugin is covers.

Finding skill folders to read

A Codex skill and a Claude Code skill share a file format, so a directory of Claude Code skills is also a pool of SKILL.md folders you can read. Flowy's index, 2026-11-16, published listings, holds 56,631 skills in 4,038 repositories, with a median of 3 skills per repository that ships skills. Those listings come from Claude Code repositories. Flowy has not tested any of them in Codex, so treat the list as reading material and check each skill's frontmatter against the Codex docs before you use it.

Browse the best Claude Code skills list. If you want to know why an installed skill may not run in either tool, the mechanism is the same in both: a skill loads only when the agent decides the description fits. Do Claude Code skills auto-activate walks through it, and what is skill routing names the idea.