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.
git clone --depth 1 https://github.com/secondsky/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/commands/secondsky/claude-skills/consult-codex)<a href="https://agentmods.dev/commands/secondsky/claude-skills/consult-codex"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/consult-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.
<a href="https://agentmods.dev/commands/secondsky/claude-skills/consult-codex"><img src="https://agentmods.dev/badge/commands/secondsky/claude-skills/consult-codex.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.02359 |
| Opus 5.5 | $0.00020 | $0.00944 |
| Sonnet 5.5 | $0.00010 | $0.00472 |
| Haiku 4.5 | $0.00005 | $0.00236 |
Grade A, and why
multi-ai-consultant:consult-codex 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 8d 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 — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Consult OpenAI Codex
You are being asked to consult OpenAI's GPT 5.2 via the Codex CLI for a second opinion on a coding problem or architectural decision.
Your Task
- Pre-flight Check: Verify OpenAI API key is valid
- Navigate to Project: Change to project directory (Codex is repo-aware)
- Build Prompt: Create a clear, specific question
- Execute Consultation: Call Codex with auto-approval flags
- Parse Response: Read output from file
- Synthesize: Compare Codex's analysis with your own reasoning
- Present: Show 5-part synthesis to user
- Log Cost: Track tokens and cost
Step 1: Pre-flight Check
# Test if OpenAI API key is valid
if ! command -v openai &>/dev/null; then
echo "⚠️ OpenAI CLI not installed (optional for pre-flight check)"
echo "Attempting Codex consultation anyway..."
else
if ! openai api models.list &>/dev/null 2>&1; then
echo "❌ OpenAI API key not working"
echo ""
echo "Possible issues:"
echo "1. API key not set: export OPENAI_API_KEY='sk-...'"
echo "2. API key invalid: Check https://platform.openai.com/api-keys"
echo ""
echo "After fixing, try the consultation again."
exit 1
fi
fi
# Check if Codex CLI is installed
if ! command -v codex &>/dev/null; then
echo "❌ Codex CLI not installed"
echo ""
echo "Install with: npm install -g codex"
echo "Docs: https://www.npmjs.com/package/codex"
echo ""
exit 1
fi
If pre-flight check fails, stop here and show the error message to the user.
Step 2: Navigate to Project
Codex is repo-aware: It automatically scans the current directory for context.
# Get current project directory
PROJECT_DIR=$(pwd)
# Ensure we're in the right place
echo "📂 Consulting on project: $PROJECT_DIR"
Context behavior:
- Codex reads all non-gitignored files in directory
- Respects
.gitignoreautomatically - No need for
@<path>syntax - Will warn if not in Git repo (can override with
--skip-git-repo-check)
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.
- 8d ago First seen · 325 lines · 49 tokens per session scan A fe6a99c9ba03
multi-ai-consultant:consult-codex is a command published in the GitHub repository secondsky/claude-skills (257 stars, last pushed 8d ago), licensed MIT. It adds 49 tokens to every session and 2,359 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-11-22.
multi-ai-consultant:consult-codex compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| multi-ai-consultant:consult-codexsecondsky/claude-skills | Command | 257 | 8d ago | MIT | A | 49 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 27 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | 3d ago | MIT | A | 26 | Claude Code |
| specifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| convergegithub/spec-kit | Command | 153k | 3d ago | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 14 | Claude Code |