Agent skill

Codex

by sundial-org in sundial-org/skills

Run OpenAI's Codex CLI agent in non-interactive mode using codex exec.

No licenceAuto-check passedAI & LLM Engineering

Install Codex

skills CLI
$ npx skills add sundial-org/skills --skill codex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sundial-org/skills codex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sundial-org/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex .claude/skills/codex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codex
GitHub stars
152
Token cost
~1.5k tokens
SKILL.md length
441 words
Files
3 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Run OpenAI's Codex CLI agent in non-interactive mode using codex exec.

  • Delegating coding tasks to Codex
  • SKILL.md covers When to Use Codex, Quick Reference, Core Concepts and Code Review, plus 7 more sections
  • Calls codex and jq; needs CODEX_API_KEY
  • Running Codex in scripts/automation

What it does

Codex is an agent skill from sundial-org/skills. Run OpenAI's Codex CLI agent in non-interactive mode using codex exec. Use when delegating coding tasks to Codex, running Codex in scripts/automation, or when needing a second agent to work on a task in parallel.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/exec-reference.md` and `references/prompting.md`).

It sits in AI & LLM Engineering. It works with OpenAI. The repository describes itself as: Claude Code Skills by Sundial.

When your agent uses it

  • Delegating coding tasks to Codex
  • Running Codex in scripts/automation
  • Needing a second agent to work on a task in parallel

Example prompts

  • “/codex”

Requirements

  • A credential in CODEX_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 5a3bf9f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • codex
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CODEX_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codex loads about 1.5k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 441 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 441 words (~1,516 tokens).

“Codex is OpenAI's coding agent. Use codex exec to run it non-interactively from any cli agent.”

— opening of SKILL.md by sundial-org
name
codex

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in skills/codex of sundial-org/skills.

  • SKILL.md
  • references/exec-reference.md
  • references/prompting.md

Open the folder on GitHubat commit 5a3bf9f

Compare with similar skills

Codex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex this skillsundial-org/skills152—~1.5kAutomated safety check: PassNone
Azure AI Projects Python SDKmicrosoft/skills3.1k6 repos~2.8kAutomated safety check: PassMIT
Perfupraullenchai/Rapid-MLX3.9k—~1.6kAutomated safety check: NotesCustom licence
Cursor BYOK Prefix Stabilityleookun/cursor-byok3.2k—~1.3kAutomated safety check: PassMIT
Visionxiincs/claude-code-vision-skill170—~1.2kAutomated safety check: PassMIT
Instructor Structured LLM OutputsOrchestra-Research/AI-Research-SKILLs13k7 repos~4.2kAutomated safety check: PassMIT

Similar skills

  • Official

    Reference for building on Microsoft Foundry with the azure-ai-projects Python SDK: project clients, versioned agents, evaluations, connections, datasets and indexes.

    3.1k GitHub starsUsed in 6 repos~2.8k tokens
    AI & LLM EngineeringAuto-check passed
  • Perfup

    raullenchai/Rapid-MLX

    Autonomous performance optimization: research, PoC, benchmark, implement, review, PR

    3.9k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Cursor BYOK Prefix Stability

    leookun/cursor-byok

    Guides changes to the cursor-byok server so provider conversation history stays append-only and each turn's history remains an exact prefix of the next, protecting prefix caches.

    3.2k GitHub stars~1.3k tokensUpdated 9 days ago
    AI & LLM EngineeringAuto-check passed
  • Vision

    xiincs/claude-code-vision-skill

    Call vision models (Doubao, Qwen, DeepSeek, OpenAI) to analyze images.

    170 GitHub stars~1.2k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Instructor Structured LLM Outputs

    Orchestra-Research/AI-Research-SKILLs

    Shows how to pull validated, typed data out of LLM responses with Instructor and Pydantic models, including retries on failure and partial streaming.

    13k GitHub starsUsed in 7 repos~4.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Building Multi Connector Agent

    airbytehq/airbyte-agent-sdk

    Official

    Builds a complete agent with multiple Airbyte connectors using PydanticAI or Claude SDK.

    135 GitHub stars~1.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes

More from sundial-org/skills

All 13 skills in this repo
  • AI Co Scientist

    sundial-org/skills

    Transform Claude Code into an AI Scientist that orchestrates research workflows using tree-based hypothesis exploration.

    152 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Skill

    sundial-org/skills

    Find, install, create, improve, and publish AI agent skills through the Sundial ecosystem.

    152 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Skill To Card

    sundial-org/skills

    End-to-end workflow that creates a skill from a description and attached files, publishes it to Sundial as a private skill, generates a trading card (front + back with QR code), and sends it to a…

    152 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Commit Splitter

    sundial-org/skills

    Split large sets of uncommitted changes into logical, well-organized commits.

    152 GitHub stars~860 tokensUpdated 2 mo ago
    Auto-check passed
  • Tinker Training Cost

    sundial-org/skills

    Calculate training costs for Tinker fine-tuning jobs. An agent skill from sundial-org/skills.

    152 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Neuro Symbolic Reasoning

    sundial-org/skills

    Neuro-symbolic AI combining LLMs with symbolic solvers. An agent skill from sundial-org/skills.

    152 GitHub stars~369 tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Codex

What does Codex do?

Run OpenAI's Codex CLI agent in non-interactive mode using codex exec. Codex is an agent skill from sundial-org/skills. Run OpenAI's Codex CLI agent in non-interactive mode using codex exec.

When should I use Codex?

Codex fits situations like: delegating coding tasks to Codex; running Codex in scripts/automation; needing a second agent to work on a task in parallel.

How do I install Codex in Claude Code?

Run `npx skills add sundial-org/skills --skill codex -a claude-code`. Or copy the skill folder (skills/codex in sundial-org/skills) into .claude/skills/codex in your project. Claude Code loads it when a task matches its description.

How do I install Codex in Codex?

Run `npx skills add sundial-org/skills --skill codex -a codex`. Or copy the skill folder (skills/codex in sundial-org/skills) into .agents/skills/codex in your project. Codex loads it when a task matches its description.

Can I use Codex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sundial-org/skills --skill codex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex, .gemini/skills/codex, .github/skills/codex and .opencode/skills/codex in your project.

What does Codex need to run?

Going by SKILL.md and its folder, Codex needs the command-line tools its instructions call (codex and jq) and credentials named CODEX_API_KEY. Our summary lists: A credential in CODEX_API_KEY.

Does Codex access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codex safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codex use?

No licence was found for Codex or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codex use?

About 1.5k tokens (SKILL.md is roughly 6.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Codex?

Skills that share tags, products or a category with Codex: Azure AI Projects Python SDK (microsoft/skills, 3.1k stars), Perfup (raullenchai/Rapid-MLX, 3.9k stars), Cursor BYOK Prefix Stability (leookun/cursor-byok, 3.2k stars) and Vision (xiincs/claude-code-vision-skill, 170 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex?

sundial-org (a GitHub organization) maintains it in sundial-org/skills, which has 152 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on July 15, 2026.

Source: sundial-org/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.