How Codex finds and reads skills
Where Codex looks for SKILL.md files, the frontmatter it reads, and how the indexed skills do on the rules built from its docs.
Where Codex looks for skills
From the Codex docs: Build skills, as of 2026-11-26. See what changed in these docs.
| Folder | Loads in |
|---|---|
$CWD/.agents/skills | Repository: the folder where you launch Codex |
$REPO_ROOT/.agents/skills | Repository: the root, for every subfolder |
$HOME/.agents/skills | User: every repository you work in |
/etc/codex/skills | Admin: every user on the machine |
Monorepos. Codex scans .agents/skills in every folder from where you launch it up to the repository root.
What Codex reads, and when
Skills load in three steps, so a skill costs little until it runs. From the Codex docs: Build skills, as of 2026-11-26; token counts are medians across the index.
1 · listing
name and description
Codex keeps these in context for every installed skill, so it can tell which one fits the task.
~68 tokens per skill
2 · SKILL.md body
the instructions
Loaded only when the skill is picked, or called by name.
~1,651 tokens
3 · bundled files
references/, scripts/, assets/
Read only when the body points to them, so a skill can carry long references at little cost.
55% of skills have them
Frontmatter fields Codex reads
| Field | What it does |
|---|---|
namerequired | The skill's name. |
descriptionrequired | Codex starts with the name and description and loads the rest when it picks the skill. |
- Call it by name. Type
$skill-name. Codex also picks a skill on its own when your prompt matches it. - Keep it manual. Add
agents/openai.yamlwithpolicy.allow_implicit_invocation: false. It is not aSKILL.mdfield. - Description length. The list of skills Codex starts with uses 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.
Lines from the Codex docs the validator checks against
4 lines, quoted word for word and re-checked every week.
"TheSKILL.mdfile must includenameanddescription."
"Write imperative steps with explicit inputs and outputs."
"Because implicit matching depends on description, write concise descriptions with clear scope and boundaries. Front-load the key use case and trigger words so a host can still match the skill if descriptions are shortened.""allow_implicit_invocation(default:true): Whenfalse, Codex won't implicitly invoke the skill based on user prompt; explicit$skillinvocation still works."
How the indexed skills do on Codex's rules
3,185 of 4,462 scored skills pass all 5 rules based on the Codex docs.
- TipBody gives numbered steps1,055 skills fail
- TipDescription says when to use it early181 skills fail
- TipSkills with side effects wait to be asked44 skills fail
- ErrorHas a description25 skills fail
- ErrorHas a name23 skills fail
Most installed skills, with the Codex command
Browse all 4,462 skillsnpx skills add <owner/repo> --skill <name> -a codexThe skills CLI copies a skill into .agents/skills/, or ~/.agents/skills/ with -g. Agent ids and paths come from the skills CLI docs.
find-skills
A·100vercel-labs/skills · official
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
npx skills add vercel-labs/skills --skill find-skills -a codex4.6M
agent-browser
A·96vercel-labs/agent-browser · official
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
npx skills add vercel-labs/agent-browser --skill agent-browser -a codex1.7M
hyperframes-cli
C·78heygen-com/hyperframes · official
HyperFrames CLI - scaffold, check frames, edit timelines, preview, render, share and project history; read JSON and recover from failures.
npx skills add heygen-com/hyperframes --skill hyperframes-cli -a codex1.7M
hyperframes
B·88heygen-com/hyperframes · official
Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.
npx skills add heygen-com/hyperframes --skill hyperframes -a codex1.7M
grill-me
B·82mattpocock/skills
A relentless interview to sharpen a plan or design.
npx skills add mattpocock/skills --skill grill-me -a codex1.6M
media-use
C·78heygen-com/hyperframes · official
Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
npx skills add heygen-com/hyperframes --skill media-use -a codex1.6M
heygen-com/hyperframes · official
About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.
npx skills add heygen-com/hyperframes --skill hyperframes-registry -a codex1.5M
grill-with-docs
A·90mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
npx skills add mattpocock/skills --skill grill-with-docs -a codex1.4M
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
npx skills add mattpocock/skills --skill improve-codebase-architecture -a codex1.3M
tdd
A·96mattpocock/skills
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
npx skills add mattpocock/skills --skill tdd -a codex1.3M
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
npx skills add mattpocock/skills --skill setup-matt-pocock-skills -a codex1.2M
handoff
A·90mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
npx skills add mattpocock/skills --skill handoff -a codex1.2M