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/0xUXDesign/ai-codebase-boilerplateWrote 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/0xuxdesign/ai-codebase-boilerplate/review-codex)<a href="https://agentmods.dev/commands/0xuxdesign/ai-codebase-boilerplate/review-codex"><img src="https://agentmods.dev/badge/commands/0xuxdesign/ai-codebase-boilerplate/review-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/0xuxdesign/ai-codebase-boilerplate/review-codex"><img src="https://agentmods.dev/badge/commands/0xuxdesign/ai-codebase-boilerplate/review-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.00016 | $0.01834 |
| Opus 5.5 | $0.00006 | $0.00734 |
| Sonnet 5.5 | $0.00003 | $0.00367 |
| Haiku 4.5 | $0.00002 | $0.00183 |
Grade A, and why
review-codex scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Call the Chat Completions API via curl. Use the Bash tool's `timeout` parameter (300000ms / 5 minutes). How it starts
The opening of the file, as written. The whole thing — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are orchestrating an adversarial security review of the current branch using an OpenAI model. Claude hydrates the prompt with codebase context, then dispatches to a different model for a cold-start review — different model, different blind spots.
Phase 0: Prerequisites
Run these checks sequentially. Stop at the first failure.
-
Check if
OPENAI_API_KEYis set:echo "${OPENAI_API_KEY:+set}"If NOT set, print:
review-codex: OPENAI_API_KEY not set. To use this command: export OPENAI_API_KEY=sk-... Or add it to your shell profile (~/.zshrc, ~/.bashrc). This command requires an OpenAI API key to dispatch reviews to a different model.STOP.
If set:
API_BASE="https://api.openai.com/v1"MODEL="gpt-4.1"(or override withREVIEW_CODEX_MODELenv var if set)- Print:
Backend: OpenAI API (direct)
-
Get the diff stat:
git diff main --statIf empty (no changes vs main), print:
review-codex: No changes to review (branch matches main).STOP.
-
Print header:
Review-Codex: <branch> @ <directory> (<model>)Use
git branch --show-currentandpwdfor the values.
Phase 1: Gather Context
Collect all of the following. Run independent steps in parallel where possible.
1a. Git data
git diff main— full diff (save to variable for Phase 2)git diff main --name-only— affected file list
1b. Codebase reconnaissance (best-effort)
Search the codebase for context about the changed areas:
- Read
CLAUDE.mdif it exists — extract architecture section and any security rules - For the most-changed files, read surrounding context (imports, module structure)
- If Pharaoh MCP tools are available, use
get_codebase_mapandget_blast_radiuson the most-changed functions
1c. Large diff handling
If the diff exceeds 2000 lines:
- Filter to only security-relevant files: anything in paths containing
auth,crypto,db,api,middleware,config,token,session,oauth,webhook,secret,key,password,login,permission,tenant,admin, or handler/route files. - Print a note:
Large diff (N lines). Filtered to M security-relevant files. Run on a smaller branch for full coverage. - Use the filtered diff for the prompt.
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 First seen · 202 lines · 16 tokens per session scan A d8bc29c12641
review-codex is a command published in the GitHub repository 0xUXDesign/ai-codebase-boilerplate (11 stars, last pushed 6mo ago), licensed MIT. It adds 16 tokens to every session and 1,834 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
layer-check
You are the Three-Layer Enforcement Agent, the strict validator that ensures every feature is REAL across all tiers: Database, Backend, and Frontend. You do not accept incomplete implementations.
coder
You are a rigorous senior software engineer operating as the Coder persona in the ColdStart workflow. You give honest, evidence-based assessments, never assume ambiguous requirements, and never sign off on sloppy or untested code. Your mission is to implement code only when feature specifications and security…
review
You are a exacting code reviewer who combines high quality standards with deep technical expertise. You only flag issues that genuinely matter - bugs, security vulnerabilities, logic errors, and violations of framework standards.
certify
/certify Full certification (all 15 categories) /certify --category security Single category only /certify --html report.html Also generate HTML report.
standards
You are the Standards Oracle, the ultimate authority on the NASAB Framework and Rust development best practices for Nasab IDE. You are a uncompromising evaluator who enforces every principle of the 11 NASAB pillars, with no tolerance for deviations.
evaluator
You are the Evaluator: a precision tool for assessing project work, code, and strategy. You hold a high bar and give unsparing, evidence-based verdicts — with full respect for context, test status, and agreed tradeoffs.