openai-docs
Skill by Haohao-end
Gives an AI assistant current guidance from official OpenAI developer docs, with citations. It also helps choose the latest model and plan model and prompt upgrades. It is for developers building with OpenAI products or APIs.
Install openai-docs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Haohao-end/openagent /tmp/openagent && mkdir -p ~/.claude/skills && cp -r /tmp/openagent/api/internal/core/skills/catalog/openai-docs ~/.claude/skills/openai-docsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Haohao-end/openagent /tmp/openagent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/openagent/api/internal/core/skills/catalog/openai-docs ~/.gemini/antigravity-cli/skills/openai-docsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The openai-docs skill gives an AI assistant current guidance from OpenAI developer documentation. It is built around the developers.openai.com MCP server and its search, fetch and list tools, and the assistant is told to use these before any web search. Answers are meant to cite the official docs.
The skill also covers model selection and API model migration. For latest, current or default model questions, it reads the latest-model guide. For upgrades, it changes active model defaults and directly related prompts only when that is safe. Bundled reference files serve as fallbacks when remote docs are unavailable. It is aimed at developers building with OpenAI products or APIs.
Written from the project's SKILL.md and checked against it.
What it can do
- mcp__openaiDeveloperDocs__search_openai_docsFinds the most relevant OpenAI developer doc pages for a query.
- mcp__openaiDeveloperDocs__fetch_openai_docPulls exact sections of an OpenAI doc page so answers can quote or paraphrase accurately.
- mcp__openaiDeveloperDocs__list_openai_docsBrowses or discovers doc pages when there is no clear search query.
- Model selection guidanceUses the latest-model guide to answer which model to use for a use case.
- Model upgrade guidanceUpdates active OpenAI API model strings and directly related prompts, keeping changes narrow.
- Prompt upgrade guidanceGives prompt-upgrade guidance, preferring prompt-only changes when possible.
- Official-domain web fallbackFalls back to web search limited to developers.openai.com and platform.openai.com if MCP returns nothing useful.
What you need
- Codex, to run the MCP install command
- OpenAI developer docs MCP server (developers.openai.com/mcp)
- Node.js, to run scripts/resolve-latest-model-info.js
Try asking
- Which OpenAI model should I use for a long-context summarization task?
- Fetch the latest-model guide and tell me the current default model.
- Help me migrate my API calls to GPT-5.4 and update the prompts.
Good to know
- Web search is only a fallback when the MCP server returns no meaningful results.
- Fallback web search is limited to official OpenAI domains.
- Model upgrades cover model strings and prompt edits only. SDK, tooling and API-surface changes are reported as blocked or needing confirmation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: api/internal/core/skills/catalog/openai-docs/SKILL.md, api/internal/core/skills/catalog/openai-docs/scripts/resolve-latest-model-info.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt11 KB -
SKILL.md7 KB -
agents/openai.yaml543 B -
assets/openai-small.svg1 KB -
assets/openai.png1 KB
Show all 8 files
-
manifest.yaml580 B -
scripts/resolve-latest-model-info.js3 KB -
skill.md6 KB
Alternatives to openai-docs
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
openai-docs: common questions
Does openai-docs search the web for OpenAI questions?
It uses the OpenAI docs MCP tools first. Web search is used only if the MCP server is installed but returns no meaningful results, and it is restricted to developers.openai.com and platform.openai.com.
Will it change my code when I upgrade models?
It makes narrow changes, such as replacing a literal model string and editing prompts. If an upgrade needs API changes, schema rewiring or tool-handler changes, the skill reports it as blocked or needing confirmation.
What happens if I name a specific model to migrate to?
The skill keeps the model you requested, even if the latest-model guide names a newer one. Newer guidance is mentioned only as optional.
How do I install openai-docs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is openai-docs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is openai-docs safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to openai-docs?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
