OpenQodex Pre-Push Code Review
One command that runs the right security, secret, dependency and lint scanners on your pending change, has a separate AI reviewer verify every finding and changed line, and prints a verdict plus a full report.
Security & ReviewIntermediate★ 1,213⑂ 87AI score 9/10Last updated: Nov 24, 2026
What it does
- Freezes your current change (unpushed commits plus everything uncommitted, including untracked files) and runs only the scanners that match the changed file types: gitleaks, semgrep, bandit, hadolint, shellcheck, actionlint, osv-scanner, and more.
- Spawns a separate reviewer process (Claude Code or Codex, with no memory of your session) that is shown every changed line and must verify every scanner finding, answering in a fixed shape that is then validated by scripts.
- Prints a short receipt — verdict, one line per finding (severity, category, file, line) and the absolute path to
report.html— while the full detail lands inreport.html,report.md,report.jsonandreport.sarif. - Enforces guardrails: the agent must not edit code before you pick findings, must not run
openqodex trustor setOPENQODEX_SKIPon its own, and must not push on ablockedverdict. - Also reviews other branches and pull requests (
review feature/login,review '#42') in a temp checkout, without running or editing someone else's code.
Who it's for
- Developers who want a mechanical last check for leaked secrets, vulnerable dependencies and insecure patterns before
git push. - Teams already on Claude Code or Codex who don't want extra API keys or accounts.
- Security-minded reviewers who need SARIF/JSON output to feed into CI or triage tooling.
Examples
- Pre-push gate: "Review my changes before I push" →
reviewruns → receipt shows 3 findings → you say "fix 2 and 3" →findings 2,3prints full detail, fixes are applied, review re-runs. - PR review: paste a pull request link →
review '#42'reviews only what the PR added since its base branch. - Restricted network: run with
--offlineto skip semgrep, osv-scanner, kubeconform and cargo-deny and rely on local scanners only.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/openqodex/openqodex/HEAD/plugins/claude-code/skills/openqodex/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the plugins/claude-code/skills/openqodex folder from the GitHub repo openqodex/openqodex into my ~/.claude/skills/openqodex/. When it's done, tell me in one line what this skill can do.
Install with a command instead
npx -y openqodex@0.24.0 init --yes --agent claude-code⚠ This is a third-party skill. Check the source repository before installing.
- Make sure Node.js (so you have
npx) and git are installed. No API key is needed — the reviewer uses your existing Claude Code or Codex login. - Open a terminal and
cdinto the repository you want reviewed. - Install and run the first review in one step:
npx -y openqodex@0.24.0 init --yes --agent claude-code- The first run downloads scanners and performs a review, so it can take several minutes — run it in the background and wait for it to exit.
- Using Cursor, Cline or Codex? Swap
--agentforcursor,clineorcodex.
- After install,
~/.openqodex/bin/openqodexexists and later reviews are justopenqodex review. - If your agent runs in a sandbox with no network, run this once in your own terminal inside the repo:
npx -y openqodex@0.24.0 doctor --install. - Tune team settings in the repo's
.openqodex/config.yaml:block_on_severity(when a push is blocked),review.reviewers(which agent/model reviews), andreview.reviewer_web: offto disable the reviewer's web access. Commit that file; the generated reports are gitignored automatically.
View source on GitHub ↗License: Apache-2.0