openai-docs

openai-docs is a skill for Codex from PracticalSwan/agent-skills. It costs 105 tokens per session (5,503 once invoked), scanned A, original, MIT.

A guide to finding and using current official documentation for OpenAI products, APIs, models, Codex, and related tools.

In plain words
What is it for?
Use it to look up API schemas, parameters, model choices, migration advice, prompting guidance, and Codex instructions.
Why use it?
It helps answer version-sensitive questions from authoritative sources when product details or model guidance may have changed.

Skill for Codex

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

Good fit Use it to look up API schemas, parameters, model choices, migration advice, prompting guidance, and Codex instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/practicalswan/agent-skills/openai-docs
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 PracticalSwan/agent-skills --skill openai-docs
Clone the repo
git clone --depth 1 https://github.com/PracticalSwan/agent-skills

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/practicalswan/agent-skills/openai-docs/github.svg)](https://agentmods.dev/skills/practicalswan/agent-skills/openai-docs)
Your own site
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/openai-docs"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/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/practicalswan/agent-skills/openai-docs"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/openai-docs.svg" alt="Reviewed on agentmods" width="80" 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 5,503 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 209
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00105 $0.05503
Opus 5 $0.00053 $0.02752
Sonnet 5 $0.00021 $0.01101
Haiku 4.5 $0.00011 $0.00550

Measured 3d ago against content hash 63ac654943d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 3d 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.
openai-docs/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 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.

Host routing

  • In Codex, use the documented OpenAI Developer Docs MCP wrappers and Codex manual helper when those capabilities are exposed.
  • In Claude Code, including sessions backed by the GLM Coding Plan endpoint, inspect the active MCP tools before naming a wrapper. Use the configured OpenAI Developer Docs MCP if present; otherwise use Claude Code web retrieval restricted to official OpenAI domains and the bundled local resolver/manual scripts where applicable.
  • A third-party Claude Code model endpoint changes the inference provider; it does not make Codex-only tools or wrapper names available.
  • In GitHub Copilot or any other host, map the workflow to the current tool list and preserve the same official-domain and citation requirements.
  • Never claim a Codex manual helper, MCP operation, or host-native docs tool ran unless the active session exposed it and the call completed.

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.

Read the full file on GitHub · 257 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. 3d ago Changed 63ac654943d3
  2. 4d ago Changed 8082d1655837
  3. 7d ago First seen · 257 lines · 105 tokens per session scan A dbcc8193c8ab

Subscribe to this mod's changes

openai-docs is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 3d ago), licensed MIT. It adds 105 tokens to every session and 5,503 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

playwright

Use when the task requires capturing or automating a real browser from the terminal.

openai/openai-agents-python · 19 tokens

agent-newbie-guide

A beginner-facing guide for turning vague ideas into clear, actionable requests for a coding agent. It keeps technical system details hidden during the conversation.

hashgraph-online/awesome-codex-plugins · 87 tokens

agent-learning-coach

A Chinese-language learning coach for programming, English, design, product work, AI, mathematics, or other skills. It first checks the learner's level, then teaches through explanations, exercises, feedback, and review.

hashgraph-online/awesome-codex-plugins · 81 tokens

agent-patterns-catalog

A reference catalogue of six common AI-agent designs, including agents that reason and act, retrieve documents, call tools, coordinate several agents, or work autonomously. It compares their structures, data flow, and suitable uses without tying them to one framework.

hashgraph-online/awesome-codex-plugins · 77 tokens

ielts-speaking-coach

Run repeatable IELTS speaking practice with ChatGPT Voice or a supported voice conversation. Use when a learner wants to import IELTS Speaking questions, choose Part 1, Part 2, Part 3, or a full mock test, create a 7-day, 14-day, or 30-day practice plan, conduct examiner-style practice, generate a fixed-format…

lindsey-labs/ielts-speaking-coach · 101 tokens

geogebra-drawing

A GeoGebra skill for creating interactive mathematical drawings and visualisations with GGBScript code.

qqqqqf-q/Arkloop · 0 tokens