Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loopsnpx agentmods add skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-codexWrote 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/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-codex)<a href="https://agentmods.dev/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-codex"><img src="https://agentmods.dev/badge/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-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/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-codex"><img src="https://agentmods.dev/badge/skills/michelkerkmeester/skilled-agent-harness_spec-driven-loops/cli-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Excessive Agency · line 212 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
- high Agent Snooping · line 264 Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
- high Rogue Agent · line 289 Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
- medium Rogue Agent · line 262 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Excessive Agency · line 301 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00029 | $0.08364 |
| Opus 5.5 | $0.00012 | $0.03346 |
| Sonnet 5.5 | $0.00006 | $0.01673 |
| Haiku 4.5 | $0.00003 | $0.00836 |
Grade B, and why
cli-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 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Always pass `-c service_tier="fast"` explicitly** — this routes through the fast tier instead of whatever the caller's `~/.codex/config.toml` defaults to. Explicit means reproducible regardless of who runs it. Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
ancestry = subprocess.check_output(['ps', '-o', 'command=', '-p', str(os.getppid())]).decode() How it starts
The opening of the file, as written. The whole thing — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Canonical source:
.skilled/skills/cli-external-orchestration/cli-codex/. This is a generated markdown-only copy so Hermes can load the skill without scanning the canonical directory. Readreferences/,assets/andscripts/from the canonical path above.
Codex CLI Orchestrator - Cross-AI Task Delegation
CRITICAL — SELF-INVOCATION PROHIBITED
This skill dispatches to the OpenAI CLI binary (
codex). If the agent currently reading this skill is itself running inside Codex (detection signals listed in §2), the skill MUST refuse to load and return the documented error message instead of generating anycodexinvocation.A running CLI skill never dispatches itself. The cli-X skills are for cross-AI delegation only — never self-invocation.
Orchestrate OpenAI's Codex CLI for tasks that benefit from a second AI perspective, real-time web search, deep codebase analysis, built-in code review workflows, or parallel code generation.
Core Principle: Use Codex for what it does best. Delegate, validate, integrate. The calling AI stays the conductor.
1. WHEN TO USE
Activation Triggers
- Cross-AI Validation — code review second perspective, security audit alternative analysis, bug detection,
/reviewdiff-aware workflow. - Web Research — current internet info via the top-level
--searchflag (codex --search exec …), latest library versions, API changes, community solutions. - Codebase Architecture Analysis — onboarding to unfamiliar codebases, cross-file dependency mapping, architecture docs from code.
- Parallel Task Processing — offloading generation, simultaneous code generations, background docs/test generation.
- Agent-Delegated Tasks — specialized profile matches (
.codex/agents/*.toml), session management (resume, fork), multi-strategy planning. - Specialized Generation — explicit Codex requests, test suite generation, code translation, batch docs (JSDoc, README, API), visual input via
--image/-i.
What ships with it
60 files 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.
- assets/prompt-quality-card.md 2.2 KB
- assets/prompt-templates.md 29 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/failed-runs.md 143 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/findings-and-recommendations.md 191 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/results.csv 311 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/skill-benchmark-report.json 1.9 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/skill-benchmark-report.md 1.6 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-2/source.md 954 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/failed-runs.md 143 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/findings-and-recommendations.md 191 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/results.csv 320 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/skill-benchmark-report.json 1.9 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/skill-benchmark-report.md 1.6 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-3/source.md 954 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/failed-runs.md 143 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/findings-and-recommendations.md 191 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/results.csv 314 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/skill-benchmark-report.json 1.9 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/skill-benchmark-report.md 1.6 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing-4/source.md 954 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/failed-runs.md 143 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/findings-and-recommendations.md 191 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/results.csv 304 B
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/skill-benchmark-report.json 1.9 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/skill-benchmark-report.md 1.6 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--agent-routing/source.md 954 B
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/failed-runs.md 144 B
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/findings-and-recommendations.md 192 B
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/results.csv 259 B
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/skill-benchmark-report.json 1.8 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/skill-benchmark-report.md 1.5 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--built-in-tools/source.md 955 B
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/failed-runs.md 144 B
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/findings-and-recommendations.md 192 B
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/results.csv 338 B
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/skill-benchmark-report.json 1.9 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/skill-benchmark-report.md 1.6 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--cli-invocation/source.md 955 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/failed-runs.md 135 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/findings-and-recommendations.md 183 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/results.csv 193 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/skill-benchmark-report.json 1.8 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/skill-benchmark-report.md 1.5 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-10/source.md 946 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/failed-runs.md 135 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/findings-and-recommendations.md 183 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/README.md 1.3 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/results.csv 193 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/skill-benchmark-report.json 1.8 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/skill-benchmark-report.md 1.5 KB
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-11/source.md 946 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-12/failed-runs.md 135 B
- benchmark/reports/2026-08-08--manual-testing-playbook--codex-12/findings-and-recommendations.md 183 B
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 Changed 693aabeb7e9b
- 12d ago Changed 16faf59e124b
- 23d ago Changed · -9 lines 7611b6571807
- 26d ago Changed 0dfbc14f62da
- 29d ago Changed · +1 lines 7ede47d11a73
- 1mo ago Changed b380b7ac6ced
- 1mo ago Changed 895bfe5b8639
- 1mo ago Changed · +7 lines 4967e7c3e6a3
- 1mo ago Changed f88f6f9b8c07
- 1mo ago First seen · 384 lines · 29 tokens per session scan B 687a1388065b
cli-codex is a skill published in the GitHub repository MichelKerkmeester/skilled-agent-harness_spec-driven-loops (38 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 8,364 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
autoreview
Structured code review through the shared OpenClaw agent-skills installation.
omh-code-review
This is an OMH code-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
revdiff-plan
Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response"…
re0-merge
Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…
explore-unknowns
Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work through known unknowns, unknown knowns, and unknown unknowns one stage at a time, ending with a complete four-quadrant map in the user's hands. Use when a request is ambiguous or underspecified, the…
asplos-writing-style
Use when drafting or revising ASPLOS prose — engineering the first two pages that rapid review actually reads, stating the cross-layer insight as one quotable sentence, structuring per-layer mechanism sections, writing bounded claims, and fitting everything into 11 self-contained pages that include figures and…