call-codex

call-codex is a skill for Claude Code, Codex from Heapy/kortex. It costs 122 tokens per session (6,483 once invoked), scanned B, original, Apache-2.0.

A guide for using the Codex command-line tool as either an independent code reviewer or a delegated task runner. A reviewer gives a separate opinion, while an executor makes a scoped repository change.

In plain words
What is it for?
Use it when asking another Codex process to challenge a finding, review code, or complete a defined task in the repository.
Why use it?
It helps choose the right mode and permissions, provide the necessary context, and verify the result without confusing review with implementation.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the heapy plugin — 9 skills shipped together

Good fit Use it when asking another Codex process to challenge a finding, review code, or complete a defined task in the repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heapy/kortex/call-codex
View source ↗ Heapy/kortex
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 Heapy/kortex --skill call-codex
Clone the repo
git clone --depth 1 https://github.com/Heapy/kortex

Made for: Claude Code, Codex.

Or install heapy, 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 call-codex

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/heapy/kortex/call-codex"><img src="https://agentmods.dev/badge/skills/heapy/kortex/call-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. 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.00122 $0.06483
Opus 5.5 $0.00049 $0.02593
Sonnet 5.5 $0.00024 $0.01297
Haiku 4.5 $0.00012 $0.00648

Measured 2mo ago against content hash 683e7a4707b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

call-codex scanned grade B with 2 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 2mo 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.

`~/.codex/config.toml` supplies defaults (`model`, `model_reasoning_effort`, `sandbox_mode`,

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `-c sandbox_workspace_write.network_access=true` — dependency resolution, `git fetch`, curl.
plugins/heapy/skills/call-codex/SKILL.md · 452 lines

How it starts

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

Call Codex

Two modes

Reviewer Executor
Job break a claim do a scoped task
Sandbox read-only, or a throwaway worktree for experiments --approve-for-me plus what the task needs
The output that matters the disagreement the diff
Verified by reading the code reading the diff and running the tests

One binary, one set of traps, two different grants and two different prompts. Picking the wrong grant is the usual failure: a reviewer with write access starts fixing instead of judging, and an executor without network dies on the first dependency fetch.

Prerequisites

Check which codex. Report and stop if it is absent.

~/.codex/config.toml supplies defaults (model, model_reasoning_effort, sandbox_mode, sandbox_workspace_write.*, approvals_reviewer, web_search). Pass everything the run depends on explicitly anyway: behavior should not change because a default moved.

The user's words map to flags

When the user names a setting, pass that setting — never a nearby one without saying so.

  • "ultra" → -c model_reasoning_effort="ultra". The model catalog describes it as "Maximum reasoning with automatic task delegation": codex spawns its own agents, and the run takes longer than max. codex debug models lists which models offer it. If the chosen one does not, say so before launching and offer one that does — the run header still prints ultra, and PR #41206 says the request then falls back to max.
  • "fast" → -c service_tier="priority", the catalog's Fast tier (1.5–2× speed, more usage). The legacy value fast is accepted too. Neither the run header nor the session file records the tier, so a run cannot confirm it was applied.
  • "max", "xhigh", … → that model_reasoning_effort, if the model lists it.

Read the full file on GitHub · 452 lines

Files

What ships with it

1 file 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. 2mo ago Changed · +168 lines 683e7a4707b8
  2. 3mo ago First seen · 284 lines · 122 tokens per session scan B 81f075a0478d

Subscribe to this mod's changes

call-codex is a skill published in the GitHub repository Heapy/kortex (7 stars, last pushed 10d ago), licensed Apache-2.0. It adds 122 tokens to every session and 6,483 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

call-codex compared with skills from other repositories

call-codex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
call-codexHeapy/kortexSkill710d agoApache-2.0B122Claude Code, Codex
architecture-reviewyugash007/edu-agent-skillsSkill106mo agoMITA29Claude Code, Codex
project-reviewyugash007/edu-agent-skillsSkill106mo agoMITA34Claude Code, Codex
make-pr-easy-to-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA57Claude Code
thermo-nuclear-code-quality-reviewmichael-denyer/pstack-claudeSkill5.0ktodayMITA54Claude Code
solid-principlesdecebals/claude-code-javaSkill7801mo agoMITA73Claude Code, Codex
review-rpedrohcgs/claude-code-my-workflowSkill1.7k22d agoMITA102Claude Code