Codex skills: how they load, and sharing them with Claude Code and Cursor OpenAI's Codex loads skills from a SKILL.md file in .agents/skills folders, capping the initial skill list at 2 percent of the model's context window or 8,000 characters when the window is unknown, according to OpenAI's skills docs and the Codex 0.160.1 source read on October 6, 2026. Codex lists skills by name and description and reads the full SKILL.md only when a task matches or a user types $name, while Claude Code does not read the .agents/skills folder, so teams using both need one symlink per skill. Skills follow the Agent Skills open standard shared with Claude Code, Cursor and Copilot, and Codex 0.140.0 added @ for a menu of files, plugins and skills. Blog Codex skills: how they load, and sharing them with Claude Code and Cursor Published: October 6, 2026 A Codex skill is a folder with a SKILL.md file. Codex lists your skills by name and description, and reads the full file only when a task matches or you type $name . It looks in .agents/skills from your folder up to the repository root. Claude Code does not read that folder, so a team on both needs one symlink per skill. Facts about Codex are from OpenAI's skills docs https://learn.chatgpt.com/docs/build-skills and the Codex 0.160.1 source, read 2026-10-06. The ones marked tested were run on Codex 0.155.1 in a scratch repository. What is a Codex skill? A packaged, repeatable job: the steps, and any scripts or reference files they need. The folder holds a SKILL.md with two required fields, name and description , and can add scripts/ , references/ , assets/ and an agents/openai.yaml for Codex-only settings. Skills follow the Agent Skills https://agentskills.io/specification open standard, so the format is the same one Claude Code, Cursor and Copilot read. At the start of a session the model sees only a list: each skill's name, description and path. The list gets at most 2 percent of the model's context window, or 8,000 characters when the window is unknown. When there are more skills than fit, the docs say Codex “shortens skill descriptions first” and may leave some skills out. The full SKILL.md is read only when the skill is used. Where does Codex look for skills? | Scope | Folder | Use it for | |---|---|---| | Repository | .agents/skills in every folder from where you start Codex up to the repository root | Skills the team checks in, per repo or per service | | User | ~/.agents/skills | Your own skills, in every repo | | Admin | /etc/codex/skills | Defaults for every user of a machine or container | | System | Bundled with Codex | skill-creator, skill-installer and a few more | Four details decide whether a skill shows up. A skill in services/payments/.agents/skills is listed only when you start Codex in that service, not at the root tested . Codex still reads the older ~/.codex/skills , and in our test also a project .codex/skills , which the docs do not list; do not build on that. Two skills with the same name are not merged, and both can appear. And unlike AGENTS.md , skills still load in a project marked untrusted tested , which does not hold for AGENTS.md https://gethrbr.com/blog/why-codex-ignores-agents-md . How do you write a SKILL.md for Codex? A skill that adds a payments webhook handler: .agents/skills/add-webhook-handler/ ├── SKILL.md └── scripts/ └── scaffold.sh --- name: add-webhook-handler description: Scaffold a payments webhook handler with its job and test. Use when asked to handle a new webhook event. --- 1. Run scripts/scaffold.sh