Skip to content
Skill Authoring
Skill

/openai-docs-skill

Query the OpenAI developer documentation via the OpenAI Docs MCP server using CLI (curl/jq). Use whenever a task involves the OpenAI API (Responses, Chat Completions, Realtime, etc.), OpenAI SDKs, ChatGPT Apps SDK, Codex, MCP integrations, endpoint schemas, parameters, limits,

From plugin
codex-skills
1k22 skills

Claude Code

$ npx -y skills add am-will/codex-skills --skill openai-docs-skill --agent claude-code

SKILL.md

openai-docs-skill.SKILL.md
name: openai-docs-skill
description: Query the OpenAI developer documentation via the OpenAI Docs MCP server using CLI (curl/jq). Use whenever a task involves the OpenAI API (Responses, Chat Completions, Realtime, etc.), OpenAI SDKs, ChatGPT Apps SDK, Codex, MCP integrations, endpoint schemas, parameters, limits, or migrations and you need up-to-date official guidance.

OpenAI Docs MCP Skill

Overview

Use the OpenAI developer documentation MCP server from the shell to search and fetch authoritative docs. Always do this for OpenAI platform work instead of relying on memory or non-official sources.

Core rules

  • Always use this skill for OpenAI API/SDK/Apps/Codex questions or when precise, current docs are required.
  • Query the MCP server via the CLI wrapper in `scripts/openai-docs-mcp.sh` (do not rely on Codex MCP tools).
  • Use `search` or `list` to find the best doc page, then `fetch` the page (or anchor) for exact text.
  • Surface the doc URL you used in your response so sources are clear.

Quick start

scripts/openai-docs-mcp.sh search "Responses API" 5
scripts/openai-docs-mcp.sh fetch https://platform.openai.com/docs/guides/migrate-to-responses

Workflow

1. Discover: `search` with a focused query. If unsure, use `list` to browse. 2. Read: `fetch` the most relevant URL (optionally add an anchor). 3. Apply: summarize and/or quote relevant sections; include the URL.

Script reference

The CLI wrapper is at `scripts/openai-docs-mcp.sh` and uses `curl` + `jq` against `https://developers.openai.com/mcp`.

Subcommands:

  • `init`: initialize and inspect server capabilities.
  • `tools`: list available tools on the MCP server.
  • `search <query> [limit] [cursor]`: return JSON hits from the docs index.
  • `list [limit] [cursor]`: browse docs index.
  • `fetch <url> [anchor]`: return markdown for a doc page or section.
  • `endpoints`: list OpenAPI endpoints.
  • `openapi <endpoint-url> [lang1,lang2] [code-only]`: fetch OpenAPI schema or code samples.

Environment:

  • `MCP_URL`: override the default MCP endpoint.
Read more
@am-will
Ships withcodex-skills

A collection of Codex/agent skills for planning, documentation access, frontend development, and browser automation.

Stars on GitHub

Momentum

stars in total
1.0k
Star history of am-will/codex-skills on GitHub, a chart by star-history.com

Other skills on codex-skills.

agent-browser

agent-browser

A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and…

create-hook

create-hook

Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook…

frontend-design

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web…

gemini-computer-use

gemini-computer-use

Build and run Gemini 2.5 Computer Use browser-control agents with Playwright. Use when a user wants to automate web browser tasks…

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-re…

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or…

gstack2w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

@titanwings@titanwingsInstall Skill

Questions about openai-docs-skill.

Which coding agents can use openai-docs-skill?
openai-docs-skill installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.