codex-consult

codex-consult is a skill for Claude Code, Codex from sam-mountainman/codex-mcp. It costs 70 tokens per session (666 once invoked), scanned A, original, MIT.

A set of instructions for using Codex as a read-only external architect and reviewer inside Claude Code.

In plain words
What is it for?
It helps developers ask Codex for implementation designs, second opinions, continued discussions, and reviews, with optional model and reasoning choices.
Why use it?
It explains which consultation tool to use for setup, planning, questions, follow-ups, and post-implementation review, avoiding unnecessary consultations.

Skill for Claude CodeCodex

Part of the codex-mcp plugin — 1 skill, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/sam-mountainman/codex-mcp/codex-consult
Any agent
npx skills add sam-mountainman/codex-mcp --skill codex-consult
Clone the repo
git clone --depth 1 https://github.com/sam-mountainman/codex-mcp

Made for: Claude Code, Codex.

Or install codex-mcp, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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-consult

README.md
[![agentmods](https://agentmods.dev/badge/skills/sam-mountainman/codex-mcp/codex-consult.svg)](https://agentmods.dev/skills/sam-mountainman/codex-mcp/codex-consult)
Your own site
<a href="https://agentmods.dev/skills/sam-mountainman/codex-mcp/codex-consult"><img src="https://agentmods.dev/badge/skills/sam-mountainman/codex-mcp/codex-consult.svg" alt="Measured on agentmods" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00070 $0.00666
Opus 5 $0.00035 $0.00333
Sonnet 5 $0.00014 $0.00133
Haiku 4.5 $0.00007 $0.00067

Measured 3d ago against content hash e032a700bfc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-consult 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 3d 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.

skills/codex-consult/SKILL.md · 49 lines

How it starts

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

Codex Consult

Use the codex MCP tools supplied by this plugin. Codex is the read-only external architect/reviewer; Claude Code remains the implementation agent.

Route

  • Setup or authentication issue: call gpt_status first.
  • Implementation design: call gpt_plan, then implement the useful parts with Claude Code.
  • Difficult question or second opinion: call gpt_ask.
  • Review after implementation: call gpt_review.
  • Follow-up in the same external conversation: call gpt_continue with the exact returned session_id.

Do not call Codex for every ordinary request. Use it when the user explicitly asks for GPT/Codex, requests this plugin, or asks for an external quality pass.

Model and reasoning selection

Pass a model only when the user names one. Map common names as follows:

  • GPT-5.6 -> gpt-5.6
  • GPT-5.6 Sol or Sol -> gpt-5.6-sol
  • GPT-5.6 Terra or Terra -> gpt-5.6-terra
  • GPT-5.6 Luna or Luna -> gpt-5.6-luna

Pass reasoning_effort only when the user specifies a level or intent:

  • quick, light, fast, 軽く, サクッと -> low
  • balanced, normal, 普通 -> medium
  • deep, careful, 深く, じっくり -> high
  • very deep, 徹底的 -> xhigh
  • maximum, max, 本気で, 最大 -> max
  • ultra, delegation, 並列で徹底的 -> ultra

Explicit values win over these mappings. Valid values exposed by the MCP server are none, low, medium, high, xhigh, max, and ultra. The local Codex model catalog is authoritative; if a combination fails, call gpt_status for that model and report the supported levels.

When neither setting is specified, omit both. The server default is gpt-5.6-sol with max, configurable through CODEX_MCP_DEFAULT_MODEL and CODEX_MCP_DEFAULT_REASONING_EFFORT.

Relay and continuation

Preserve the external model's concrete findings, caveats, and file references. You may synthesize them with your own judgment, but clearly distinguish disagreements.

For a follow-up, reuse the exact session_id. Changing the model or reasoning level on gpt_continue is allowed when the user requests it.

Read the full file on GitHub · 49 lines

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. 3d ago First seen · 49 lines · 70 tokens per session scan A e032a700bfc1

Subscribe to this mod's changes

codex-consult is a skill published in the GitHub repository sam-mountainman/codex-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 666 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other skills, from other repositories

luna-max-orchestrator

Orchestrate complex coding tasks with GPT-5.6 Sol as the controller and GPT-5.6 Luna at Max reasoning as isolated workers in separate top-level chats, never as native subagents. Use when the user asks for Luna Max workers, the Sol + Luna pattern, multi-chat delegation, model-tier-aware parallel implementation, or…

romolett0/luna-max-orchestrator · 79 tokens

optimize-claude-fable-5-prompts

Clarify, audit, and rewrite rough or existing prompts for Claude Fable 5 using Anthropic's official prompting guidance. Use when a user asks to optimize, improve, migrate, debug, or design a prompt for Claude Fable 5, including requests phrased as Fable or Fabel prompt optimization, Fable/Fabel 提示词优化, or when an…

IchenDEV/prompt-optimizer-plugins · 137 tokens

optimize-claude-opus-5-prompts

Clarify, audit, and rewrite rough or existing prompts for Claude Opus 5 using Anthropic's official prompting guidance. Use when a user asks to optimize, improve, migrate, debug, or design a prompt, system prompt, or agent harness for Claude Opus 5 (claude-opus-5), including requests phrased as Opus 5 prompt…

IchenDEV/prompt-optimizer-plugins · 182 tokens

optimize-gpt-5-6-prompts

Clarify, audit, and rewrite rough or existing prompts for GPT-5.6 Sol and the GPT-5.6 family using OpenAI's official prompting guidance. Use when a user asks to optimize, improve, rewrite, debug, migrate, or design a GPT-5.6 prompt, including requests phrased as GPT-5.6 提示词优化, or when an underspecified prompt needs…

IchenDEV/prompt-optimizer-plugins · 135 tokens

optimize-deepseek-v4-prompts

Clarify, audit, and rewrite rough or existing prompts specifically for DeepSeek-V4 Pro and Flash using the DeepSeek-AI V4 technical report as the model-specific evidence base. Use when a user asks to optimize, improve, rewrite, debug, migrate, or design a DeepSeek-V4 prompt, including requests phrased as DeepSeek…

IchenDEV/prompt-optimizer-plugins · 151 tokens

optimize-gemini-prompts

Clarify, audit, and rewrite rough or existing prompts for the Gemini model family using Google AI's official prompt design strategies. Use when a user asks to optimize, improve, rewrite, debug, migrate, or design a Gemini prompt, including requests phrased as Gemini 提示词优化, or when an underspecified Gemini prompt needs…

IchenDEV/prompt-optimizer-plugins · 126 tokens