openai-docs

openai-docs is a skill for Codex from openai/codex. It costs 131 tokens per session (656 once invoked), scanned A, original, Apache-2.0.

A skill for answering questions about OpenAI products, APIs, models, pricing, and Codex using current official documentation. It is intended for topics such as setup, settings, prompting, SDKs, and troubleshooting.

In plain words
What is it for?
Use it to look up or explain OpenAI API usage, model choices, Codex skills and settings, scheduled tasks, agents, Realtime, and related product workflows.
Why use it?
It helps avoid relying on outdated information about products and services that change over time. It also provides cited guidance from official OpenAI sources.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it to look up or explain OpenAI API usage, model choices, Codex skills and settings, scheduled tasks, agents, Realtime, and related product workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openai/codex/openai-docs
View source ↗ openai/codex
About the project

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.

openai/codex · 136,796 stars · on GitHub

Install

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.

Any agent
npx skills add openai/codex --skill openai-docs
Clone the repo
git clone --depth 1 https://github.com/openai/codex

Made for: Codex.

Wrote 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.

agentmods badge for openai-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/openai/codex/openai-docs/github.svg)](https://agentmods.dev/skills/openai/codex/openai-docs)
Your own site
<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.

agentmods 80×15 button for openai-docs

Your own site · 80×15
<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>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 10d ago against content hash 7dcd7d5ea281, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/fetch-codex-manual.mjs, scripts/resolve-latest-model-info.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

7 near-identical copies found in the catalogue:

codex-rs/skills/src/assets/samples/openai-docs/SKILL.md · 23 lines

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.

Changes

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.

  1. 10d ago Changed · +2 lines 7dcd7d5ea281
  2. 23d ago Changed · -18 lines · +18 tokens per session 208bb19dcdfa
  3. 2mo ago Changed aa6829e21df2
  4. 3mo ago First seen · 39 lines · 113 tokens per session scan A 7cb8fa1b2a0c

Subscribe to this mod's changes

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.

Related

openai-docs compared with skills from other repositories

openai-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openai-docsopenai/codexSkill137ktodayApache-2.0A131Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code
accessibilitymicrosoft/vscodeSkill196ktodayMITA54Claude Code, Codex