codex-review
Skill1 starsChanged 4 months agoMITView on GitHub
Conducts senior-level peer code reviews, security vulnerability audits, concurrency and memory safety inspections, and architectural compliance checks. Generates timestamped code review walkthroughs in codex-drive/walkthroughs/.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- connorch/skillstheir own version, first seen Oct 5, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- ryanportfolio/HarnessFirmware.comtheir own version, first seen Sep 29, 2026
- mia-cx/skillstheir own version, first seen Sep 29, 2026
Used with
Projects with it also use addskill, advocate and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.
Also in 3 projects that use this
ryanportfolioSkilladvocate
Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.
Also in 3 projects that use this
- +10 more from ryanportfolio
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- chaseai-yt/claudex-loop★ 2.7ksame name
- alinaqi/maggy★ 707same name
- ai-analyst-lab/ai-analyst★ 304same name
- suyuan2022/suyuan-skill★ 265same name
- Sateezg/codex-bridge★ 247same name
- sd0xdev/sd0x-harness★ 191same name
- oborchers/proqi★ 42same name
- iamneilroberts/claude-skills★ 26same name
- TSS-Blue-AI-Lab/ai-lab-agent-skills★ 25same name
- antorsae/dual-agent★ 17same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- codex-architectureSkill
- codex-brainSkill
- ai-codex-c-cppSkill
- ai-codex-csharp-dotnetSkill
- codex-debugSkill
- codex-deepSkill
- codex-elixirSkill
- codex-flutter-dartSkill
- codex-goalSkill
- ai-codex-goSkill
- ai-codex-java-kotlinSkill
- ai-codex-phpSkill
- codex-plansSkill
- ai-codex-pythonSkill
- ai-codex-rustSkill
- codex-skillsSkill
- codex-solidity-web3Skill
- codex-sql-databaseSkill
- codex-startSkill
- ai-codex-swiftSkill
- codex-testSkill
- ai-codex-typescript-reactSkill
- ai-codex-ui-ux-designSkill
- codex-zigSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Before merging pull requests or releasing code to production
- Very specific: line 66
All review reports generated by codex-review MUST be Markdown (.md) files with exact date-time metadata.
“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Review — Senior Peer Review & Security Audit Skill
The code review and security audit engine of AI Codex. Provides thorough, senior-level critiques focused on correctness, security, concurrency, performance, and maintainability.
Overview
codex-review operates as a rigorous Principal Engineer and Security Reviewer. It analyzes pull requests, git diffs, or existing files for subtle security flaws (OWASP), memory leaks, concurrency races, architectural violations, and anti-patterns. It produces actionable, timestamped review reports in codex-drive/walkthroughs/.
When to Trigger
- User runs
/codex-review(e.g.,/codex-review review src/auth/,/codex-review security audit on payment module,/codex-review check latest commit diff) - Before merging pull requests or releasing code to production
- Evaluating third-party dependencies or legacy codebases
Execution Workflow
┌────────────────────────────────────────────────────────┐
│ 1. RETRIEVE CODE DIFF / TARGET FILES │
│ Analyze modified lines, context, and dependencies. │
└──────────────────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 2. RUN MULTI-DIMENSIONAL AUDIT │
│ Security, Concurrency, Performance, Standards. │
└──────────────────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 3. FORMULATE ACTIONABLE DIFF RECOMMENDATIONS │
│ Provide concrete code replacements with rationale. │
└──────────────────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 4. WRITE REVIEW REPORT IN CODEX-DRIVE │
│ Write codex-drive/walkthroughs/YYYY-MM-DD-*.review.md│
└──────────────────────────┬─────────────────────────────┘
│
▼
┌────────────────────────────────────────────────────────┐
│ 5. PRESENT CRITIQUE & MERGE RECOMMENDATION │
│ APPROVE / REQUEST_CHANGES / BLOCKING_SECURITY_ISSUE │
└────────────────────────────────────────────────────────┘Review Walkthrough Specification (codex-drive/walkthroughs/)
All review reports generated by codex-review MUST be Markdown (.md) files with exact date-time metadata.
Filename Format:
codex-drive/walkthroughs/YYYY-MM-DD-<slug>.review.md
Standard Code Review Template:
# [PR / Feature / Module Name] Senior Code Review & Security Audit
> **Created At**: YYYY-MM-DD HH:MM:SS (Local Time)
> **Active Codex Edition**: [`skills/codex/<edition>/`](file:///...)
> **Review Verdict**: [OK] APPROVED | [WARNING] REQUEST_CHANGES | BLOCKER_SECURITY_ISSUE
> **Files Reviewed**: `src/api/auth.ts`, `src/db/user-repository.ts`
---
## 1. Executive Summary
[High-level evaluation of code quality, architecture adherence, and release readiness]
---
## 2. Findings Summary Matrix
| Severity | Category | File & Line | Brief Description |
| :--- | :--- | :--- | :--- |
| **CRITICAL** | Security | `auth.ts:L42` | Potential SQL injection in raw query |
| [WARNING] **WARNING** | Concurrency | `session.ts:L88` | Unsynchronized access to shared cache |
| **NOTE** | Performance | `user-repo.ts:L110` | Missing database index on lookup column |
---
## 3. Detailed Findings & Suggested Diffs
### [CRITICAL] SQL Injection Hazard in Authentication
- **Location**: `src/api/auth.ts:L42`
- **Issue**: Direct string interpolation into raw database query allows authentication bypass.
- **Remediation**: Use parameterized queries.
```diff
- const query = `SELECT * FROM users WHERE email = '${req.body.email}'`;
+ const query = `SELECT * FROM users WHERE email = $1`;
+ const result = await db.query(query, [req.body.email]);[WARNING] [WARNING] Data Race on In-Memory Token Cache
- Location:
src/services/session.ts:L88 - Issue: Concurrent coroutines/threads mutate dictionary without synchronization.
- Remediation: Use a thread-safe dictionary, mutex, or actor isolation.
4. Code Standards & Architecture Compliance
- Type Safety: No untyped
anyor blind force unwraps (!). - Error Handling: Custom typed error hierarchy used consistently.
- Test Coverage: PR includes comprehensive unit and integration tests.
5. Final Recommendation
- Block merge until Critical security item is resolved.
- Address Warning before deployment to production.
---
## Response Protocol
When `codex-review` finishes:
1. Provide a direct link to `[View Code Review Report](file:///.../codex-drive/walkthroughs/YYYY-MM-DD-<slug>.review.md)`.
2. Clearly state the **Review Verdict** (Approved / Request Changes / Blocker).
3. List the top actionable fixes that need to be made immediately.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

