openai-docs

openai-docs is a skill for Codex from MikeManifold/codex-unified. It costs 105 tokens per session (4,698 once invoked), scanned A, a copy of openai-docs, Apache-2.0.

A guide for finding current, official documentation about OpenAI products, APIs, Codex, and model choices. It covers both general guidance and detailed API reference information.

In plain words
What is it for?
Checking API parameters and schemas, choosing or migrating models, improving prompts, configuring API-backed tools, and explaining Codex or OpenAI products.
Why use it?
It helps answer product and API questions using up-to-date OpenAI sources instead of relying on possibly outdated knowledge.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

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.

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

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/mikemanifold/codex-unified/openai-docs.svg)](https://agentmods.dev/skills/mikemanifold/codex-unified/openai-docs)
Your own site
<a href="https://agentmods.dev/skills/mikemanifold/codex-unified/openai-docs"><img src="https://agentmods.dev/badge/skills/mikemanifold/codex-unified/openai-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00105 $0.04698
Opus 5 $0.00053 $0.02349
Sonnet 5 $0.00021 $0.00940
Haiku 4.5 $0.00011 $0.00470

Measured 6d ago against content hash 9914a79e6e1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

openai-docs scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

4. Run the helper directly unless you need to override the cache dir. The helper falls back to `curl` when native `fetch` is unavailable or when proxy env vars are present, so no shell-specific proxy prefix is required.
Origin

This is a copy

100% identical to openai-docs — 366 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

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

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAI Docs

Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. "Docs MCP" means mcp__openaiDeveloperDocs__search_openai_docs and mcp__openaiDeveloperDocs__fetch_openai_doc; for API reference, schema, parameter, or required-field questions, also use mcp__openaiDeveloperDocs__get_openapi_spec when available. Official-domain web search is fallback after those tools are unavailable or unhelpful. Broad Codex questions use the manual helper before Docs MCP. This skill also owns model selection, API model migration, and prompt-upgrade guidance.

API Key Setup

For requests to build, run, configure, debug, or implement an API-backed app, script, CLI, generator, or tool, use openai-platform-api-key first when available. After that credential gate is resolved, return here for current docs as needed.

Use this skill directly for docs-only questions, citations, model/API guidance, conceptual explanations, and examples that do not require building or running an API-backed artifact.

For latest/current/default/unspecified model migration or prompting-guidance requests, complete the read-only latest-model resolver and guide fetch before the API-key credential gate. The credential gate still blocks edits, tests, and API-backed implementation until resolved; it does not block read-only retrieval of current model, migration, or prompting guidance.

First action for latest-model changes

Before reading memory, inspecting the repo, fetching docs, or checking API credentials, classify the request:

  • Latest/current prompting guidance, or change requested + latest/current/newest/recommended/default/flagship/unspecified target: immediately run the resolver with the platform-specific command below and inspect its JSON output. This includes asking how to prompt the latest model, changing prompts, a model picker, model references, an SDK integration, replacing an older named model with "the current model", or asking "which model should I migrate/upgrade to?". Do not directly fetch latest-model.md for this branch.
  • Pure model-selection question only, with no prompting guidance or requested change: directly fetch https://developers.openai.com/api/docs/guides/latest-model.md; do not run the resolver.
  • Change requested + explicit target model: preserve that target; do not run the latest-model resolver. For an explicit GPT-5.6 Sol or GPT-5.6-family migration, fetch the live GPT-5.6 model-guidance page and read references/upgrading-to-gpt-5p6-sol.md for skill-specific migration judgment.
  • Prompting or migration guidance for an explicitly named GPT-5-family model: fetch https://developers.openai.com/api/docs/guides/model-guidance?model=<requested-model> through Docs MCP and extract the relevant migration section or the ## Prompting Best Practices section through the next H2 heading. Do not substitute latest-model guidance.

Read the full file on GitHub · 184 lines

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. 6d ago First seen · 184 lines · 105 tokens per session scan A 9914a79e6e1b

Subscribe to this mod's changes

openai-docs is a skill published in the GitHub repository MikeManifold/codex-unified (2 stars, last pushed 16d ago), licensed Apache-2.0. It adds 105 tokens to every session and 4,698 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to openai-docs, differing in 366 lines, and is treated as a copy.

Related

Other skills, from other repositories

skill-creator

Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.

zhayujie/CowAgent · 61 tokens

image-generation

Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.

zhayujie/CowAgent · 41 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

prompt-optimization

Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…

langwatch/langwatch · 105 tokens

debug-with-langwatch

Root-cause production errors and misbehaving agent runs with LangWatch. Finds errored traces, inspects spans, checks monitor and evaluator scores, then narrows to a root cause. Use when something is failing or misbehaving in production (errors, bad answers, latency spikes).

langwatch/langwatch · 63 tokens

eval-triage

Investigate failing experiments and evaluations with LangWatch. Triage a failing experiment run to the exact rows and evaluator scores that regressed, then to a root cause. Use when an experiment fails, scores drop, or evaluations regress.

langwatch/langwatch · 51 tokens