# Openai Docs

Use when the user asks how to build with OpenAI products or APIs, asks about Codex...

- Repository: https://github.com/openai/skills (28445 stars)
- Category: AI and agents
- License: see repository
- Last updated: 2026-10-28
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add openai/skills --skill openai-docs -g -a claude-code -y`
Codex: `npx skills add openai/skills --skill openai-docs -g -a codex -y`
Cursor: `npx skills add openai/skills --skill openai-docs -g -a cursor -y`
Gemini CLI: `npx skills add openai/skills --skill openai-docs -g -a gemini-cli -y`

## Description

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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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

## Workflow Configuration

### Source Priority

The rest: https://github.com/openai/skills/blob/HEAD/skills/.curated/openai-docs/SKILL.md
