Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Agent Skills guide

Codex skills: Agent Skills in Codex, the ChatGPT app and automations

How Codex finds skills in .agents/skills, how to install them with $skill-installer, what agents/openai.yaml adds, and how skills run in scheduled automations.

By Intermediate · Updated 25 November 20267 min read
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

Codex skills go in .agents/skills/<name>/SKILL.md in a project or ~/.agents/skills/ for your user. Codex loads one when a request matches its description, or you start it with $skill-name or /skills. The built-in $skill-installer fetches skills for you, and an optional agents/openai.yaml holds Codex-only settings.

OpenAI’s Codex reads the same SKILL.md folders as every other agent, so most skills in our directory work in it unchanged. What differs is where it looks, the built-in installer, and an optional agents/openai.yaml file for Codex-specific settings. This guide covers the Codex CLI, the IDE extension and the ChatGPT desktop app, which is where the Codex app now lives. Paths and commands were checked against OpenAI’s skills documentation on 20 November 2026 and again on 25 November 2026, when we also added how skills behave in scheduled automations. If you are new to skills, read what Agent Skills are first; for skills to install, see the best Codex skills in our directory.

Where Codex looks for skills

Codex scans for .agents/skills/ in every folder from your current working directory up to the repository root, then in a few fixed places:

Scope Path
Repository $CWD/.agents/skills, each parent folder’s .agents/skills, up to $REPO_ROOT/.agents/skills
User $HOME/.agents/skills
Admin /etc/codex/skills
System Bundled with Codex: skill-creator and skill-installer

Two skills with the same name are not merged, and both can show up in the picker, so avoid duplicate names across your user and project folders. Symlinked skill folders are followed, which is handy if you keep one copy of a skill and link it into several places.

.agents/skills/ is the shared folder most agents now read: Cursor, GitHub Copilot and Antigravity look there too. Claude Code is the exception; it only reads .claude/skills/. If your team uses both, install to both or symlink.

Invoking skills in Codex

  • Explicitly: in the CLI or IDE extension, type $ and the skill name ($skill-creator) or run /skills to pick from a list. In ChatGPT, use @.
  • Implicitly: Codex picks a skill when the task matches its description.

The catalogue of names and descriptions has a budget: at most 2% of the context window, or 8,000 characters when the window size is unknown. With many skills installed, Codex shortens descriptions first and then drops skills with a warning. You can raise the budget with skills.max_context_tokens, up to 10,000 tokens. The practical lesson is the same as everywhere: keep descriptions specific and put the trigger words first.

Skills in the desktop app

The Codex desktop app is now part of the ChatGPT desktop app for macOS and Windows: after the update, Codex users get one app with Chat, Work and Codex, and it opens in Codex by default (OpenAI Help Center). The previous ChatGPT app carries on as ChatGPT Classic. Skills did not move: the app reads the same .agents/skills/ and ~/.agents/skills/ folders as the CLI, and Skills in the sidebar lists every skill it has found across your projects.

What the app adds is display. The interface block in agents/openai.yaml (below) sets the name, short description, icons and default prompt the app shows for a skill. A skill without that file still works; it just appears under its name.

Skills in scheduled automations

Codex automations, which the desktop app now calls scheduled tasks, run a prompt on a schedule, either as a fresh chat each time or by returning to an existing chat. They can use any skill Codex can see, and you can name one in the task prompt with $skill-name. Do that whenever the run should follow a fixed procedure: a scheduled task has no one watching to notice that Codex picked a different skill, or none. OpenAI’s scheduled tasks documentation, checked on 25 November 2026, adds the details that matter for skills:

  • Where it runs. In a Git repository you choose your local project or a new worktree for each run; outside Git it runs in the project folder. Project skills come from that checkout, so a skill committed on a branch the task does not use will not be there.
  • Permissions. Scheduled tasks run unattended with your default sandbox settings and use approval_policy = "never" when your organisation’s policy allows it. A skill that runs scripts or calls the network will do so without asking, so read its scripts first and avoid full-access mode for background runs.
  • The machine has to be on. A task that needs local files needs the computer awake, the desktop app running and the project still on disk.
  • Test it first. OpenAI’s advice is to run the prompt in a normal chat before scheduling it. With a skill in the prompt, that is also how you check it loads.

A prompt for a weekly run might look like this:

$gh-fix-ci Check the last 24 hours of CI runs on main. If a job failed,
find the cause and open a draft pull request with the fix. If nothing
failed, reply "No failures" and stop.

gh-fix-ci here does the procedure; the prompt says when to stop, which is the part a scheduled run most often lacks. The CLI and IDE extension do not have the scheduling interface.

Installing Codex skills

The built-in installer is the quickest route for OpenAI’s curated skills:

$skill-installer linear

You can also ask it to install from a GitHub URL. Restart Codex if a new skill does not appear. For anything else, copy the folder into .agents/skills/ in the repository or ~/.agents/skills/, or use the cross-agent CLI pinned to a commit you have read:

npx skills add trailofbits/skills@149d7b21f4067765b82e67029730b42d228ef4b4 --skill differential-review -a codex

agents/openai.yaml

Codex reads only name and description from SKILL.md. Everything Codex-specific goes in an optional agents/openai.yaml beside it, which keeps the SKILL.md portable. It has three parts. This is the file shipped with the (now deprecated) figma-implement-design skill, with a policy block added to show the third part:

interface:
  display_name: "Figma Implement Design"
  short_description: "Turn Figma designs into production-ready code"
  icon_small: "./assets/figma-small.svg"
  icon_large: "./assets/figma.png"
  default_prompt: "Use $figma-implement-design to implement this Figma design in this codebase, matching layout, states, and responsive behavior."
policy:
  allow_implicit_invocation: false
dependencies:
  tools:
    - type: "mcp"
      value: "figma"
      description: "Figma MCP server"
      transport: "streamable_http"
      url: "https://mcp.figma.com/mcp"
  • interface controls how the skill looks in the ChatGPT desktop app and pickers.
  • policy.allow_implicit_invocation defaults to true. Set it to false and the skill runs only when someone types $name, the Codex equivalent of Claude Code’s disable-model-invocation.
  • dependencies.tools declares what the skill needs, such as an MCP server.

Other agents ignore the folder, so including it costs nothing. You will see it in skills from Trail of Bits, Matt Pocock and others that support Codex deliberately.

Turning a skill off

To disable one skill without deleting it, add an entry to ~/.codex/config.toml. Use either path or name, one per entry; if several entries match, the last wins:

[[skills.config]]
name = "jupyter-notebook"
enabled = false

To turn off the bundled system skills for one project, set enabled = false under [skills.bundled] in that project’s trusted .codex/config.toml. Restart Codex after either change.

ChatGPT skills and Codex plugins

Skills are the authoring format; plugins are how Codex and ChatGPT distribute them. A plugin can bundle several skills, connectors and MCP server config, and plugins live in a directory shared by ChatGPT and Codex. Run /plugins in the Codex CLI to browse them. Standalone skills work in the Codex CLI, the IDE extension and the ChatGPT desktop app, which lists them under Skills in the sidebar. Skills inside plugins also work in ChatGPT on the web and mobile.

If you plan to share a skill with other Codex users, wrap it in a plugin. OpenAI’s plugin manifest lives at .codex-plugin/plugin.json; our guide to packaging and sharing skills compares it with the other agents’ formats.

Writing skills for Codex

$skill-creator builds a skill from a description and asks what it should do and when it should trigger; it produces an instruction-only skill by default. Beyond that, the general advice holds. Keep SKILL.md short and push detail into reference files. Use relative paths for bundled scripts rather than $CODEX_HOME/skills/...: several older OpenAI skills hard-code that path, which breaks them in other agents and in project installs. And test the skill with the prompts your colleagues will actually type, as our guide to testing Agent Skills explains. If your team also uses Claude Code, which reads .claude/skills/ instead, the port a skill across agents workflow keeps one copy working in both.

Check your understanding

Agent Skills in Codex quiz

Where Codex finds skills, invoking them with $ and /skills, the description budget, the built-in installer, agents/openai.yaml, turning a skill off, and plugins.

8 questions · pass mark 70%

Question 1 of 80 answered
  1. Where does Codex look for a project's skills?
Back to top