AI SummaryProvides developers with authoritative, up-to-date OpenAI API documentation and guidance by prioritizing official MCP tools for questions about building with OpenAI products. Ideal for developers integrating OpenAI APIs who need reliable, cited references.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "openai-docs" skill in my project. Please run this command in my terminal: # Install skill into your project (8 files) mkdir -p .claude/skills/openai-docs && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/SKILL.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/LICENSE.txt "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/LICENSE.txt" && mkdir -p .claude/skills/openai-docs/agents && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/agents/openai.yaml "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/agents/openai.yaml" && mkdir -p .claude/skills/openai-docs/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/assets/openai-small.svg "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/assets/openai-small.svg" && mkdir -p .claude/skills/openai-docs/assets && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/assets/openai.png "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/assets/openai.png" && mkdir -p .claude/skills/openai-docs/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/references/gpt-5p4-prompting-guide.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/references/gpt-5p4-prompting-guide.md" && mkdir -p .claude/skills/openai-docs/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/references/latest-model.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/references/latest-model.md" && mkdir -p .claude/skills/openai-docs/references && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/openai-docs/references/upgrading-to-gpt-5p4.md "https://raw.githubusercontent.com/openai/skills/main/skills/.curated/openai-docs/references/upgrading-to-gpt-5p4.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or explicit GPT-5.4 upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any fallback browsing to official OpenAI domains.
OpenAI Docs
Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. Always prioritize the developer docs MCP tools over web.run for OpenAI-related questions. This skill may also load targeted files from references/ for model-selection and GPT-5.4-specific requests, but current OpenAI docs remain authoritative. Only if the MCP server is installed and returns no meaningful results should you fall back to web search.
Quick start
• Use mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages. • Use mcp__openaiDeveloperDocs__fetch_openai_doc to pull exact sections and quote/paraphrase accurately. • Use mcp__openaiDeveloperDocs__list_openai_docs only when you need to browse or discover pages without a clear query. • Load only the relevant file from references/ when the question is about model selection or a GPT-5.4 upgrade.
OpenAI product snapshots
• Apps SDK: Build ChatGPT apps by providing a web component UI and an MCP server that exposes your app's tools to ChatGPT. • Responses API: A unified endpoint designed for stateful, multimodal, tool-using interactions in agentic workflows. • Chat Completions API: Generate a model response from a list of messages comprising a conversation. • Codex: OpenAI's coding agent for software development that can write, understand, review, and debug code. • gpt-oss: Open-weight OpenAI reasoning models (gpt-oss-120b and gpt-oss-20b) released under the Apache 2.0 license. • Realtime API: Build low-latency, multimodal experiences including natural speech-to-speech conversations. • Agents SDK: A toolkit for building agentic apps where a model can use tools and context, hand off to other agents, stream partial results, and keep a full trace.
If MCP server is missing
If MCP tools fail or no OpenAI docs resources are available: • Run the install command yourself: codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp • If it fails due to permissions/sandboxing, immediately retry the same command with escalated permissions and include a 1-sentence justification for approval. Do not ask the user to run it yet. • Only if the escalated attempt fails, ask the user to run the install command. • Ask the user to restart Codex. • Re-run the doc search/fetch after restart.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster