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.
npx skills add ckorhonen/claude-skills --skill codex-advisorgit clone --depth 1 https://github.com/ckorhonen/claude-skillsWrote 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.
[](https://agentmods.dev/skills/ckorhonen/claude-skills/codex-advisor)<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/codex-advisor"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/codex-advisor/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.
<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/codex-advisor"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/codex-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.02513 |
| Opus 5.5 | $0.00020 | $0.01005 |
| Sonnet 5.5 | $0.00010 | $0.00503 |
| Haiku 4.5 | $0.00005 | $0.00251 |
Grade A, and why
codex-advisor 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 344 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codex Advisor
Overview
Use OpenAI's Codex CLI as a second-opinion advisor when you need external validation on plans, code reviews, or are stuck on hard problems. This skill uses non-interactive mode (codex exec) for scripted/automated usage.
When to Use
- Reviewing implementation plans before starting work
- Code review for complex or security-sensitive changes
- Architecture decisions with significant trade-offs
- Debugging problems where you've been stuck for >30 minutes
- Getting alternative approaches to a solution
- Validating assumptions about unfamiliar codebases
Prerequisites
- OpenAI API key or ChatGPT Plus/Pro/Business account
- Codex CLI installed
Installation
# Via npm
npm install -g @openai/codex
# Or via Homebrew
brew install --cask codex
Authentication
# Option 1: API key (required for non-interactive mode in CI)
export OPENAI_API_KEY="your-key"
# Option 2: Codex-specific key for CI environments
export CODEX_API_KEY="your-key"
# Option 3: Interactive login (one-time setup)
codex --login
Model Selection
Choose the right model for your task:
| Model | Best For | Use When |
|---|---|---|
gpt-5.2 |
General-purpose reasoning | Default for plan reviews, architecture questions, non-coding tasks |
gpt-5.2-codex |
Real-world software engineering | Code reviews, debugging, coding-specific tasks |
gpt-5.1-codex-max |
Extended multi-step workflows | Long-running tasks (>10 min), large migrations, complex refactors |
gpt-5.1-codex-mini |
Budget-conscious projects | Simple reviews when cost matters |
Recommendation:
- Start with
gpt-5.2for general questions - Use
gpt-5.2-codexwhen the task is specifically about code - Use
gpt-5.1-codex-maxfor tasks involving many files or complex multi-step work
Reasoning Effort Levels
Always use xhigh reasoning for thorough analysis:
| Level | Use Case |
|---|---|
xhigh |
Default - Deep analysis, security review, architecture decisions |
high |
Complex analysis when latency matters |
medium |
Quick responses for simple tasks |
low/none |
Not recommended for advisor use cases |
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.
- 3mo ago First seen · 344 lines · 49 tokens per session scan A 523c751acaf7
codex-advisor is a skill published in the GitHub repository ckorhonen/claude-skills (33 stars, last pushed 3d ago), licensed MIT. It adds 49 tokens to every session and 2,513 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
codex-advisor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-advisorckorhonen/claude-skills | Skill | 33 | 3d ago | MIT | A | 49 | Claude Code |
| improveSethGammon/Citadel | Skill | 943 | 4d ago | MIT | A | 48 | Claude Code |
| triageSethGammon/Citadel | Skill | 943 | 4d ago | MIT | A | 71 | Claude Code |
| reviewSethGammon/Citadel | Skill | 943 | 4d ago | MIT | A | 17 | Claude Code |
| code-reviewwaybarrios/opencode-power-pack | Skill | 562 | 7d ago | MIT | A | 59 | Claude Code, Codex |
| codeqlwaybarrios/opencode-power-pack | Skill | 562 | 7d ago | MIT | A | 42 | Claude Code |
| sarif-parsingwaybarrios/opencode-power-pack | Skill | 562 | 7d ago | MIT | A | 91 | Claude Code |