Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PracticalSwan/agent-skills --skill openai-docsgit clone --depth 1 https://github.com/PracticalSwan/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/practicalswan/agent-skills/openai-docs)<a href="https://agentmods.dev/skills/practicalswan/agent-skills/openai-docs"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/openai-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/practicalswan/agent-skills/openai-docs"><img src="https://agentmods.dev/badge/skills/practicalswan/agent-skills/openai-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Prompt Injection · line 209 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.05503 |
| Opus 5 | $0.00053 | $0.02752 |
| Sonnet 5 | $0.00021 | $0.01101 |
| Haiku 4.5 | $0.00011 | $0.00550 |
Grade A, and why
openai-docs scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
4. Run the helper directly unless you need to override the cache dir. The helper falls back to `curl` when native `fetch` is unavailable or when proxy env vars are present, so no shell-specific proxy prefix is required. How it starts
The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OpenAI Docs
Provide authoritative, current guidance from OpenAI developer docs using the developers.openai.com MCP server. "Docs MCP" means mcp__openaiDeveloperDocs__search_openai_docs and mcp__openaiDeveloperDocs__fetch_openai_doc; for API reference, schema, parameter, or required-field questions, also use mcp__openaiDeveloperDocs__get_openapi_spec when available. Official-domain web search is fallback after those tools are unavailable or unhelpful. Broad Codex questions use the manual helper before Docs MCP. This skill also owns model selection, API model migration, and prompt-upgrade guidance.
Host routing
- In Codex, use the documented OpenAI Developer Docs MCP wrappers and Codex manual helper when those capabilities are exposed.
- In Claude Code, including sessions backed by the GLM Coding Plan endpoint, inspect the active MCP tools before naming a wrapper. Use the configured OpenAI Developer Docs MCP if present; otherwise use Claude Code web retrieval restricted to official OpenAI domains and the bundled local resolver/manual scripts where applicable.
- A third-party Claude Code model endpoint changes the inference provider; it does not make Codex-only tools or wrapper names available.
- In GitHub Copilot or any other host, map the workflow to the current tool list and preserve the same official-domain and citation requirements.
- Never claim a Codex manual helper, MCP operation, or host-native docs tool ran unless the active session exposed it and the call completed.
API Key Setup
For requests to build, run, configure, debug, or implement an API-backed app, script, CLI, generator, or tool, use openai-platform-api-key first when available. After that credential gate is resolved, return here for current docs as needed.
Use this skill directly for docs-only questions, citations, model/API guidance, conceptual explanations, and examples that do not require building or running an API-backed artifact.
For latest/current/default/unspecified model migration or prompting-guidance requests, complete the read-only latest-model resolver and guide fetch before the API-key credential gate. The credential gate still blocks edits, tests, and API-backed implementation until resolved; it does not block read-only retrieval of current model, migration, or prompting guidance.
What ships with it
12 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 598 B
- assets/openai-small.svg 1.1 KB
- assets/openai.png 1.4 KB
- CHANGELOG.md 3.7 KB
- LICENSE.txt 11 KB
- references/latest-model.md 2.3 KB
- references/prompting-guide.md 17 KB
- references/upgrade-guide.md 1.0 KB
- references/upgrading-to-gpt-5p6-sol.md 23 KB
- scripts/fetch-codex-manual.mjs 16 KB runs code
- scripts/resolve-latest-model-info 1.0 KB
- scripts/resolve-latest-model-info.cjs 3.8 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed 63ac654943d3
- 4d ago Changed 8082d1655837
- 7d ago First seen · 257 lines · 105 tokens per session scan A dbcc8193c8ab
openai-docs is a skill published in the GitHub repository PracticalSwan/agent-skills (14 stars, last pushed 3d ago), licensed MIT. It adds 105 tokens to every session and 5,503 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
playwright
Use when the task requires capturing or automating a real browser from the terminal.
agent-newbie-guide
A beginner-facing guide for turning vague ideas into clear, actionable requests for a coding agent. It keeps technical system details hidden during the conversation.
agent-learning-coach
A Chinese-language learning coach for programming, English, design, product work, AI, mathematics, or other skills. It first checks the learner's level, then teaches through explanations, exercises, feedback, and review.
agent-patterns-catalog
A reference catalogue of six common AI-agent designs, including agents that reason and act, retrieve documents, call tools, coordinate several agents, or work autonomously. It compares their structures, data flow, and suitable uses without tying them to one framework.
ielts-speaking-coach
Run repeatable IELTS speaking practice with ChatGPT Voice or a supported voice conversation. Use when a learner wants to import IELTS Speaking questions, choose Part 1, Part 2, Part 3, or a full mock test, create a 7-day, 14-day, or 30-day practice plan, conduct examiner-style practice, generate a fixed-format…
geogebra-drawing
A GeoGebra skill for creating interactive mathematical drawings and visualisations with GGBScript code.