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 agentmods add skills/sam-mountainman/codex-mcp/codex-consultnpx skills add sam-mountainman/codex-mcp --skill codex-consultgit clone --depth 1 https://github.com/sam-mountainman/codex-mcpWrote 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/sam-mountainman/codex-mcp/codex-consult)<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>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 | $0.00070 | $0.00666 |
| Opus 5 | $0.00035 | $0.00333 |
| Sonnet 5 | $0.00014 | $0.00133 |
| Haiku 4.5 | $0.00007 | $0.00067 |
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.
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_statusfirst. - 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_continuewith the exact returnedsession_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.6GPT-5.6 SolorSol->gpt-5.6-solGPT-5.6 TerraorTerra->gpt-5.6-terraGPT-5.6 LunaorLuna->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.
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.
- 3d ago First seen · 49 lines · 70 tokens per session scan A e032a700bfc1
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.
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…
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…
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…
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…
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…
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…