# Openai Docs

> Find current official OpenAI guidance for Codex, APIs, models, prompting, or migrations. Preserve a named target model and cite fetched documentation.

- Skill: `seaworld008/openai-docs-2` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add seaworld008/openai-docs-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/seaworld008/openai-docs-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: seaworld008 (https://skillmd.com/u/seaworld008)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/seaworld008/openai-docs-2

---


# OpenAI Docs

Provide authoritative, current guidance from OpenAI developer docs. Prefer the
official documentation connector exposed by the current client. If no such
connector is available or it returns no meaningful results, fall back to web
search restricted to official OpenAI domains.

## When to Use

Use this skill when the user asks about:

- OpenAI APIs or SDKs
- model capabilities, limits, or migration guidance
- Codex, Responses API, Chat Completions, Realtime, Agents SDK, or Apps SDK
- official OpenAI setup instructions where current docs matter

Do not use this skill when:

- the task is general coding help with no OpenAI product dependency
- the user only wants speculative comparison without needing official guidance

## Usage

Preferred flow:

```text
search official docs
-> fetch exact page or section
-> answer with citation
-> only fall back to official-domain web search if MCP docs fail
```

## Quick start

- Use the connector's documentation search operation to find relevant pages.
- Use its page-fetch operation to retrieve exact sections for accurate
  paraphrases and citations.
- Use its browse/list operation only when no precise query is available.

## Named Model and Instruction Audits

Preserve an explicitly named model, including GPT-6 Astra; do not substitute a
different model or infer availability from the repository's examples.
Search the exact model and topic, then fetch the relevant official page before
changing model-specific guidance. Use `developers.openai.com`,
`platform.openai.com`, and `learn.chatgpt.com` for current OpenAI documentation.

For a prompt, AGENTS.md, or skill audit, identify the actual behavior problem:
unnecessary approval pauses, overbroad skill triggers, contradictory authority,
excessive context loading, or verification that repeats without new evidence.
Simplify the instruction causing that problem while retaining task acceptance
criteria, user-owned data protections, and host permission boundaries.

Use the [GPT-6 Astra model guide](https://developers.openai.com/api/docs/guides/latest-model?model=gpt-6-astra)
for Astra-specific behavior, and [Build skills](https://learn.chatgpt.com/docs/build-skills)
for skill discovery and progressive disclosure. Recheck these sources when used.
Treat concise prompts and risk-based verification as design choices to evaluate;
static lint does not establish improved latency, cost, or task success.

Example:

```text
1. Search docs for "Responses API tool calling"
2. Fetch the best page
3. Cite the fetched URL in the answer
4. If needed, fetch a narrower anchor section
```

## 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 the documentation connector is missing

Continue with official-domain web search unless the user explicitly asks to
install or configure a connector. Do not invent connector-specific operation
names or pause an otherwise answerable documentation task for installation.

## 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 the available official docs connector before web search for
  OpenAI-related questions.
- If the connector returns no meaningful results, 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.

## Common Pitfalls

- answering from memory when the docs should be checked
- mixing official guidance with uncited third-party blog claims
- using broad web search before trying the docs MCP tools
- giving model or feature guidance without current source attribution

