Codex skills for OpenAI API

OpenAI API skills cover the Responses API and what is built on it: Structured Outputs, function calling, the Agents SDK, Realtime voice, Batch, embeddings, fine-tuning, images and moderation. Codex picks one conversation-state strategy per thread, handles refusals and truncated responses before parsing, and migrates Assistants code, since that API shut down on 26 August 2026.

Every OpenAI API skill in one command

Installs these 13 into ~/.agents/skills/. Add --project after -- to install into the current repository instead.

The installer is a 104-line POSIX shell script. It fetches the skills you name from codexskills.dev and unpacks each into its own folder in your skills directory. No sudo, no telemetry, and every skill page shows the full SKILL.md first. Read install.sh

curl -fsSL codexskills.dev/install.sh | sh -s -- openai-responses-api openai-agents-sdk openai-realtime-voice openai-structured-outputs openai-function-calling openai-batch-api openai-embeddings openai-image-generation openai-fine-tuning assistants-to-responses-migration prompt-caching-cost text-to-speech ai-content-moderation

OpenAI API FAQ

Is there a Codex skill for migrating from the Assistants API to the Responses API?

Assistants to Responses inventories every beta.assistants and threads call, moves instructions and tools into versioned code, and rewrites runs and polling as responses.create with a capped function_call loop. Because the Assistants API shut down on 26 August 2026, it backfills Conversations from your own stored message history after you confirm the plan, and says plainly if no such copy exists. A replay set checks that the new path behaves like the old one.

How do I get reliable JSON from OpenAI models?

OpenAI Structured Outputs defines the schema once in Pydantic or Zod, calls responses.parse with strict mode, and models optional fields as nullable so strict mode accepts the schema. It checks for refusals and an incomplete status before trusting output_parsed, then validates business rules in code because schema-valid data can still be wrong. OpenAI Function Calling applies strict schemas to tool arguments and returns each result under its exact call_id.

Can Codex run thousands of OpenAI requests through the Batch API?

OpenAI Batch API builds JSONL files with stable custom_ids tied to source rows and validates them offline with scripts/batch_jsonl.py check before spending money. It designs around the limits of 50,000 requests and 200 MB per input file and the 24h completion window, joins output and error files by custom_id rather than position, and writes failed or expired requests to a retry file. Batch jobs run at half the synchronous price.

How do I install all 13 OpenAI API skills at once?

Pass every name to the installer in one command: curl -fsSL https://codexskills.dev/install.sh | sh -s -- openai-responses-api openai-agents-sdk openai-realtime-voice openai-structured-outputs openai-function-calling openai-batch-api openai-embeddings openai-image-generation openai-fine-tuning assistants-to-responses-migration prompt-caching-cost text-to-speech ai-content-moderation. Add --project right after -- to put them in the current repository's .agents/skills/ so your team gets them too.

Which OpenAI API skill should I try first?

OpenAI Responses API is the closest fit for most OpenAI API work. Mention it with $openai-responses-api in a prompt to load it on purpose; after that, Codex picks it up on its own whenever a task matches.

esc
Just launched

Codex Skills Pro is live

79 premium skills for Codex, each with scripts, references and an evidence report that proves the result.

Bought one by one$882.21
All 79 skills$49
94% off

That's $0.62 a skill, paid once.

Get all 79 for $49Or pick single skills from $4.99 →

Secure checkout by Creem