Agent skill · writing content · davila7

openai-docs

Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations (for example: Codex, Responses API, Chat Completions, Apps SDK, Agents SDK, Realtime, model capabilities or limits); prioritize OpenAI docs MCP tools and restrict any fallback browsing to official OpenAI domains.

Why this skill is useful

Provides specific commands and workflows for accessing and utilizing OpenAI documentation that the AI wouldn't reliably generate on its own.

What it needs

Requires mcp installed locally. About 2k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

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. Only if the MCP server is installed and returns no meaningful results should you fall back to web search. Quick start Use mcpopenaiDeveloperDocssearchopenaidocs to find the most relevant doc pages. Use mcpopenaiDeveloperDocsfetchopenaidoc to pull exact sections and quote/paraphrase accurately. Use mcpopenaiDeveloperDocslistopenaidocs only when you need to browse or discover pages without a clear query. OpenAI product snapshots 1. Apps SDK: Build ChatGPT apps by providing a web component UI and an MCP server that exposes your app's tools to ChatGPT. 2. Responses API: A unified endpoint designed for stateful, multimodal, tool-using interactions in agentic workflows. 3. Chat Completions API: Generate a model response from a list of messages comprising a conversation. 4. Codex: OpenAI's coding agent for software development that can write, understand, review, and debug code. 5. gpt-oss: Open-weight OpenAI reasoning models (gpt-oss-120b and gpt-oss-20b) released under the Apache 2.0 license. 6. Realtime API: Build low-latency, multimodal experiences including natural speech-to-speech conversations. 7. 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: 1. Run the install command yourself: codex mcp add openaiDeveloperDocs --url https://developers.openai.com/mcp 2. 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. 3. Only if the escalated attempt fails, ask the user to run the install command. 4. Ask the user to restart Codex. 5. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/openai-docs

View the source on GitHub

Browse the @skills marketplace