openai-docs
Installation
SKILL.md
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
- 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_docsto find the most relevant doc pages. - For non-Codex OpenAI docs questions, fetch the relevant page with
mcp__openaiDeveloperDocs__fetch_openai_docbefore 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_specwhen available to verify the API shape alongside the relevant guide or reference page. - Use
mcp__openaiDeveloperDocs__list_openai_docsonly 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.mdfirst. If that is unavailable, loadreferences/latest-model.md. - For model upgrades or prompt upgrades, run
node scripts/resolve-latest-model-info.jsonly 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.mdnames 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.