agentleFS
OpenAIKnown publisheropenai/openai-developers-for-cursor/skills/openai-docs/SKILL.md

openai-docs

Skill9 starsChanged 5 months agoApache-2.0View on GitHub

Use whenever the user asks anything about OpenAI products, APIs, models, or SDKs — including factual lookups ("what is the newest model", "does X support Y"), build/coding requests ("write a script using the Responses API"), latest/current/default-model prompting guidance, model migrations, and citation requests. Invoke before calling any openaiDeveloperDocs MCP tool.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-agent, atlas and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    review-agent

    Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.

    Also in 3 projects that use this

  • nicodianskSkill

    atlas

    Generate or update a semantic domain map (ATLAS.md) for the project. Maps where to look, entry points, module purposes, key symbols, and integration points. Complements codemap's structural index with the domain knowledge layer.

    Also in 3 projects that use this

  • JetBrainsSkill

    doc

    Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the Cursor-configured OpenAI Docs MCP server at https://developers.openai.com/mcp?source=cursor first for current OpenAI developer …

    line 8
  2. Distinctive:

    If an exact URL is unavailable or lacks substantive content, retry it once through Docs MCP, then run a compact Docs MCP search for that …

    line 23
  3. Distinctive:

    If current-model metadata or an explicit model guide still cannot be retrieved, say what could not be verified and return bounded …

    line 25
  4. Very specific:

    Use the OpenAI Docs MCP tools exposed by the configured openaiDeveloperDocs server.

    line 29
  5. Distinctive:

    Start general lookup with a compact, title-like search query of 2-6 essential terms.

    line 30
  6. Distinctive:

    When a plausible official docs URL is known, fetch it through Docs MCP before web fallback.

    line 31
  7. Very specific:

    Use list_openai_docs only when no clear query or URL exists.

    line 33
  8. Distinctive:

    Keep upgrades behavior-preserving.

    line 39
  9. Distinctive:

    Leave historical docs, examples, eval baselines, fixtures, provider comparisons, intentionally pinned fallbacks, and ambiguous older usage …

    line 41
  10. Distinctive:

    Keep SDK, tooling, IDE, plugin, shell, auth, and provider-environment migrations out of a model-and-prompt upgrade unless explicitly …

    line 42
  11. Distinctive:

    If a safe change requires endpoint or schema rewiring, tool-handler changes, state changes, or another compatibility migration outside …

    line 43
  12. Distinctive:

    Treat live OpenAI documentation as the source of truth.

    line 51
  13. Distinctive:

    Prefer concise summaries over long excerpts.

    line 53
  14. Distinctive:

    If sources conflict, state the difference.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OpenAI Docs

Use the Cursor-configured OpenAI Docs MCP server at https://developers.openai.com/mcp?source=cursor first for current OpenAI developer guidance.

API key setup

For requests that require a live OpenAI API call, use openai-platform-api-key first when available. Missing credentials block only the live call. They do not block requested source or configuration edits, documentation retrieval, or offline, mocked, static, fixture-based, or syntax validation.

Complete read-only documentation retrieval before any live-call credential check. Continue with requested source edits and offline validation when no API key is available; skip only validation that actually sends a live API request, and say that it was skipped.

Model guidance routing

Classify the model request before inspecting the project or checking credentials:

  • Dynamic target: For latest, current, newest, recommended, default, flagship, or otherwise unspecified model selection, prompting, or migration, fetch https://developers.openai.com/api/docs/guides/latest-model.md. Read its latestModelInfo metadata. For migrations or prompting guidance, resolve the exact migrationGuide and promptingGuide paths against https://developers.openai.com and fetch those exact URLs. Treat the metadata values as opaque; do not derive or substitute another route.
  • Explicit target: Preserve the requested model and fetch https://developers.openai.com/api/docs/guides/latest-model?model=<requested-model>. For example, use https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.6 for GPT-5.6 and https://developers.openai.com/api/docs/guides/latest-model?model=gpt-5.3-codex for gpt-5.3-codex. Do not replace the explicit target with the current model.

If an exact URL is unavailable or lacks substantive content, retry it once through Docs MCP, then run a compact Docs MCP search for that exact model or page. If necessary, fall back only to official OpenAI domains such as developers.openai.com and platform.openai.com.

If current-model metadata or an explicit model guide still cannot be retrieved, say what could not be verified and return bounded uncertainty. Do not infer current model facts, migration steps, limits, pricing, availability, parameters, or capabilities from static knowledge.

General workflow

  1. Use the OpenAI Docs MCP tools exposed by the configured openaiDeveloperDocs server.
  2. Start general lookup with a compact, title-like search query of 2-6 essential terms. If search is noisy, narrow it.
  3. When a plausible official docs URL is known, fetch it through Docs MCP before web fallback.
  4. For API schemas, parameters, or required fields, use get_openapi_spec when available alongside the guide.
  5. Use list_openai_docs only when no clear query or URL exists.
  6. Fetch the exact page or section needed before answering.
  7. Cite retrieved official sources for links, quotes, and precise claims.

Migration rules

  • Keep upgrades behavior-preserving. Update active OpenAI model defaults, directly related prompts, and only the registries, routing, pricing, capability, or picker surfaces the user placed in scope.
  • Preserve multi-model cost, latency, and quality roles. Do not collapse a router or picker into one flagship model.
  • Leave historical docs, examples, eval baselines, fixtures, provider comparisons, intentionally pinned fallbacks, and ambiguous older usage unchanged unless explicitly requested.
  • Keep SDK, tooling, IDE, plugin, shell, auth, and provider-environment migrations out of a model-and-prompt upgrade unless explicitly requested.
  • If a safe change requires endpoint or schema rewiring, tool-handler changes, state changes, or another compatibility migration outside scope, report the exact blocker or ask for confirmation.

Validation

After changes, run targeted tests for changed behavior and the most relevant type, lint, build, or smoke checks available. For model migrations, verify every active default surface in scope and exercise representative requests or evals. If validation cannot run, state why and name the next best check.

Rules

  • Treat live OpenAI documentation as the source of truth; never use bundled model guidance as a fallback.
  • Preserve explicit model targets.
  • Prefer concise summaries over long excerpts.
  • If sources conflict, state the difference. If evidence is missing, narrow the answer instead of guessing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.