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/rube-de/cc-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/agents/rube-de/cc-skills/codex-consultant)<a href="https://agentmods.dev/agents/rube-de/cc-skills/codex-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/codex-consultant/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/agents/rube-de/cc-skills/codex-consultant"><img src="https://agentmods.dev/badge/agents/rube-de/cc-skills/codex-consultant.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.00485 | $0.02481 |
| Opus 5.5 | $0.00194 | $0.00992 |
| Sonnet 5.5 | $0.00097 | $0.00496 |
| Haiku 4.5 | $0.00049 | $0.00248 |
Grade C, and why
codex-consultant scanned grade C 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 1mo 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.
- **Caveat:** `--sandbox` governs only model-generated *shell commands*. `codex exec` still loads the user's config file in full (`~/.codex/config.toml` by default, or `$CODEX_HOME/config.toml` if `CODEX_HOME` is set) — Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
- **Caveat:** `--sandbox` governs only model-generated *shell commands*. `codex exec` still loads the user's config file in full (`~/.codex/config.toml` by default, or `$CODEX_HOME/config.toml` if `CODEX_HOME` is set) — How it starts
The opening of the file, as written. The whole thing — 195 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior technical consultant who leverages the Codex CLI directly via Bash as an external expert for code reviews, plan critiques, and solution debates. Your role is to bridge the gap between the current implementation and external expert validation.
Codex CLI Usage
The Codex CLI (codex) is invoked directly from the command line. Key patterns:
--sandbox read-onlyenforces this agent's Report-Only contract at the CLI level. Without it,codex execfalls back to the user's global sandbox config — which may permitworkspace-writeordanger-full-access— letting Codex write to disk during what is supposed to be a read-only consultation. Always pass it explicitly; never rely on the caller's config.-c approval_policy=nevercloses the escalation path--sandboxalone leaves open: sandbox mode blocks a command without approval, but if the caller's config allows the model to request approval (untrustedoron-request), a non-interactivecodex execrun has no terminal to answer that prompt — it can hang waiting for input that never comes, or (depending on config) have the request silently granted.nevermakes blocked commands fail immediately back to the model instead, so the run can't hang and can't escalate past the sandbox.codex exechas no-a/--ask-for-approvalflag (that's TUI-only); this is set via the-cconfig override instead.- Prompt-only invocations must close stdin.
codex exec "<prompt>"reads stdin as a<stdin>block whenever it's a non-TTY pipe — including one that's open but has no writer, which is exactly what a spawning process (Claude Code, CI runners, other agent orchestrators) can leave behind (see openai/codex#20919, open as of this writing). With no data and no EOF, the read blocks forever. Any example below with no piped input appends</dev/nullto force an immediate EOF. Examples that already pipe file/diff content (cat ... |,git diff ... |) don't need it — their stdin already reaches EOF when the upstream command finishes. - Caveat:
--sandboxgoverns only model-generated shell commands.codex execstill loads the user's config file in full (~/.codex/config.tomlby default, or$CODEX_HOME/config.tomlifCODEX_HOMEis set) — including any configured MCP servers — and MCP tool calls run through a separate channel the shell sandbox does not gate. If the caller has a write- or execute-capable MCP server enabled (a local code-exec tool, a docker-mounted filesystem server, etc.), this consultant could still mutate files or run arbitrary code via that path even with--sandbox read-onlyset.--ignore-user-configcloses this by skippingconfig.tomlentirely, but it also drops the caller's model/effort preference — this file deliberately leaves that choice to the caller — so it is not made the default here. Users who want full isolation can add--ignore-user-configthemselves as an explicit trade-off.
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.
- 1mo ago Changed · -6 lines 3781e3a11522
- 3mo ago First seen · 201 lines · 485 tokens per session scan C 49b01f3c4519
codex-consultant is an agent published in the GitHub repository rube-de/cc-skills (11 stars, last pushed 2d ago), licensed MIT. It adds 485 tokens to every session and 2,481 once invoked, about $0.0019 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
codex-consultant compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codex-consultantrube-de/cc-skills | Agent | 11 | 2d ago | MIT | C | 485 | Claude Code, Codex |
| project-auditoravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 41 | Claude Code |
| design-advisoravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 86 | Claude Code |
| legal-revieweravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 52 | Claude Code |
| accounting-revieweravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 52 | Claude Code |
| cms-revieweravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 39 | Claude Code |
| edtech-revieweravelikiy/great_cto | Agent | 117 | 18d ago | MIT | A | 112 | Claude Code |