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 agentmods add skills/mikemanifold/codex-unified/openai-docsnpx skills add MikeManifold/codex-unified --skill openai-docsgit clone --depth 1 https://github.com/MikeManifold/codex-unifiedWrote 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/mikemanifold/codex-unified/openai-docs)<a href="https://agentmods.dev/skills/mikemanifold/codex-unified/openai-docs"><img src="https://agentmods.dev/badge/skills/mikemanifold/codex-unified/openai-docs.svg" alt="Measured on agentmods" height="20"></a>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.04698 |
| Opus 5 | $0.00053 | $0.02349 |
| Sonnet 5 | $0.00021 | $0.00940 |
| Haiku 4.5 | $0.00011 | $0.00470 |
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 6d 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. This is a copy
100% identical to openai-docs — 366 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 184 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.
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.
First action for latest-model changes
Before reading memory, inspecting the repo, fetching docs, or checking API credentials, classify the request:
- Latest/current prompting guidance, or change requested + latest/current/newest/recommended/default/flagship/unspecified target: immediately run the resolver with the platform-specific command below and inspect its JSON output. This includes asking how to prompt the latest model, changing prompts, a model picker, model references, an SDK integration, replacing an older named model with "the current model", or asking "which model should I migrate/upgrade to?". Do not directly fetch
latest-model.mdfor this branch. - Pure model-selection question only, with no prompting guidance or requested change: directly fetch
https://developers.openai.com/api/docs/guides/latest-model.md; do not run the resolver. - Change requested + explicit target model: preserve that target; do not run the latest-model resolver. For an explicit GPT-5.6 Sol or GPT-5.6-family migration, fetch the live GPT-5.6 model-guidance page and read
references/upgrading-to-gpt-5p6-sol.mdfor skill-specific migration judgment. - Prompting or migration guidance for an explicitly named GPT-5-family model: fetch
https://developers.openai.com/api/docs/guides/model-guidance?model=<requested-model>through Docs MCP and extract the relevant migration section or the## Prompting Best Practicessection through the next H2 heading. Do not substitute latest-model guidance.
What ships with it
11 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
- 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.
- 6d ago First seen · 184 lines · 105 tokens per session scan A 9914a79e6e1b
openai-docs is a skill published in the GitHub repository MikeManifold/codex-unified (2 stars, last pushed 16d ago), licensed Apache-2.0. It adds 105 tokens to every session and 4,698 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to openai-docs, differing in 366 lines, and is treated as a copy.
Other skills, from other repositories
skill-creator
Create, install, or update skills in the workspace. Use when (1) installing a skill from a URL or remote source, (2) creating a new skill from scratch, (3) updating or restructuring existing skills. Always use this skill for any skill installation or creation task.
image-generation
Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.
deploy-docker-compose
Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…
prompt-optimization
Improve a prompt on the evaluations workbench through a measured loop. Score the baseline first, then duplicate the target column, form a hypothesis from failing rows, edit the copy's prompt draft, run, compare pass rate and cost, and repeat until the numbers hold. Use when the user asks to optimize or improve a…
debug-with-langwatch
Root-cause production errors and misbehaving agent runs with LangWatch. Finds errored traces, inspects spans, checks monitor and evaluator scores, then narrows to a root cause. Use when something is failing or misbehaving in production (errors, bad answers, latency spikes).
eval-triage
Investigate failing experiments and evaluations with LangWatch. Triage a failing experiment run to the exact rows and evaluator scores that regressed, then to a root cause. Use when an experiment fails, scores drop, or evaluations regress.