OpenQodex Pre-Push Code Review
One command that scans only your changed code with the right security/secret/dependency/lint scanners, then has a separate AI reviewer verify every finding before you push.
Dev & CodingIntermediate★ 1,213⑂ 87AI score 9/10Last updated: Nov 24, 2026
What it does
- Freezes your current change (unpushed commits plus everything uncommitted, untracked files included) and reviews exactly that.
- Runs only the scanners that match the changed file types: gitleaks, semgrep, bandit, hadolint, shellcheck, actionlint, osv-scanner, cargo-deny, kubeconform and more.
- Spawns a separate reviewer process (Claude Code or Codex, with no memory of your session) that re-checks every scanner finding and reads every changed line.
- Prints a short receipt (verdict + numbered findings with file and line) plus full
report.html,report.md,report.jsonandreport.sarifartifacts. - Can review another branch or a pull request (
review '#42') read-only, without running that code.
Who it's for
- Developers who want secrets, vulnerabilities and risky dependencies caught before
git push. - Small teams without a dedicated reviewer.
- Anyone who wants local SARIF/HTML reports before CI picks up the branch.
- Tech leads trying to cut PR review load.
Examples
- Pre-push gate: ask the agent to "review my changes" → it runs
review, shows the receipt, then you say "fix 1 and 3". - Pull request review:
npx -y openqodex@0.24.0 review '#42'checks out the PR in a temp folder and reviews only what it added over its base. - Unblocking a blocked push:
findings allprints each finding in full — where, why it matters, the fix and the source. - Air-gapped / offline: add
--offlineto skip the four scanners that need network access.
· · · 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/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 skills/openqodex folder from the GitHub repo openqodex/openqodex into my ~/.claude/skills/openqodex-openqodex-2/. 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 18+ and git are installed — run
node -vto check. - Open a terminal in the repository you want reviewed:
cd /path/to/your-repo. - Install and wire it into your agent with one command:
npx -y openqodex@0.24.0 init --yes --agent claude-code(use--agent codex,cursororclineif that's your host agent). - The first run downloads scanners and performs an initial review, so it can take several minutes — run it in the background and wait for it to exit.
- If your agent runs in a network-restricted sandbox, run
npx -y openqodex@0.24.0 doctor --installonce from your own terminal inside the repo. - After that, just ask Claude Code to "review before push", or run
npx -y openqodex@0.24.0 reviewyourself. - Optional: to actually block pushes, set
block_on_severityin the repo's.openqodex/config.yamland commit it — with no config OpenQodex only warns.
View source on GitHub ↗License: Apache-2.0