Use OpenAI Codex CLI for coding tasks. An agent skill from sundial-org/awesome-openclaw-skills.

No licenceAuto-check passedDevelopment

Install Codex CLI

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

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

GitHub CLI
$ gh skill install sundial-org/awesome-openclaw-skills codex-cli --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/awesome-openclaw-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex-cli .claude/skills/codex-cli && 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-cli
GitHub stars
663
Token cost
~2k tokens
SKILL.md length
495 words
Files
3
Skills in repo
353
Repo updated
First seen
Licence
None found

At a glance

Use OpenAI Codex CLI for coding tasks. An agent skill from sundial-org/awesome-openclaw-skills.

  • Works in 6 steps: Start with /init to create AGENTS.md… → Use /review before commits for AI code… → Set /approvals appropriately — Auto for… → …
  • Tasks that involve Failing and flaky tests
  • SKILL.md covers When to Use, Installation & Auth, Core Commands and Slash Commands (In TUI), plus 13 more sections
  • Calls codex and npm; reaches mcp.deepwiki.com; needs OPENAI_API_KEY

What it does

Codex CLI is an agent skill from sundial-org/awesome-openclaw-skills. Use OpenAI Codex CLI for coding tasks. Triggers: codex, code review, fix CI, refactor code, implement feature, coding agent, gpt-5-codex. Enables Clawdbot to delegate coding work to Codex CLI as a subagent or direct tool.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `clawdbot-integration.md` and `cli-reference.md`).

It sits in Development, covering Failing and flaky tests, Refactoring and Subagents. It works with OpenAI. The repository describes itself as: Top OpenClaw skills, with the most popular and useful ones.

When your agent uses it

  • Tasks that involve Failing and flaky tests
  • Tasks that involve Refactoring
  • Tasks that involve Subagents

Example prompts

  • “/codex-cli”

Requirements

  • Node.js
  • A credential in OPENAI_API_KEY

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Start with /init to create AGENTS.md with repo-specific instructions
  2. Use /review before commits for AI code review
  3. Set /approvals appropriately — Auto for trusted repos, Read Only for exploration
  4. Use --add-dir for monorepos instead of danger-full-access
  5. Resume sessions to maintain context across coding sessions
  6. Attach images for UI work, design specs, error screenshots

What it can do on your machine

Read from SKILL.md and the folder at commit b80cde2. 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
    • npm

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mcp.deepwiki.com

    Also links to:

    • developers.openai.com
    • agents.md
    • github.com

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

  • Credentials

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

    • OPENAI_API_KEY

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

Context cost

Codex CLI loads about 2k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 495 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~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 495 words (~1,984 tokens).

“Use OpenAI Codex CLI (codex) for coding tasks including code review, refactoring, bug fixes, CI repairs, and feature implementation. Codex CLI runs locally on your machine with full filesystem access.”

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

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in skills/codex-cli of sundial-org/awesome-openclaw-skills.

  • SKILL.md
  • clawdbot-integration.md
  • cli-reference.md

Open the folder on GitHubat commit b80cde2

Compare with similar skills

Codex CLI 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 CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codex CLI this skillsundial-org/awesome-openclaw-skills663—~2kAutomated safety check: PassNone
Local Codexdaymade/claude-code-skills1.4k—~1.6kAutomated safety check: PassMIT
Auto DevflowHuangPuStar/FenixAgent552—~3kAutomated safety check: PassApache-2.0
Codex CLIkortix-ai/suna20k—~1.6kAutomated safety check: PassCustom licence
Review And Simplify ChangesDimillian/Skills4k—~2kAutomated safety check: PassMIT
GitHub Review Iterationprisma/orm48k—~2.2kAutomated safety check: PassApache-2.0

Similar skills

  • Local Codex

    daymade/claude-code-skills

    Launches and manages the local OpenAI Codex CLI as a non-interactive coding sub-agent via ChatGPT Pro OAuth, never API keys.

    1.4k GitHub stars~1.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Auto Devflow

    HuangPuStar/FenixAgent

    A skill your agent uses when starting an issue, bugfix, feature, or refactor that should be driven by multiple coordinated subagents: explore → plan → code → review, with the main agent acting as…

    552 GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed
  • Codex CLI

    kortix-ai/suna

    Drive OpenAI's Codex CLI (codex exec) as a non-interactive coding sub-agent from inside Claude Code.

    20k GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Review a git diff or explicit file scope for reuse, code quality, efficiency, clarity, and standards issues, then optionally apply safe Codex-driven fixes.

    4k GitHub stars~2k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Official

    Runs a loop on a GitHub pull request: fetch review state, triage comments into actions, implement them and resolve threads, repeating until nothing actionable is left.

    48k GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Cherry Studio PR Review

    CherryHQ/cherry-studio

    Reviews Cherry Studio branches, pull requests, commits, files and docs against the project's own architecture, naming, API-boundary and UI rules, report-only by default.

    52k GitHub stars~3.9k tokensUpdated today
    DevelopmentAuto-check passed

More from sundial-org/awesome-openclaw-skills

All 353 skills in this repo
  • UI UX Pro Max

    sundial-org/awesome-openclaw-skills

    UI/UX design intelligence and implementation guidance for building polished interfaces.

    663 GitHub starsUsed in 2 repos~657 tokens
    Auto-check passed
  • Web Deploy GitHub

    sundial-org/awesome-openclaw-skills

    Create and deploy single-page static websites to GitHub Pages with autonomous workflow.

    663 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Clawd Modifier

    sundial-org/awesome-openclaw-skills

    Modify Clawd, the Claude Code mascot. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~625 tokensUpdated 7 mo ago
    Auto-check passed
  • Figma

    sundial-org/awesome-openclaw-skills

    Professional Figma design analysis and asset export. An agent skill from sundial-org/awesome-openclaw-skills.

    663 GitHub stars~1.7k tokensUpdated 7 mo ago
    Auto-check: notes
  • Edge Tts

    sundial-org/awesome-openclaw-skills

    Text-to-speech conversion using node-edge-tts npm package for generating audio from text.

    663 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Habit Flow

    sundial-org/awesome-openclaw-skills

    AI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching.

    663 GitHub stars~3.1k tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Codex CLI

What does Codex CLI do?

Use OpenAI Codex CLI for coding tasks. An agent skill from sundial-org/awesome-openclaw-skills. Codex CLI is an agent skill from sundial-org/awesome-openclaw-skills. Use OpenAI Codex CLI for coding tasks.

When should I use Codex CLI?

Codex CLI fits situations like: tasks that involve Failing and flaky tests; tasks that involve Refactoring; tasks that involve Subagents.

How do I install Codex CLI in Claude Code?

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

How do I install Codex CLI in Codex?

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

Can I use Codex CLI 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/awesome-openclaw-skills --skill codex-cli -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-cli, .gemini/skills/codex-cli, .github/skills/codex-cli and .opencode/skills/codex-cli in your project.

What does Codex CLI need to run?

Going by SKILL.md and its folder, Codex CLI needs the command-line tools its instructions call (codex and npm) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY.

Does Codex CLI access the network?

SKILL.md names 4 domains. In commands or code: mcp.deepwiki.com; the agent is likely to contact it when it follows the instructions. As links in the text: developers.openai.com, agents.md and github.com. This is read from the text; nothing was executed.

Is Codex CLI 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 CLI use?

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

How many tokens does Codex CLI use?

About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codex CLI?

Skills that share tags, products or a category with Codex CLI: Local Codex (daymade/claude-code-skills, 1.4k stars), Auto Devflow (HuangPuStar/FenixAgent, 552 stars), Codex CLI (kortix-ai/suna, 20k stars) and Review And Simplify Changes (Dimillian/Skills, 4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codex CLI?

sundial-org (a GitHub organization) maintains it in sundial-org/awesome-openclaw-skills, which has 663 GitHub stars. The repository holds 353 skills in this directory. The repository was last updated on March 7, 2026.

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