codex

codex is a skill for Claude Code from CHENyiru3/AI-Skills-Collections. It costs 42 tokens per session (500 once invoked), scanned A, a copy of codex, MIT.

A guide for delegating coding work to the OpenAI Codex command-line agent. It covers setup, one-off tasks, longer background tasks, and sending answers when Codex asks questions.

In plain words
What is it for?
Use it to build features, refactor code, review changes, fix multiple issues, or run coding tasks in a Git repository.
Why use it?
It lets another coding agent handle implementation, refactoring, reviews, or batches of fixes while explaining the required command setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: runs codex exec; mentions Codex.

Part of the agents plugin — 9 skills shipped together

Good fit Use it to build features, refactor code, review changes, fix multiple issues, or run coding tasks in a Git repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/codex
Install

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.

Any agent
npx skills add CHENyiru3/AI-Skills-Collections --skill codex
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Claude Code.

Or install agents, the plugin that ships this one along with the rest of its 9 skills.

Wrote 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.

agentmods badge for codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/codex/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/codex)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/codex"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/codex/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.

agentmods 80×15 button for codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/codex"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00500
Opus 5.5 $0.00017 $0.00200
Sonnet 5.5 $0.00008 $0.00100
Haiku 4.5 $0.00004 $0.00050

Measured 20d ago against content hash b1c4a2cad70d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex scanned grade A with 0 findings 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 20d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to codex — 145 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.

skills-market/agents/codex/SKILL.md · 56 lines

What it actually says

Codex CLI Delegation

Identify the delegated outcome, workspace, allowed mutations and result artifact. Use the available process/terminal API; do not assume a particular host's tool names. Check codex --help and codex exec --help for the installed version before constructing flags. Reuse configured authentication without printing credentials.

For a bounded non-interactive run:

codex exec --sandbox read-only "Review the relevant changes and report findings"

Run in the selected working directory. Select a sandbox compatible with the task; use workspace writes only for an authorized editing task. exec is non-interactive and does not universally need a PTY. Use a PTY for an interactive session when the actual terminal interface requires one.

Codex normally checks for a trusted Git repository. Where appropriate for a known scratch folder, the installed CLI may provide --skip-git-repo-check; confirm it in help rather than creating a repository merely to satisfy a stale assumption. Do not default to disabling sandboxing or bypassing approval controls.

For long runs, keep the process/session handle, inspect progress and final exit status, and verify the requested output. Do not blindly answer trust or permission prompts. Surface a real authorization gap with the exact action it concerns.

If independent work is requested, use separate worktrees/checkouts so runs cannot edit the same files. Record the base and target revisions. For reviews, prefer an isolated checkout and keep the review read-only unless fixes were requested.

Inspect the resulting diff and relevant checks before accepting an editing run. Report failures and partial results accurately. Commits, pushes, PR creation and posting reviews require that scope in the user's request; delegation alone does not authorize them. Stop after the delegated outcome is verified and clean up only scratch resources created for that run.

Changes

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.

  1. 20d ago Changed · -59 lines · +2 tokens per session b1c4a2cad70d
  2. 2mo ago First seen · 115 lines · 40 tokens per session scan A b54a1b7e169b

Subscribe to this mod's changes

codex is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (3 stars, last pushed 9d ago), licensed MIT. It adds 42 tokens to every session and 500 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to codex, differing in 145 lines, and is treated as a copy.

Related

codex compared with skills from other repositories

codex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codexCHENyiru3/AI-Skills-CollectionsSkill39d agoMITA42Claude Code
create-prprisma/ormSkill48ktodayApache-2.0A47Claude Code, Codex
git-commitThinkInAIXYZ/deepchatSkill6.4kyesterdayApache-2.0A15Claude Code, Codex
engineer-bot-opsmakecindy/cindySkill11ktodayApache-2.0A57Claude Code, Codex
mcore-split-prNVIDIA/skillsSkill4.3ktodayApache-2.0A25Claude Code
contributingHugoRCD/evlogSkill2.0k3d agoMITA68Claude Code, Codex
git-commit-writermergisi/awesome-openclaw-agentsSkill4.1k27d agoMITA53Claude Code, Codex