Code review before you push, inside Claude Code. One command runs the scanners that fit your change (Semgrep, Gitleaks, OSV-Scanner, ShellCheck, Ruff and more) on the lines you changed for security vulnerabilities, hardcoded secrets, vulnerable dependencies and lint errors. It then starts a separate reviewer, a fresh Claude Code or Codex process that checks every scanner finding and is given every changed line, and scripts check the reviewer's answer. Use after writing or changing code and before git push. Free and open source, on your own Claude Code or Codex login, with no other key or account.
Open source code review that runs inside your coding agent, before you push. A separate reviewer checks every change your agent writes. A code graph gives your agent a map of your codebase. Works in Claude Code, Codex, Cursor, Cline and Goose.
Install
npx openqodex init
Then say to your agent: "review my change with openqodex". init finds the agents on your machine, lists the files it will write and the reviewers it plans for your team, and asks you. In your own terminal, run ~/.openqodex/bin/openqodex review. An npx install puts no openqodex on your PATH.
<host> is claude-code, codex, cursor, cline or goose. In its default sandbox, Codex gives commands no network, so run this line in your own terminal. The quickstart has a prompt to paste into your agent. AI agents: read the agent guide.
A review of the demo repository with openqodex 0.22.0, on 2026-11-21. The reviewer was Claude Code 2.1.330 with claude-opus-5-5.
openqodex review reviews your change in one command. Your change is the commits you have not pushed plus everything uncommitted.
It runs the scanners that fit the files you changed, and keeps their findings on the lines you changed. A scanner is a program that checks code without a model, such as gitleaks or semgrep.
Every supported lockfile in the repository is checked against osv.dev at every review and scan of a change. Advisories outside the changed lines are shown, never counted.
Fresh reviewers check the change: separate Claude Code or Codex processes on your own login, with no memory of your session.
A script checks every line a reviewer quotes as evidence against the code. Verifiers confirm or refute every candidate and every scanner finding.
At the end, it prints a receipt: the verdict, one line per finding and the path of report.html. It also writes report.md, report.json and report.sarif. Here is an example report.
You choose what gets fixed. Your agent asks "Fix all, or tell me which?" and fixes only the findings you name.
The push gate warns by default. It blocks only when .openqodex/config.yaml sets review.block_on_severity.
It runs only in repositories you opt in. A repository opts in with .openqodex/config.yaml, which openqodex init writes there. Elsewhere your agents do not review before a push, and the push gate says nothing.