Codex Code Reviewer
VCnoC/Claude-Code-Zen-mcp-Skill-Work
Systematic code review workflow using zen mcp's codex tool. An agent skill from VCnoC/Claude-Code-Zen-mcp-Skill-Work.
When performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files.
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lyonzin/knowledge-rag rag-code-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/workflow/rag-code-review .claude/skills/rag-code-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .claude/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lyonzin/knowledge-rag rag-code-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/workflow/rag-code-review .agents/skills/rag-code-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .agents/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lyonzin/knowledge-rag rag-code-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/workflow/rag-code-review .cursor/skills/rag-code-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .cursor/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lyonzin/knowledge-rag.git --path skills/workflow/rag-code-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lyonzin/knowledge-rag rag-code-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/workflow/rag-code-review .gemini/skills/rag-code-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .gemini/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lyonzin/knowledge-rag rag-code-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/workflow/rag-code-review .github/skills/rag-code-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .github/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lyonzin/knowledge-rag --skill rag-code-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lyonzin/knowledge-rag rag-code-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lyonzin/knowledge-rag.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/workflow/rag-code-review .opencode/skills/rag-code-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "rag-code-review" agent skill from https://github.com/lyonzin/knowledge-rag/tree/master/skills/workflow/rag-code-review into .opencode/skills/rag-code-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rag-code-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
rag-code-reviewWhen performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files.
RAG Code Review is an agent skill from lyonzin/knowledge-rag. When performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files. Grounds review comments in the team's actual decisions instead of generic best practices. Trigger on any review-style request — "review", "look at", "any issues with", "does this make sense".
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Retrieval-augmented generation, Architecture decision records and Code review. It works with Model Context Protocol. The repository describes itself as: Local RAG MCP server for Claude Code — hybrid search (semantic + BM25), cross-encoder reranking, 13 MCP tools, 20 format parsers. Zero external servers, zero API keys. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit df9cccb. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
RAG Code Review loads about 1.8k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 405 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from lyonzin/knowledge-rag at commit df9cccb, republished under its MIT licence (© lyonzin). 405 words, ~1,765 tokens.
.claude/skills/rag-code-review/SKILL.md (or your agent's skills folder).Trigger when the user asks:
Before offering ANY review comment, the agent consults the corpus for:
Review comments then read as "per ADR-XXXX we do Y here" rather than "generally you should Z".
Identify the "area" of the change. From the diff / snippet, extract:
services/payment/, mcp_server/security.py)Search for governing ADRs / standards:
search_knowledge(query="<concern> ADR standard", max_results=5)Example: search_knowledge(query="retry policy ADR")
Find similar existing files (patterns to follow):
search_similar(filepath="<the file being changed>", max_results=5)If the file is new, use search_knowledge with the file's purpose instead.
Look for prior incidents / postmortems on adjacent code:
search_knowledge(query="<component> incident postmortem", max_results=3)Structure the review comments:
### Findings
1. **[required]** Per ADR-0031 [docs/adr/0031-retries.md] the retry policy is
"3 attempts, exponential backoff". This PR uses 5 attempts — either match
the ADR or open a follow-up ADR to document the exception.
2. **[suggestion]** The error-handling shape here differs from what
`services/payment/refund_service.py` does [search_similar hit].
Consider aligning for consistency.
3. **[nit]** Missing docstring on `_new_helper()`. Team standard is ≥80%
docstring coverage (interrogate gate, per CONTRIBUTING.md).
### Not commented on
Style / naming / whitespace — those are ruff's job. Reviewed only what
ruff cannot catch.Every finding cites a source (ADR, similar file, incident, coding standard). If a finding is opinion-only, mark it [opinion] explicitly.
Example 1 — Retry policy diff
User: "Review this. for attempt in range(5): try: ... except: sleep(2) — new call site added to payment service."
Agent:
search_knowledge(query="retry policy exponential backoff") → 2 hits
→ docs/adr/0031-retries.md (0.83), services/common/retry.py (0.71)
search_similar(filepath="services/payment/refund_service.py") → 5 hits
→ All use `services/common/retry.retry_with_backoff` decorator
Reply: "3 findings:
1. **[required]** ADR-0031 [docs/adr/0031-retries.md] says '3 attempts, exponential
backoff, max 30s'. This code has 5 attempts + fixed 2s sleep — violates both.
Fix: use `@retry_with_backoff` decorator from `services/common/retry.py:12`.
2. **[required]** Bare `except:` catches BaseException including SystemExit and
KeyboardInterrupt. Team standard is to catch specific exceptions [PEP 8].
Change to `except (ConnectionError, TimeoutError) as e:`.
3. **[suggestion]** Every other payment service call site uses the decorator
pattern [services/payment/refund_service.py, capture_service.py]. This
ad-hoc loop is the odd one out — align for consistency."Example 2 — New auth middleware
User: "Look at this new middleware — it adds bearer auth to a new endpoint."
Agent:
search_knowledge(query="bearer auth middleware ADR") → 3 hits
→ docs/adr/0018-auth.md, mcp_server/security.py (existing BearerAuthMiddleware), CHANGELOG.md#v451
Reply: "The project already has `BearerAuthMiddleware` in `mcp_server/security.py:434`
with constant-time comparison, RFC 6750 challenge, exempt paths, etc. This new
middleware duplicates that logic — worse, uses `==` (timing side-channel).
Fix: import and reuse the existing `BearerAuthMiddleware` instead. If the new
endpoint has different auth needs (different token, different exempt paths),
compose the existing middleware or open an ADR before duplicating."Example 3 — Nothing to cite, honest
User: "Review this small helper for parsing dates."
Agent:
search_knowledge(query="date parsing helper standard") → 0 hits
search_similar(filepath="<the new file>") → 2 weak hits (unrelated helpers)
Reply: "Nothing in the corpus about date-parsing conventions here (searched
'date parsing helper standard' and adjacent files, 0 strong hits). Reviewing
against general Python practice:
1. **[opinion]** `datetime.strptime` is slow — if this is a hot path, consider
`dateutil.parser` or pre-compiling.
2. **[nit]** Missing timezone handling — will surprise on DST edges.
Flagging both as opinion/nit because there is no ADR to cite. If date parsing
becomes a repeated topic, worth opening an ADR."search_similar needs an existing file. Use search_knowledge with the file's purpose instead.rag-check-first — the base pattern (this is check-first specialized for review).rag-cite-sources — critical here; a review comment without a citation is just opinion.rag-deep-dive — for very architectural reviews, chain into deep-dive to understand the full context.rag-index-decisions — if the review surfaces a new pattern, index the decision.© lyonzin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/workflow/rag-code-review of lyonzin/knowledge-rag.
Open the folder on GitHubat commit df9cccb
RAG Code Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| RAG Code Review this skilllyonzin/knowledge-rag | 290 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Codex Code ReviewerVCnoC/Claude-Code-Zen-mcp-Skill-Work | 116 | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Skill Doli Code ReviewDolibarr/dolibarr | 7.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Dignified Python Standardsdocling-project/docling | 69k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Clean Code GuardamElnagdy/guard-skills | 1.3k | 2 repos | ~4.3k | Automated safety check: Pass | MIT |
VCnoC/Claude-Code-Zen-mcp-Skill-Work
Systematic code review workflow using zen mcp's codex tool. An agent skill from VCnoC/Claude-Code-Zen-mcp-Skill-Work.
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
Dolibarr/dolibarr
Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
amElnagdy/guard-skills
Reviews generated or changed production code against Clean Code, SOLID, DRY, KISS, YAGNI and LLM-specific failure modes before it ships, in any language.
tt-a1i/archify
Review Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and…
lyonzin/knowledge-rag
Before answering any technical question, code request, architecture decision, or factual claim, call searchknowledge to check the local corpus.
lyonzin/knowledge-rag
Every technical claim drawn from the local corpus must ship with a source citation formatted as path:line or path:section.
lyonzin/knowledge-rag
Three-step multi-tool workflow — search the corpus, fetch the most relevant document in full, then find similar documents.
lyonzin/knowledge-rag
When the user reports a bug, error message, stack trace, unexpected behavior, or "why is this broken" question, search the corpus first for prior occurrences, known fixes, or related runbooks.
lyonzin/knowledge-rag
Measure retrieval quality using evaluateretrieval (MRR@5 and Recall@5) and getindexstats.
lyonzin/knowledge-rag
After making a non-obvious architectural decision, solving a novel bug, agreeing on a coding standard, or reaching a conclusion worth remembering, index it back into the knowledge base so the next…
Works with
Categories
When performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files. RAG Code Review is an agent skill from lyonzin/knowledge-rag. When performing code review on a PR, diff, snippet, or "look at this change" request, first consult the corpus for related ADRs, coding standards, prior patterns, and similar files.
RAG Code Review fits situations like: any review-style request — review; any issues with; does this make sense.
Run `npx skills add lyonzin/knowledge-rag --skill rag-code-review -a claude-code`. Or copy the skill folder (skills/workflow/rag-code-review in lyonzin/knowledge-rag) into .claude/skills/rag-code-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lyonzin/knowledge-rag --skill rag-code-review -a codex`. Or copy the skill folder (skills/workflow/rag-code-review in lyonzin/knowledge-rag) into .agents/skills/rag-code-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lyonzin/knowledge-rag --skill rag-code-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rag-code-review, .gemini/skills/rag-code-review, .github/skills/rag-code-review and .opencode/skills/rag-code-review in your project.
SKILL.md names no scripts, command-line tools or credentials: RAG Code Review is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
RAG Code Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with RAG Code Review: Codex Code Reviewer (VCnoC/Claude-Code-Zen-mcp-Skill-Work, 116 stars), WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Skill Doli Code Review (Dolibarr/dolibarr, 7.7k stars) and Dignified Python Standards (docling-project/docling, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lyonzin (a GitHub user) maintains it in lyonzin/knowledge-rag, which has 290 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 4, 2026.
Source: lyonzin/knowledge-rag on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.