PluginInstalls cleanly

Review your changes before you push

OpenQodex

Runs open-source code scanners and a second Claude Code or Codex reviewer on your unpushed changes, then gives you a plain report before you push.

Works with
Claude Code, Codex CLI
Good for
Security testing, Build an app

What it does

When an AI assistant writes code for you, nobody checks it a second time. OpenQodex adds that check before you push (upload) your work to GitHub or a server. It looks at your "change": the commits you have not pushed yet plus everything you have not committed.

First it runs scanner programs on the files you changed. A scanner checks code without an AI model, for example gitleaks for leaked passwords and keys. OpenQodex has 22 built-in scanners for secrets, security problems, dependencies with known holes, lint (style and error checks), GitHub Actions files, Docker, Terraform, Kubernetes and CloudFormation files, and SQL and database migrations. A scanner runs only when your change holds a file it reads.

Then it starts a separate Claude Code or Codex process as the reviewer, on your own login. So the assistant that wrote the code is not the one grading it. The reviewer must keep or drop every scanner finding and give a reason.

At the end you get a short receipt in the chat and a full report in report.html (also Markdown, JSON and SARIF, a standard format for scanner results). Your assistant asks "Fix all, or tell me which?" and fixes only what you name. A push gate warns you when no passing review exists. It blocks the push only if you set review.block_on_severity in .openqodex/config.yaml.

You need Node 22 or newer, git, and macOS or Linux. OpenQodex needs no account or API key of its own. Some scanners need a language that OpenQodex does not install, such as Ruby or Go.

Who it is for

People who let an assistant write code and want a careful second look before the code goes live. It suits beginners who cannot judge every change by eye, and anyone who worries about leaked keys.

Example prompts

  • "review my change with openqodex"
  • "Fix finding 2 and 3 from the openqodex report, leave the rest"
  • "Explain the openqodex report in plain words"
  • "Run openqodex on the whole project, not only my last change"

How to install

npx openqodex init

How to use it

Say to your assistant: review my change with openqodex. Then answer which findings it should fix.

Other assistants

Codex CLI is supported. It can start a review, act as the reviewer and use the push gate.

  1. Open your own terminal, not a Codex session. Codex runs commands in a sandbox with no network, so init cannot download from there.
  2. Go to your project folder and run:
npx openqodex init
  1. Read the list of files it will write and answer yes.
  2. Trust the OpenQodex hook when Codex asks, so the push gate can work.
  3. In Codex, say "review my change with openqodex".

Gemini CLI is not supported. The README lists only Claude Code, Codex CLI, Cursor and Cline.

Check it works

Run npx openqodex init in your project. It lists the files it will write and asks once. At the end it prints "Reviewer ready" or what to fix. Then run this in your terminal:

~/.openqodex/bin/openqodex review

It ends with a receipt: the verdict, one line per finding and the path of report.html. The npx install puts no openqodex command on your PATH, so use that full path.

Common problems

  • No reviewer — "Full review unavailable" — install Claude Code or Codex and log in. Until then OpenQodex saves the scanner findings unchecked in unchecked-candidates.json. The fallback review --agent lets your current assistant review its own change.
  • A part of the review did not run — "Review incomplete" — the report names the missing stage, often a missing language such as Ruby or Go. Install it and run the review again.
  • Codex cannot be the reviewer — the review stops inside a Codex session — a second Codex process cannot start inside the Codex sandbox. Run ~/.openqodex/bin/openqodex review from a normal terminal, or use Claude Code as the reviewer.
  • The push went through without a review — no warning on git push --no-verify — that flag skips the git hook. Push without it.
  • You do not want background updates — new versions appear by themselves — run ~/.openqodex/bin/openqodex update --off.
  • Your CLAUDE.md or AGENTS.md changed — a new "openqodex" section — init adds it so assistants review before a push. Run npx openqodex init --uninstall to remove it.

What to watch out for

  • Sends your code change to the model service of your Claude Code or Codex login
  • Downloads scanner programs on first use; some scanners use the network
  • Adds a git pre-push hook and agent hooks to your setup
  • Made for macOS and Linux; on Windows use WSL (npm page), which the README says is untested
  • init adds a review line to your assistant's global instructions and a section to the repo's CLAUDE.md and AGENTS.md
  • An init install checks npm daily and updates itself; turn it off with openqodex update --off
  • The reviewer can search the web by default; set reviewer_web: off in ~/.openqodex/config.yaml
  • The README has a line addressed to AI agents that points them to a separate install guide

Licence and author

Licence
Apache-2.0
Author
openqodex
Source code
github.com/openqodex/openqodex

How we tested it

We installed it on an empty test computer on 13 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.

Test level

Not yet used on real work.

Technical details of the test
Date
13 Oct 2026
Method
Intake sandbox run on 2026-10-13 in a clean container with no account: cloned the repository and checked its skill, agent and plugin files, ran "npx -y openqodex --help".

Checked again on 15 Oct 2026

Alternatives

  • PR Review Toolkit (Anthropic): reviewer agents inside Claude Code for the current change. It has no scanners and no push gate.
  • Gitleaks: the secrets scanner on its own, without an AI reviewer or a report.

FAQ

Does it need its own API key? No. It uses your Claude Code or Codex login. The review counts against that plan.

Will it block my pushes? Only if you set review.block_on_severity in .openqodex/config.yaml. By default it warns.

Does it work on Windows? Not directly. The npm page says to use WSL on Windows. The GitHub README says no test runs on Windows or WSL.

Does it send my code anywhere? OpenQodex and its built-in scanners send no code. The reviewer sends your change to the model service of your Claude Code or Codex login. The dependency scanner sends package names and versions to osv.dev. --offline stops the scanners that use the network. OpenQodex sends no telemetry.

Is it finished? No. The README says it is on the way to 1.0, and commands and settings can change between releases.

Sources