Agent skill

Openai Docs

by aafqaq in aafqaq/codex-lb-enhanced

A skill your agent uses 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…

Apache-2.0Auto-check passedDevOps & Cloud

Install Openai Docs

skills CLI
$ npx skills add aafqaq/codex-lb-enhanced --skill openai-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aafqaq/codex-lb-enhanced openai-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aafqaq/codex-lb-enhanced.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openai-docs .claude/skills/openai-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openai-docs
GitHub stars
102
Used in
3 other repos
Token cost
~861 tokens
SKILL.md length
451 words
Files
5 (incl. assets)
Skills in repo
4
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses 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…

  • Works in 7 steps: Apps SDK: Build ChatGPT apps by… → Responses API: A unified endpoint… → Chat Completions API: Generate a model… → …
  • The user asks how to build with OpenAI products
  • SKILL.md covers Quick start, OpenAI product snapshots, If MCP server is missing and Workflow, plus 2 more sections
  • Calls codex; reaches developers.openai.com

What it does

Openai Docs is an agent skill from aafqaq/codex-lb-enhanced. 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.

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including assets (for example `agents/openai.yaml`).

It sits in DevOps & Cloud, covering MCP servers, LLM API integration and Realtime and WebSockets. It works with OpenAI and Model Context Protocol. The repository describes itself as: Production-ready Codex-compatible account-pool gateway with seamless failover, full-session recovery, native quota headers, WebSocket/HTTP bridge, and observability. The licence is Apache-2.0.

When your agent uses it

  • The user asks how to build with OpenAI products
  • APIs and needs up-to-date official documentation with citations (for example: Codex
  • Chat Completions
  • Model capabilities

Example prompts

  • “/openai-docs”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  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…

What it can do on your machine

Read from SKILL.md and the folder at commit c0e9e18. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • developers.openai.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openai Docs loads about 861 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 451 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~861

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aafqaq/codex-lb-enhanced at commit c0e9e18, republished under its Apache-2.0 licence (© aafqaq). 451 words, ~861 tokens.

Download SKILL.mdSave it as .claude/skills/openai-docs/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
openai-docs
description
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.

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 mcp__openaiDeveloperDocs__search_openai_docs to find the most relevant doc pages.
  • Use mcp__openaiDeveloperDocs__fetch_openai_doc to pull exact sections and quote/paraphrase accurately.
  • Use mcp__openaiDeveloperDocs__list_openai_docs 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. Re-run the doc search/fetch after restart.
Show full SKILL.md (153 more words)Show less

Workflow

  1. Clarify the product scope (Codex, OpenAI API, or ChatGPT Apps SDK) and the task.
  2. Search docs with a precise query.
  3. Fetch the best page and the specific section needed (use anchor when possible).
  4. Answer with concise guidance and cite the doc source.
  5. Provide code snippets only when the docs support them.

Quality rules

  • Treat OpenAI docs as the source of truth; avoid speculation.
  • Keep quotes short and within policy limits; prefer paraphrase with citations.
  • If multiple pages differ, call out the difference and cite both.
  • If docs do not cover the user’s need, say so and offer next steps.

Tooling notes

  • Always use MCP doc tools before any web search for OpenAI-related questions.
  • If the MCP server is installed but returns no meaningful results, then use web search as a fallback.
  • When falling back to web search, restrict to official OpenAI domains (developers.openai.com, platform.openai.com) and cite sources.

© aafqaq, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (assets) in .agents/skills/openai-docs of aafqaq/codex-lb-enhanced.

  • SKILL.md
  • LICENSE.txt
  • agents/openai.yaml
  • assets/openai-small.svg
  • assets/openai.png

Open the folder on GitHubat commit c0e9e18

Used in 3 other repositories

We found 10 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in aafqaq/codex-lb-enhanced, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Openai Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openai Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openai Docs this skillaafqaq/codex-lb-enhanced1023 repos~861Automated safety check: PassApache-2.0
Openai Docslingxling/awesome-skills-cn2991 repos~4.7kAutomated safety check: PassApache-2.0
Openai DocsHaohao-end/openagent807—~1.7kAutomated safety check: PassApache-2.0
Openai Docsdelorenj/mcp-server-trello445—~5.7kAutomated safety check: PassApache-2.0
Openai Knowledgeopenai/openai-agents-python30k1 repos~408Automated safety check: PassMIT
Atomic Chat MCP Tool for NanoClawnanocoai/nanoclaw31k—~2.6kAutomated safety check: NotesMIT

Similar skills

  • Openai Docs

    lingxling/awesome-skills-cn

    A skill your agent uses when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help…

    299 GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Openai Docs

    Haohao-end/openagent

    A skill your agent uses when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or…

    807 GitHub stars~1.7k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Openai Docs

    delorenj/mcp-server-trello

    A skill your agent uses when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help…

    445 GitHub stars~5.7k tokensUpdated 14 days ago
    Agent WorkflowsAuto-check passed
  • Openai Knowledge

    openai/openai-agents-python

    Official

    Retrieve authoritative OpenAI API and platform documentation when an integration or claim needs current external evidence.

    30k GitHub starsUsed in 1 repo~408 tokens
    AI & LLM EngineeringAuto-check passed
  • Adds an MCP server to NanoClaw so its container agent can list and prompt local models served by the Atomic Chat desktop app.

    31k GitHub stars~2.6k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Installs Codex as an agent provider for NanoClaw groups, with streaming, MCP tools, server-side history and vault-only credentials, next to or instead of Claude.

    31k GitHub stars~2.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes

More from aafqaq/codex-lb-enhanced

  • Codex Review Loop

    aafqaq/codex-lb-enhanced

    Adversarial PR code review using Codex CLI. An agent skill from aafqaq/codex-lb-enhanced.

    102 GitHub stars~1.7k tokensUpdated 2 days ago
    Auto-check passed
  • Openspec Context Docs

    aafqaq/codex-lb-enhanced

    OpenSpec context documentation policy: keep requirements in spec.md and capture narrative context in context/overview/rationale docs under openspec/specs.

    102 GitHub stars~505 tokensUpdated 2 days ago
    Auto-check passed
  • Project Conventions

    aafqaq/codex-lb-enhanced

    Project code conventions reference. An agent skill from aafqaq/codex-lb-enhanced.

    102 GitHub stars~203 tokensUpdated 2 days ago
    Auto-check passed

Questions about Openai Docs

What does Openai Docs do?

A skill your agent uses 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…. Openai Docs is an agent skill from aafqaq/codex-lb-enhanced. 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.

When should I use Openai Docs?

Openai Docs fits situations like: the user asks how to build with OpenAI products; APIs and needs up-to-date official documentation with citations (for example: Codex; chat Completions; model capabilities.

How do I install Openai Docs in Claude Code?

Run `npx skills add aafqaq/codex-lb-enhanced --skill openai-docs -a claude-code`. Or copy the skill folder (.agents/skills/openai-docs in aafqaq/codex-lb-enhanced) into .claude/skills/openai-docs in your project. Claude Code loads it when a task matches its description.

How do I install Openai Docs in Codex?

Run `npx skills add aafqaq/codex-lb-enhanced --skill openai-docs -a codex`. Or copy the skill folder (.agents/skills/openai-docs in aafqaq/codex-lb-enhanced) into .agents/skills/openai-docs in your project. Codex loads it when a task matches its description.

Can I use Openai Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aafqaq/codex-lb-enhanced --skill openai-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openai-docs, .gemini/skills/openai-docs, .github/skills/openai-docs and .opencode/skills/openai-docs in your project.

What does Openai Docs need to run?

Going by SKILL.md and its folder, Openai Docs needs the command-line tools its instructions call (codex).

Does Openai Docs access the network?

SKILL.md names 1 domain. In commands or code: developers.openai.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Openai Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openai Docs use?

Openai Docs is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openai Docs use?

About 861 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openai Docs?

Skills that share tags, products or a category with Openai Docs: Openai Docs (lingxling/awesome-skills-cn, 299 stars), Openai Docs (Haohao-end/openagent, 807 stars), Openai Docs (delorenj/mcp-server-trello, 445 stars) and Openai Knowledge (openai/openai-agents-python, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openai Docs?

aafqaq (a GitHub user) maintains it in aafqaq/codex-lb-enhanced, which has 102 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: aafqaq/codex-lb-enhanced on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.