Codex is a coding agent from OpenAI that runs locally in a computer terminal and helps users work with code. It is used by developers from the command line, with related integrations available for code editors and the desktop experience; the catalogue’s add-ons extend its workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add openai/codex --skill openai-docsgit clone --depth 1 https://github.com/openai/codexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/openai/codex/openai-docs)<a href="https://agentmods.dev/skills/openai/codex/openai-docs"><img src="https://agentmods.dev/badge/skills/openai/codex/openai-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/openai/codex/openai-docs"><img src="https://agentmods.dev/badge/skills/openai/codex/openai-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00131 | $0.00656 |
| Opus 5.5 | $0.00052 | $0.00262 |
| Sonnet 5.5 | $0.00026 | $0.00131 |
| Haiku 4.5 | $0.00013 | $0.00066 |
Grade A, and why
openai-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
7 near-identical copies found in the catalogue:
- openai-docs — 100% identical, 38 lines differ
- openai-docs — 100% identical, 38 lines differ
- openai-docs — 100% identical, 38 lines differ
- openai-docs — 100% identical, 4 lines differ
- openai-docs — 100% identical, 38 lines differ
- openai-docs — 100% identical, 0 lines differ
- openai-docs — 94% identical, 38 lines differ
What it actually says
Codex and ChatGPT Work
Use this skill for Codex and ChatGPT Work capabilities and behavior, first OpenAI API integrations, and OpenAI API model migrations when the user explicitly invokes $openai-docs. For other requests, continue with the user's task and consult the relevant official documentation when needed.
Identify the product and surface the user means. If they ask what you can do in this chat, check the tools and settings available here before making a claim about their access.
For broad questions about Codex setup or team customization, first read Codex self-knowledge for guidance on choosing and combining configuration options.
For other questions about product behavior, look up the current Codex guide at developers.openai.com/codex or the ChatGPT Work guide at learn.chatgpt.com. Open the page for the surface the user is asking about.
For a recent change, or when a source explains only the underlying mechanism, find the feature by name in the ChatGPT and Codex changelog. Use the entry for the relevant surface and version. For Codex client behavior, follow the linked change or tests to verify what the client actually does. Cite what establishes the answer and say which details remain uncertain.
For model choices in onboarding examples, follow model selection.
For a first OpenAI API integration, start with the developer quickstart and follow the guide for the user’s task. Suggest the OpenAI Developers plugin for deeper implementation help.
When the user explicitly invokes $openai-docs for an OpenAI API model migration, use the official migration guide for the requested target. For GPT-6.2 Astra or GPT-6.2 Sol, use the GPT-6.2 migration quickstart, which covers both models. For example, $openai-docs migrate this project to GPT-6.2 Astra targets gpt-6.2-astra. For other GPT-6 models, start with the migration quickstart. Inspect the existing request and prompt, verify compatibility for changed parameters, and preserve supported behavior and the user's chosen target model.
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 361 B
- assets/openai-small.svg 1.1 KB
- assets/openai.png 1.4 KB
- LICENSE.txt 11 KB
- references/codex-self-knowledge.md 7.2 KB
- references/latest-model.md 1.5 KB
- references/mcp-diagnostics.md 2.3 KB
- references/model-migration.md 6.1 KB
- references/model-selection.md 1.3 KB
- references/official-docs.md 3.3 KB
- references/prompting-guide.md 9.9 KB
- references/upgrade-guide.md 1.8 KB
- references/upgrading-to-gpt-6-astra.md 19 KB
- scripts/fetch-codex-manual.mjs 15 KB runs code
- scripts/resolve-latest-model-info 1.0 KB
- scripts/resolve-latest-model-info.cjs 3.8 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed · +2 lines 7dcd7d5ea281
- 23d ago Changed · -18 lines · +18 tokens per session 208bb19dcdfa
- 2mo ago Changed aa6829e21df2
- 3mo ago First seen · 39 lines · 113 tokens per session scan A 7cb8fa1b2a0c
openai-docs is a skill published in the GitHub repository openai/codex (136,796 stars, last pushed today), licensed Apache-2.0. It adds 131 tokens to every session and 656 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
openai-docs compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openai-docsopenai/codex | Skill | 137k | today | Apache-2.0 | A | 131 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |
| accessibilitymicrosoft/vscode | Skill | 196k | today | MIT | A | 54 | Claude Code, Codex |