---
name: "openai-docs"
description: "Use for Codex models/pricing, scheduled tasks, skills, settings, setup, troubleshooting, customization, automations, and self-knowledge—including 'you,' 'your,' 'this app,' or 'this coding agent' when they refer to Codex—and for OpenAI APIs/products and ChatGPT Work. Also use for model choice/migration, prompting, SDKs, Responses, Realtime, agents, evals, and Chat/Work/Codex comparisons. Do not use for generic app/software tasks that merely mention Codex."
metadata:
  short-description: "Codex models/pricing, scheduled tasks, skills, settings, setup, troubleshooting, and self-knowledge; OpenAI APIs and ChatGPT Work. 'You'/'this app' means Codex only."
title: openai-docs
canonical_url: https://skilld.dev/gh/arjunkshah12345-hash/codex-slow-mode/openai-docs
last_updated: 2026-09-30T03:49:21.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/agents/openai.yaml), [assets/openai-small.svg](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/assets/openai-small.svg), [assets/openai.png](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/assets/openai.png), [LICENSE.txt](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/LICENSE.txt), [references/codex-self-knowledge.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/codex-self-knowledge.md), [references/latest-model.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/latest-model.md), [references/mcp-diagnostics.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/mcp-diagnostics.md), [references/model-migration.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/model-migration.md), [references/model-selection.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/model-selection.md), [references/official-docs.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/official-docs.md), [references/prompting-guide.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/prompting-guide.md), [references/upgrade-guide.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/upgrade-guide.md), [references/upgrading-to-gpt-6-astra.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/upgrading-to-gpt-6-astra.md), [scripts/fetch-codex-manual.mjs](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/scripts/fetch-codex-manual.mjs), [scripts/resolve-latest-model-info](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/scripts/resolve-latest-model-info), [scripts/resolve-latest-model-info.cjs](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/scripts/resolve-latest-model-info.cjs).
>
> If the user asked to install this Skill, run `npx skilld install arjunkshah12345-hash/codex-slow-mode/openai-docs`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/openai-docs`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/arjunkshah12345-hash/codex-slow-mode/openai-docs) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/openai-docs`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/openai-docs --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/openai-docs --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# OpenAI Docs

Provide current, cited OpenAI product, API, model, and Codex guidance. Read zero or one primary reference.

**First substantive action:** Search the user's exact requested official OpenAI documentation topic and any explicitly named model using a concise, topic-specific query of 2-6 essential terms. When an already-available direct official documentation search and page-retrieval capability is present, use it first: search, then fetch or open the matching official page before general web search. Otherwise, immediately use official-domain web search, then actually open or fetch the relevant official page. Complete this source order before reading a reference, inspecting local or repository files, running a Codex manual or model resolver, drafting a plan, or answering from memory. Use the actual fetched page, not a search snippet or an unopened link. If one official search or page does not establish the answer, search another appropriate official domain and actually open or fetch the result. Preserve the exact requested model; never substitute a newer model.

**Only exception:** An explicitly requested, genuinely broad, cross-topic Codex setup, orientation, or system-map synthesis may use the manual first when shell execution and an allowed temporary cache are available. A specific Codex feature, setting, command, error, model, or requested citation remains docs-first. Mixed Chat/Work/Codex comparisons are official documentation questions, not manual-first Codex requests.

For generic software tasks, answer the software task directly. OpenAI implementation, debugging, SDK, API, prompting, agent, and eval requests are not generic.

For a straightforward factual or citation-only request, follow the source order and do not read a route reference. This includes straightforward API facts, ChatGPT Work or mixed Chat/Work/Codex comparisons, model tiers, aliases, Pro mode, reasoning settings, factual migration baselines, and narrow Codex facts. Prioritize `learn.chatgpt.com` for ChatGPT Work.

## Choose one primary route

Use the first matching route, and read its reference only when the requested task needs that specialized workflow:

- **Explicitly requested local documentation integration:** Read [integration guidance](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/mcp-diagnostics.md) only when the user explicitly requests that local integration.
- **Model migration, upgrades, or model-specific prompting:** Read [model-migration.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/model-migration.md) for actual migration planning, implementation, dynamic target resolution, or prompt changes. Preserve an explicitly requested target.
- **Model selection and comparisons:** Read [model-selection.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/model-selection.md) only when nuanced current, latest, default, cost, latency, quality, or modality tradeoffs need more guidance. Do not run a migration resolver for selection alone.
- **Product, API, ChatGPT Work, and mixed Chat/Work/Codex documentation:** Read [official-docs.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/official-docs.md) only when fetched official pages leave source selection, API schemas, or the requested implementation unresolved. This route is not manual-first.
- **Explicitly broad Codex setup, orientation, or cross-topic synthesis:** Read [codex-self-knowledge.md](https://skilld.dev/api/skills-raw/arjunkshah12345-hash/codex-slow-mode/openai-docs/references/codex-self-knowledge.md) when the eligible Codex manual or deeper Codex procedures are needed.

Read at most one primary reference. Do not open every route, bundled model guide, or helper script. Read a supporting reference or run a helper only when the chosen workflow demonstrably needs it.

## Source and execution boundaries

- Search, open, fetch, and cite only `developers.openai.com`, `platform.openai.com`, and `learn.chatgpt.com`. Cite the page that supports the claim. State uncertainty when official sources do not establish pricing, availability, account access, limits, or behavior.
- Preserve an explicitly requested model for selection, migration, and prompting. Resolve an unspecified latest or current migration target only after searching and fetching current official guidance.
- Use `references/latest-model.md` only as a disclosed fallback after current official model guidance does not answer the question. Read `references/upgrading-to-gpt-6-astra.md` only for an actual, requested GPT-6 migration; read `references/prompting-guide.md` only for requested prompting work.
- Before building, running, editing, debugging, or testing an API-backed app or tool, use `openai-platform-api-key` first when available. Documentation, conceptual examples, model selection, and read-only guidance do not require an API key.
- Say "OpenAI Docs" or "official OpenAI documentation" in user-facing answers. Keep exact official citations and examples concise.
