Software DevelopmentOfficial · openai

Openai Docs skill for Claude

The openai docs skill by openai: Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; use OpenAI docs MCP tools for non-Codex docs questions, use the Codex manual helper first for broad Codex self-knowledge, and restrict fallback browsing to official OpenAI domains.

Openai Docs SKILL.md

A preview of the skill file from openai/skills.

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.

Workflow Configuration

Source Priority

  • For Codex self-knowledge, use the Codex source route below; it owns when to use the manual helper, Docs MCP, or bounded uncertainty.
  • For non-Codex OpenAI docs questions, use mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages.
  • For non-Codex OpenAI docs questions, fetch the relevant page with mcp__openaiDeveloperDocs__fetch_openai_doc before answering. If search is noisy, run a narrower Docs MCP search; when any plausible official OpenAI docs URL is known or found, try fetching that URL through Docs MCP before relying on web-search content.
  • For API reference, schema, parameter, or required-field questions, use mcp__openaiDeveloperDocs__get_openapi_spec when available to verify the API shape alongside the relevant guide or reference page.
  • Use mcp__openaiDeveloperDocs__list_openai_docs only when you need to browse or discover non-Codex pages without a clear query.
  • For model-selection, "latest model", or default-model questions, fetch https://developers.openai.com/api/docs/guides/latest-model.md first. If that is unavailable, load references/latest-model.md.
  • For model upgrades or prompt upgrades, run node scripts/resolve-latest-model-info.js only when the target is latest/current/default or otherwise unspecified; otherwise preserve the explicitly requested target.
  • Preserve explicit target requests: if the user names a target model like "migrate to GPT-5.4", keep that requested target even if latest-model.md names a newer model. Mention newer guidance only as optional.
  • If current remote guidance is needed, fetch both the returned migration and prompting guide URLs directly. If direct fetch fails, use MCP/search fallback; if that also fails, use bundled fallback references and disclose the fallback.

OpenAI product snapshots

Read the full SKILL.md on GitHub →

How to install the openai docs skill

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit openai/skills/skills/.system/openai-docs#main ~/.claude/skills/openai-docs

Codex

npx degit openai/skills/skills/.system/openai-docs#main ~/.codex/skills/openai-docs

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What is the openai docs skill?

Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; use OpenAI docs MCP tools for non-Codex docs questions, use the Codex manual helper first for broad Codex self-knowledge, and restrict fallback browsing to official OpenAI domains.

+How do I install Openai Docs in Claude Code?

Copy the skill folder into ~/.claude/skills/openai-docs, for example with "npx degit openai/skills/skills/.system/openai-docs#main ~/.claude/skills/openai-docs". Claude Code loads it automatically and uses it when a task matches.

+Does Openai Docs work with ChatGPT or Codex?

Yes. Openai Docs uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/openai-docs. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Openai Docs free?

Openai Docs is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Release

    Fully automate a release with version-bump and childhood.

    thedotmack/claude-mem★ 118k
  5. Onboarding

    When the user wants better onboarding and activation, or asks why new users don't stick or what the first session should do: first-run…

    coreyhaines31/marketingskills★ 61k
  6. Google Workspace Cli

    Use for Google Workspace admin or automation from the gws CLI (Gmail, Drive, Sheets, Calendar, Docs, Chat, Tasks).

    alirezarezvani/claude-skills★ 30k
  7. Monetize

    Use when someone asks how to earn more from their own experience: side income, side hustle, monetizing a skill, salary ceiling, career…

    alirezarezvani/claude-skills★ 30k
  8. Improve Codebase Architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    mattpocock/skills★ 327k
  9. To Tickets

    Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the…

    mattpocock/skills★ 327k

See all software development skills →

More skills from openai

  1. Playwright Interactive

    Official

    Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.

    openai/skills★ 29k
  2. Chatgpt Apps

    Official

    Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI.

    openai/skills★ 29k
  3. Figma Create Design System Rules

    Official

    Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my…

    openai/skills★ 29k

All skills by openai →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.