Plugins & ExtensionsAgent SkillsCodex skills

Codex skills

In Codex, a skill is a folder with a SKILL.md file, the same Agent Skills format Claude reads. Codex loads it when your task matches its description, or when you type $ and its name. Your skills live in ~/.agents/skills; a repository's live in .agents/skills, from your folder up to the repository's root.

Updated on November 30, 2026 · By the WEFARO team

Where Codex finds skills

Repository: .agents/skills/<name>/SKILL.md. Codex reads that folder where you start it and in each folder above, up to the repository's root: a module can keep its own skills, and the root shares skills with everyone.

Yours: ~/.agents/skills/<name>/SKILL.md, in every repository you work in.

The machine's: /etc/codex/skills, for skills an administrator sets up for every user. And Codex's own, on by default: $skill-creator and $skill-installer.

Two skills with the same name aren't merged: both can show in the list. Codex follows symbolic links, and picks up a new or changed skill on its own; restart it if one doesn't appear.

Two ways a skill runs

Codex picks itWhen your task matches the skill's description. Put its main use and trigger words first: descriptions get shortened when many skills are installed.
You call itType $ and the skill's name, or run /skills to choose one, in Codex CLI and the IDE extension. In ChatGPT, type @.
Only when you call itA policy in the skill's agents/openai.yaml stops Codex from picking it on its own. $ still works.

What Codex reads first

Codex starts with each skill's name, description and file path, and reads the whole SKILL.md only when it uses the skill. That first list takes at most 2% of the model's context window, or 8,000 characters when the window is unknown.

With many skills installed, Codex shortens descriptions first, then may leave some skills out of the list, with a warning. skills.max_context_tokens in config.toml sets another budget, up to 10,000 tokens.

Codex's own file: agents/openai.yaml

In SKILL.md, Codex needs name and description, the Agent Skills fields. What's OpenAI's goes in a second file, agents/openai.yaml: a display name, a short description, icons, a color and a default prompt for the ChatGPT desktop app; the allow_implicit_invocation policy; and the MCP tools the skill needs.

That keeps the SKILL.md itself in the shared format, which Claude, Cursor and Copilot also read.

What changes from a Claude skill

The folders: Codex reads .agents/skills and ~/.agents/skills; Claude Code reads .claude/skills and ~/.claude/skills. Cursor and Copilot read both. Codex follows symbolic links, so a skill kept in .claude/skills can be linked from .agents/skills.

Calling one: $name in Codex, /name in Claude Code. Keeping it for you alone: allow_implicit_invocation: false in agents/openai.yaml for Codex, disable-model-invocation: true in the frontmatter for Claude Code.

Claude Code's own frontmatter fields, like argument-hint or model, aren't part of OpenAI's documented format. The SKILL.md validator checks a skill against each assistant's rules.

Skills in Codex plugins

To share skills beyond one repository, OpenAI packages them as plugins: one or more skills, with MCP servers or hooks when needed. ChatGPT and Codex share one plugin directory. In Codex CLI, /plugins opens it, grouped by marketplace; in the ChatGPT desktop app, it's the Plugins tab. The IDE extension doesn't support plugins.

A plugin's skills show up in the next session after you install it. For your own setup, $skill-installer adds curated skills, or skills from another repository.

OpenAI's example skills moved the same way: its openai/skills repository is deprecated, and its README sends to openai/plugins.

Custom prompts are skills now

Codex's custom prompts, Markdown files in ~/.codex/prompts that you run as /prompts:name, are deprecated. OpenAI points to skills instead: a repository can share them, and Codex can start them on its own.

Make one

  1. Ask Codex for it. Its built-in creator asks what the skill does and when it should run:
    $skill-creator
  2. Or write it yourself. A folder with a SKILL.md whose frontmatter gives its name and description, then the instructions:
    .agents/skills/<name>/SKILL.md
  3. Check it. The SKILL.md validator reads it against the specification and each assistant's rules, in your browser.
  4. Turn one off without deleting it. In ~/.codex/config.toml, then restart Codex:
    [[skills.config]]
    path = "/path/to/skill/SKILL.md"
    enabled = false

More skills, and checking yours

Questions people ask

Where do I put a skill for Codex?

In ~/.agents/skills/<name>/ for all your repositories, or in .agents/skills/<name>/ in a repository to share it with your team.

Do Claude skills work in Codex?

Codex reads the same Agent Skills format, with name and description required. Put the folder in .agents/skills, or link it there, then check it with the SKILL.md validator.

How do I call a skill in Codex?

Type $ and its name, or run /skills to choose one. Codex can also pick it on its own when your task matches its description.

Why doesn't Codex use my skill?

Codex picks a skill by its description, which it shortens when many skills are installed: put the main use and its trigger words first. If the skill doesn't show at all, restart Codex.

Do Codex skills work in ChatGPT?

Skills in your folders work in Codex CLI, the IDE extension and the ChatGPT desktop app. Skills inside a plugin also work in ChatGPT on the web and on phones.

Made a Claude skill or a plugin?Sell it, or share it free, with the people who need it. WEFARO keeps 15% of each payment it brings, and 5% through your own link from December 26 (1 cent until then).

Sell it on WEFARO