| name | openai-docs |
| description | Access OpenAI developer documentation via Context7 MCP. Provides up-to-date docs for Codex CLI, OpenAI API, Python/Node SDKs, Agents SDK, and MCP configuration. Use when: (1) configuring Codex CLI or MCP servers, (2) writing OpenAI API integrations, (3) building agents with OpenAI SDKs, (4) troubleshooting Codex execution. Triggers: 'openai docs', 'codex documentation', 'openai api reference', 'codex mcp', 'agents sdk'. |
OpenAI Documentation Access Skill
v2.88 Key Changes (MODEL-AGNOSTIC)
- Model-agnostic: Uses model configured in
~/.claude/settings.json or CLI/env vars
- No flags required: Works with the configured default model
- Flexible: Works with GLM-5, Claude, Minimax, or any configured model
- Settings-driven: Model selection via
ANTHROPIC_DEFAULT_*_MODEL env vars
ultrathink - Take a deep breath. We're not here to write code. We're here to make a dent in the universe.
The Vision
Documentation lookups should feel inevitable and authoritative.
Your Work, Step by Step
- Identify target: Pick the right library and query.
- Resolve ID: Use Context7 to get exact docs.
- Query precisely: Ask for focused, answerable snippets.
- Apply results: Convert docs into actionable guidance.
Ultrathink Principles in Practice
- Think Different: Seek the most direct source of truth.
- Obsess Over Details: Use exact IDs and query wording.
- Plan Like Da Vinci: Decide the lookup path before querying.
- Craft, Don't Code: Keep results concise and relevant.
- Iterate Relentlessly: Re-query when ambiguity remains.
- Simplify Ruthlessly: Avoid unnecessary sources.
OpenAI Documentation Access Skill
Access OpenAI's complete developer documentation through Context7 MCP integration.
Quick Start
mcp__context7__query-docs:
libraryId: "/websites/developers_openai_codex"
query: "your question about Codex CLI"
mcp__context7__query-docs:
libraryId: "/websites/platform_openai"
query: "your question about OpenAI API"
Available Documentation Libraries
| Library ID | Content | Snippets | Score |
|---|
/websites/developers_openai_codex | Codex CLI docs | 614 | 75.8 |
/websites/platform_openai | OpenAI API docs | 9,418 | 69.1 |
/openai/openai-python | Python SDK | 429 | 90.7 |
/openai/openai-node | Node.js SDK | 437 | 87.9 |
/openai/codex | Codex core | 491 | 62.1 |
/openai/codex-action | GitHub Action | 36 | 78.8 |
Common Queries
Codex CLI Configuration
query-docs:
libraryId: "/websites/developers_openai_codex"
query: "MCP server configuration config.toml remote URL authentication"
query-docs:
libraryId: "/websites/developers_openai_codex"
query: "sandbox modes read-only workspace-write danger-full-access"
query-docs:
libraryId: "/websites/developers_openai_codex"
query: "exec resume session parallel execution workflow"
OpenAI API Integration
query-docs:
libraryId: "/websites/platform_openai"
query: "chat completions API streaming function calling"
query-docs:
libraryId: "/websites/platform_openai"
query: "embeddings API text-embedding-3 vector dimensions"
query-docs:
libraryId: "/websites/platform_openai"
query: "assistants API threads messages runs tools"
SDK Usage
query-docs:
libraryId: "/openai/openai-python"
query: "async client streaming completions error handling"
query-docs:
libraryId: "/openai/openai-node"
query: "TypeScript types streaming response handling"
MCP Configuration Reference
Context7 (Already Configured)
[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp@latest"]
Remote MCP Servers
[mcp_servers.example]
url = "https://example.com/mcp"
bearer_token_env_var = "EXAMPLE_TOKEN"
http_headers = { "X-Custom-Header" = "value" }
STDIO Servers
[mcp_servers.local]
command = "npx"
args = ["-y", "@package/mcp-server"]
[mcp_servers.local.env]
API_KEY = "your-key"
Integration with Codex CLI Skill
This skill complements /codex-cli by providing documentation lookup:
- Before execution: Query docs for correct flags/options
- On error: Look up error codes and solutions
- Configuration: Find correct config.toml syntax
Workflow Example
codex exec -m gpt-5.2-codex --full-auto "task"
Claude-Codex Documentation Bridge
When Claude needs OpenAI documentation:
- Use Context7 MCP (already available in both Claude and Codex)
- Query appropriate library based on topic
- Apply findings to implementation
This eliminates the need for a separate "openaiDevelopers" MCP - Context7 provides all OpenAI documentation with 614+ Codex CLI snippets and 9,400+ API snippets.
See Also
/codex-cli - Codex CLI orchestration skill
/library-docs - General library documentation via Context7
~/.codex/config.toml - MCP server configuration