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 commands/sprklai/zenii/codex-auditgit clone --depth 1 https://github.com/sprklai/zeniiWhat 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.00000 | $0.07111 |
| Opus 5 | $0.00000 | $0.03556 |
| Sonnet 5 | $0.00000 | $0.01422 |
| Haiku 4.5 | $0.00000 | $0.00711 |
Grade A, and why
codex-audit 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 — 583 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cross-Model Code Audit: Codex Audits, Claude Judges & Fixes
This command runs a dual-agent audit: Codex CLI reviews code with fresh eyes, then Claude independently reads the actual code, judges each finding's validity, designs its own fixes where warranted, and applies only what passes rigorous verification.
Codex proposes, Claude disposes. Claude is the architect — it reads every referenced file, forms its own opinion, and never applies Codex's suggested fixes verbatim. A wrong fix is worse than no fix.
It runs automatically with NO user prompts unless findings need user decisions.
Arguments
$ARGUMENTS
Parse the arguments string for these options:
| Arg | Values | Default | Description |
|---|---|---|---|
| SCOPE | uncommitted, branch:NAME, commit:SHA, files:p1,p2, dir:PATH, crate:NAME, full |
uncommitted |
What code to review |
| --focus | security, performance, logic, error-handling, concurrency, race-conditions, api, frontend, architecture, all |
all |
Narrow the audit focus |
| --fix | flag | off | Auto-apply "Apply" findings without asking |
| --dry-run | flag | off | Show Codex findings only, no validation or fixes |
Scope details:
uncommitted— audit only uncommitted changes (git diff)branch:NAME— audit diff between current branch and NAMEcommit:SHA— audit a specific commit's changesfiles:p1,p2— audit specific files (comma-separated paths)dir:PATH— audit all source files under a directory (e.g.,dir:crates/zenii-core/src/gateway)crate:NAME— shorthand for auditing a workspace crate (e.g.,crate:zenii-core→crates/zenii-core/)full— audit entire codebase
If $ARGUMENTS is empty, use defaults: scope=uncommitted, focus=all, no flags.
Instructions
Follow these steps strictly and sequentially. Stop immediately if any pre-flight check fails.
Step 0: Pre-flight checks
0a. Check Codex is installed
Run which codex. If it fails, print:
Codex CLI not found. Install it:
npm install -g @openai/codex
Then authenticate:
codex login
STOP.
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 · 583 lines · 0 tokens per session scan A 16546406c436
codex-audit is a command published in the GitHub repository sprklai/zenii (23 stars, last pushed 24d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,111 tokens. 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-30.
Other commands, from other repositories
onboard
Orient yourself in this repo — layout, entry points, and where the thing you are about to change lives.
code-apply-hermit
Hands the P1–P5 findings from the most recent /code-review to Hermit so Claude doesn't burn tokens re-reading every file and retyping every edit. Claude stays on judgment; Hermit does the mechanical apply.
collaborative-spec-builder-existing
Build an aspirational specification for existing code and identify gaps to address.
toefl-grade
TOEFL 답안/녹음 채점 — 로컬 LLM(Ollama)과 whisper.cpp로 4개 영역을 채점하여 SCORES.md에 점수를 누적 기록한다.
toefl-practice
TOEFL 유형 문제 생성 — 로컬 LLM(Ollama)이 reading/listening/speaking/writing 영역의 실전형 문제를 생성하여 practice/에 저장한다.
toefl-roadmap
이번 주 토플 학습 로드맵/과제 표시 — schedule.yaml에서 사용자가 지정한 학습 기간·요일·시간대·주차별 목표를 읽어 현재 날짜 기준으로 안내한다.