codex

codex is a skill for Claude Code, Codex from qqabcv520/my-claude-marketplaces. It costs 146 tokens per session (1,088 once invoked), scanned B, original, MIT.

A guide for using Codex CLI, a terminal tool that can analyze, debug, and review code.

In plain words
What is it for?
Use it to run non-interactive code analysis or debugging, review uncommitted changes or commits, and compare a branch with another branch.
Why use it?
It gives developers commands and workflows for asking Codex to inspect code without working out the command details themselves.

Skill for Claude CodeCodex

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

Part of the codex plugin — 1 skill, 1 command shipped together

Good fit Use it to run non-interactive code analysis or debugging, review uncommitted changes or commits, and compare a branch with another branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qqabcv520/my-claude-marketplaces/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 qqabcv520/my-claude-marketplaces --skill codex
Clone the repo
git clone --depth 1 https://github.com/qqabcv520/my-claude-marketplaces

Made for: Claude Code, Codex.

Or install codex, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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/qqabcv520/my-claude-marketplaces/codex/github.svg)](https://agentmods.dev/skills/qqabcv520/my-claude-marketplaces/codex)
Your own site
<a href="https://agentmods.dev/skills/qqabcv520/my-claude-marketplaces/codex"><img src="https://agentmods.dev/badge/skills/qqabcv520/my-claude-marketplaces/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/qqabcv520/my-claude-marketplaces/codex"><img src="https://agentmods.dev/badge/skills/qqabcv520/my-claude-marketplaces/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00146 $0.01088
Opus 5 $0.00073 $0.00544
Sonnet 5 $0.00029 $0.00218
Haiku 4.5 $0.00015 $0.00109

Measured 11d ago against content hash 34b93b168012, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

codex scanned grade B 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

tail -F ~/.codex/log/codex-tui.log
plugins/codex/skills/codex/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex CLI 使用指南

简介

Codex CLI 是 OpenAI 提供的命令行工具,可以在终端中直接调用 AI 能力进行代码分析、debug 和 review。

安装与配置 → references/installation.md

在 Claude Code 中,通过以下方式使用 Codex:

  • 自动 debug:描述 bug 时,codex-debugger agent 自动介入
  • 手动 review:运行 /codex:review 命令触发代码审查

核心命令

codex exec - 执行任务

非交互式执行任意任务,适合 debug、代码分析和代码审查。

mkdir -p tmp
RESULT="tmp/codex-result-$RANDOM.txt"
codex exec -o "$RESULT" "<prompt>" --full-auto &> /dev/null
cat "$RESULT"

详细用法 → references/exec-usage.md

代码审查(通过 codex exec 实现)

代码审查统一通过 codex exec -o 配合 review prompt 实现,灵活支持各种审查场景。

# 审查未提交变更
mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review the uncommitted changes in this repository. Run git diff and git diff --cached to see all changes. Provide a code review covering: code quality, potential bugs, security issues, and improvement suggestions." --full-auto &> /dev/null
cat "$REVIEW"

# 审查特定 commit
mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review commit <sha>. Run git show <sha> to see the changes. Provide a code review." --full-auto &> /dev/null
cat "$REVIEW"

# 分支对比审查
mkdir -p tmp
REVIEW="tmp/codex-review-$RANDOM.txt"
codex exec -o "$REVIEW" "Review all changes between the current branch and <base-branch>. Run git diff <base-branch>...HEAD to see the diff. Provide a code review." --full-auto &> /dev/null
cat "$REVIEW"

详细用法 → references/review-usage.md

快速选择指南

场景 使用方式
代码报错、bug 分析 描述问题,codex-debugger 自动触发
审查当前改动 /codex:review uncommitted
审查某个 commit /codex:review commit <sha>
PR 前代码审查 /codex:review branch <feature> --base main
自定义分析任务 mkdir -p tmp && RESULT="tmp/codex-result-$RANDOM.txt" && codex exec -o "$RESULT" "<描述任务>" --full-auto &> /dev/null

日志与调试

Codex CLI 提供完整的日志和会话管理功能。使用 -o 将结果写入文件后,完整的执行过程仍会被保存在会话中。

详细说明 → references/logging-debug.md

快速参考

# 查看实时日志
tail -F ~/.codex/log/codex-tui.log

# 恢复上次会话查看完整执行过程
codex resume --last

# 启用详细日志
mkdir -p tmp
RESULT="tmp/codex-result-$RANDOM.txt"
RUST_LOG=debug codex exec -o "$RESULT" "<prompt>" --full-auto &> /dev/null

Read the full file on GitHub · 97 lines

Files

What ships with it

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

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. 11d ago First seen · 97 lines · 146 tokens per session scan B 34b93b168012

Subscribe to this mod's changes

codex is a skill published in the GitHub repository qqabcv520/my-claude-marketplaces (2 stars, last pushed 5mo ago), licensed MIT. It adds 146 tokens to every session and 1,088 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

An orchestration workflow for Volcengine Cloud Detect, a service that checks websites or network endpoints from test locations.

bytedance/agentkit-samples · 101 tokens