OpenAI Docs
Provide authoritative, current guidance from OpenAI developer docs. Prefer the
official documentation connector exposed by the current client. If no such
connector is available or it returns no meaningful results, fall back to web
search restricted to official OpenAI domains.
When to Use
Use this skill when the user asks about:
- OpenAI APIs or SDKs
- model capabilities, limits, or migration guidance
- Codex, Responses API, Chat Completions, Realtime, Agents SDK, or Apps SDK
- official OpenAI setup instructions where current docs matter
Do not use this skill when:
- the task is general coding help with no OpenAI product dependency
- the user only wants speculative comparison without needing official guidance
Usage
Preferred flow:
search official docs
-> fetch exact page or section
-> answer with citation
-> only fall back to official-domain web search if MCP docs fail
Quick start
- Use the connector's documentation search operation to find relevant pages.
- Use its page-fetch operation to retrieve exact sections for accurate
paraphrases and citations.
- Use its browse/list operation only when no precise query is available.
Example:
1. Search docs for "Responses API tool calling"
2. Fetch the best page
3. Cite the fetched URL in the answer
4. If needed, fetch a narrower anchor section
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 the documentation connector is missing
Continue with official-domain web search unless the user explicitly asks to
install or configure a connector. Do not invent connector-specific operation
names or pause an otherwise answerable documentation task for installation.
Workflow
- Clarify the product scope (Codex, OpenAI API, or ChatGPT Apps SDK) and the task.
- Search docs with a precise query.
- Fetch the best page and the specific section needed (use
anchor when possible).
- Answer with concise guidance and cite the doc source.
- Provide code snippets only when the docs support them.
Quality rules
- Treat OpenAI docs as the source of truth; avoid speculation.
- Keep quotes short and within policy limits; prefer paraphrase with citations.
- If multiple pages differ, call out the difference and cite both.
- If docs do not cover the user’s need, say so and offer next steps.
Tooling notes
- Always use the available official docs connector before web search for
OpenAI-related questions.
- If the connector returns no meaningful results, use web search as a fallback.
- When falling back to web search, restrict to official OpenAI domains (developers.openai.com, platform.openai.com) and cite sources.
Common Pitfalls
- answering from memory when the docs should be checked
- mixing official guidance with uncited third-party blog claims
- using broad web search before trying the docs MCP tools
- giving model or feature guidance without current source attribution
1---2name: openai-docs3description: Use when the user asks how to build with OpenAI products or APIs and needs current official documentation with citations, including Codex, Responses API, Chat Completions, Apps SDK, Agents SDK, Realtime, model capabilities, limits, or migrations; prioritize an available official OpenAI documentation connector and restrict fallback browsing to official OpenAI domains.4---56# OpenAI Docs78Provide authoritative, current guidance from OpenAI developer docs. Prefer the9official documentation connector exposed by the current client. If no such10connector is available or it returns no meaningful results, fall back to web11search restricted to official OpenAI domains.1213## When to Use1415Use this skill when the user asks about:1617- OpenAI APIs or SDKs18- model capabilities, limits, or migration guidance19- Codex, Responses API, Chat Completions, Realtime, Agents SDK, or Apps SDK20- official OpenAI setup instructions where current docs matter2122Do not use this skill when:2324- the task is general coding help with no OpenAI product dependency25- the user only wants speculative comparison without needing official guidance2627## Usage2829Preferred flow:3031```text32search official docs33-> fetch exact page or section34-> answer with citation35-> only fall back to official-domain web search if MCP docs fail36```3738## Quick start3940- Use the connector's documentation search operation to find relevant pages.41- Use its page-fetch operation to retrieve exact sections for accurate42 paraphrases and citations.43- Use its browse/list operation only when no precise query is available.4445Example:4647```text481. Search docs for "Responses API tool calling"492. Fetch the best page503. Cite the fetched URL in the answer514. If needed, fetch a narrower anchor section52```5354## OpenAI product snapshots55561. Apps SDK: Build ChatGPT apps by providing a web component UI and an MCP server that exposes your app's tools to ChatGPT.572. Responses API: A unified endpoint designed for stateful, multimodal, tool-using interactions in agentic workflows.583. Chat Completions API: Generate a model response from a list of messages comprising a conversation.594. Codex: OpenAI's coding agent for software development that can write, understand, review, and debug code.605. gpt-oss: Open-weight OpenAI reasoning models (gpt-oss-120b and gpt-oss-20b) released under the Apache 2.0 license.616. Realtime API: Build low-latency, multimodal experiences including natural speech-to-speech conversations.627. 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.6364## If the documentation connector is missing6566Continue with official-domain web search unless the user explicitly asks to67install or configure a connector. Do not invent connector-specific operation68names or pause an otherwise answerable documentation task for installation.6970## Workflow71721. Clarify the product scope (Codex, OpenAI API, or ChatGPT Apps SDK) and the task.732. Search docs with a precise query.743. Fetch the best page and the specific section needed (use `anchor` when possible).754. Answer with concise guidance and cite the doc source.765. Provide code snippets only when the docs support them.7778## Quality rules7980- Treat OpenAI docs as the source of truth; avoid speculation.81- Keep quotes short and within policy limits; prefer paraphrase with citations.82- If multiple pages differ, call out the difference and cite both.83- If docs do not cover the user’s need, say so and offer next steps.8485## Tooling notes8687- Always use the available official docs connector before web search for88 OpenAI-related questions.89- If the connector returns no meaningful results, use web search as a fallback.90- When falling back to web search, restrict to official OpenAI domains (developers.openai.com, platform.openai.com) and cite sources.9192## Common Pitfalls9394- answering from memory when the docs should be checked95- mixing official guidance with uncited third-party blog claims96- using broad web search before trying the docs MCP tools97- giving model or feature guidance without current source attribution