⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

openqodex

openqodex@openqodex⭐ 1.2k stars· last commit 1d ago· 121 open issues

Code review for the current change, before it is pushed. One command runs the security, secret, dependency and lint scanners that fit the changed files, a separate reviewer that checks every scanner finding and is given every changed line, and prints a short receipt with the path of the full report. Use before every git push, when asked for a code review, a security scan, or to review changes, a diff or a pull request, and when a push was blocked or warned by OpenQodex.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐⭐⭐⭐ 1.2k on GitHubGitHub ↗

Very popular

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

OpenQodex

npm version licence CI Discussions

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 asks you once. In your own terminal, run ~/.openqodex/bin/openqodex review. An npx install puts no openqodex on your PATH.

For agents, the same install with no question:

npx -y [email protected] init --yes --agent <host>

<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.

Website · Docs · Benchmark · Changelog · Discussions

Looking for hosted pull request review? Sign up for Qodex.

What you get: a review before every push

  • 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.

What you get: a code graph

A picture drawn from real openqodex graph output on this repository, on 2026-11-21. The tool answers in text and JSON. It has no graph viewer.

  • The graph maps every function, class and type, and every call and import between them. It is built on your machine, with no model.
  • A review gives the reviewer what your change reaches in the graph: callers, callees, uses and importers.
  • Languages: TypeScript, TSX, JavaScript, Python, Go, Ruby and Java. Framework readers: Express, Hono, Nest, React, Next.js, FastAPI, Go net/http, gin, Django, Rails and JUnit. They add routes and tests.
  • You or your agent can ask it questions, such as who calls a function, what a change could affect, or which tests reach it. The code graph page lists every question.
    npx openqodex graph callers <name>
    npx openqodex graph impact <name>
    npx openqodex graph tests <name>
    
  • An MCP server is a local tool server that your agent starts. init gives your agent the graph questions through one. For the Cline VS Code extension and for Goose, init prints the entry for you to add.
  • Every answer says when it may be incomplete, and why. Zero callers on such an answer never means unused.

Where it runs

Coding agentStarts a reviewCan be the reviewerPush gate
Claude Codeyesyesyes
Codex CLIyesyesyes, after you trust the hook in Codex
Cursoryesnono, a rule asks Cursor to review
Clineyesnono, a rule asks Cline to review
Gooseyesnono, the hints ask Goose to review

In Cursor, Cline and Goose, the review needs Claude Code or Codex installed as the reviewer. A push gate is a hook that looks for a review before your agent runs git push. What init writes for each agent says how each gate works.

Benchmark

The chart shows one accepted run: Claude Code with claude-opus-5-5 on openqodex 0.15.0, run on 2026-10-27. Each number adds up 3 repeats of every case, and repeats of one case can give different results. The table shows selected accepted runs. The full results list every accepted run.

ReviewerModelCasesIssue recallPrecisionClean rateCost per reviewopenqodexRun date
Claude Code (claude-graph-on)claude-opus-5-5Planted bugs, dev split, scoring rules 11150/153 (98.0%)249/295 (84.4%) to 295/295 (100.0%)6/6 (100.0%)$0.43710.15.02026-10-27
Claude Code (claude-graph-on)claude-opus-5-5Planted b

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • plugins/claude-code/skills/openqodex/SKILL.md7.8 KBupstream ↗
    ---
    name: openqodex
    description: Code review for the current change, before it is pushed. One command runs the security, secret, dependency and lint scanners that fit the changed files, a separate reviewer that checks every scanner finding and is given every changed line, and prints a short receipt with the path of the full report. Use before every git push, when asked for a code review, a security scan, or to review changes, a diff or a pull request, and when a push was blocked or warned by OpenQodex.
    ---
    
    # OpenQodex: review the change before it is pushed
    
    OpenQodex reviews a change in one command. It takes a frozen copy of the change, runs the deterministic scanners that fit the changed files (gitleaks, semgrep, bandit, hadolint, shellcheck, actionlint, osv-scanner and others), keeps what they report on changed lines, and starts its own reviewer: a separate Claude Code or Codex process that reads only that copy. The reviewer checks every scanner finding, is given every changed line and answers in a fixed shape; OpenQodex checks the answer with scripts and prints one report. No key and no account are needed beyond the developer's Claude Code or Codex login. The code goes to the model that login uses. The reviewer can also search the web and open web pages unless `reviewer_web: off` is set in `~/.openqodex/config.yaml`. Two scanners go online, and neither sends code: semgrep downloads its rule packs from the Semgrep registry on each run, and when the change touches a dependency file, osv-scanner sends the names and versions of the dependencies to osv.dev. `--offline` skips both scanners.
    
    ## When to run
    
    - Before any `git push`.
    - When the developer asks you to review their changes.
    - When a push was blocked or warned by the OpenQodex hook.
    - After fixing findings, to check the change again.
    
    ## Who reviews
    
    OpenQodex starts its own reviewer process for every review, with no memory of this session. You do not start a subagent for it and you do not review the change yourself: run the command and show what it prints.
    
    If `review` says "Full review unavailable" and prints a way to review with the agent you are in, follow it: run the command it names and do what the brief it prints says.
    
    ## Procedure
    
    When the file `~/.openqodex/bin/openqodex` exists, run it in place of `npx -y openqodex@<version>` in every command of this skill: it is the copy `openqodex init` installed. When it does not exist, this skill was installed alone, with no push check: before the first review, run `npx -y [email protected] init --yes --agent <host>` once from the repository, where `<host>` is the agent you are (`claude-code`, `codex`, `cursor` or `cline`). It installs OpenQodex for you, then reviews the change when a reviewer can start, so it can take five minutes: allow it up to ten, or run it in the background and wait for it to exit. When it prints `First review: finished`, the receipt above that line is the review's: show it as step 3 says, then go on from step 4.
    
    1. From the repository, run:
    
       ```
       npx -y [email protected] review
       ```
    
       It reviews the change: the commits not yet pushed plus everything uncommitted, untracked files included. To review the whole repository instead, run:
    
       ```
       npx -y [email protected] review --all
       ```
    
    2. Wait for it. A review takes one to three minutes. Many agents stop a command after two minutes, so give it up to ten minutes, or run it in the background and wait until it exits. While the reviewer works, it prints a progress line every 15 seconds on stderr. Do not start it a second time while one runs.
    
    3. Show the developer the receipt it printed, as printed: the verdict, one line per finding (its number, severity, category, title, file and line) and the absolute path of `report.html`. Do not reword it, shorten it or add findings of your own. Give them the `report.html` path: that page shows each changed file with each finding under its line of code.
    
    4. Ask the developer: "Fix all, or tell me which?" Do not change any code before they answer. If they already told you what to fix, for example "review and fix everything", do that without asking again.
    
    5. Fix only the findings they name. This prints those findings in full (where, the problem, why it matters, the fix and the source), by their numbers in the receipt:
    
       ```
       npx -y [email protected] findings 1,3
       ```
    
       `findings all` prints every finding. When the fixes are done, run the review again and show the developer the new receipt.
    
    6. Act on the exit code:
       - 0: the review is complete and nothing blocks the push.
       - 1: the review is complete and its verdict is `blocked`. Do not push. Show the developer the receipt and ask which findings to fix; push only if they say so after seeing the findings.
       - 2: there is no complete review. The output says what is missing (for example "Full review unavailable" when no reviewer could start, or "Review incomplete" with the reasons). Tell the developer exactly that. Never present the scanner output as a review.
    
    ## Reviewing a branch or a pull request
    
    When the developer asks you to review a branch or a pull request that is not their current work, name it:
    
    ```
    npx -y [email protected] review feature/login
    npx -y [email protected] review '#42'
    ```
    
    Quote `#42`: in a shell `#` starts a comment. A pull request link works too. OpenQodex fetches the target, checks it out in a temporary folder and reviews what it added since it left its base. This is someone else's code: never run its tests, scripts, builds or services, and never edit it.
    
    ## Rules
    
    - Never edit code during the review. Review first, show the receipt, then fix only the findings the developer names (steps 3 to 5).
    - Never run `openqodex trust` without asking the developer first. It approves a custom scanner, which is a command that runs on their machine.
    - Never set `OPENQODEX_SKIP`. It is the developer's switch, not yours.
    - When OpenQodex prints that files it wrote for your agent are from an older version and that `init` refreshes them, tell the developer in one line and give them that `init` command. Run it only if they ask you to: it rewrites their agent files.
    - When the verdict is `blocked`, do not push unless the developer says so after seeing the findings.
    - When OpenQodex prints "OpenQodex had a problem. Nothing has been sent." with `1 create a GitHub issue` and `2 ignore`, tell the developer in one line what went wrong and give them the two choices. Never choose 1 yourself. If they say 1, run `npx -y [email protected] report --send-last` from the same folder. Anything else means 2: do nothing.
    
    ## Reading the report
    
    - The report is in `.openqodex/reviews/<time>-<id>/` in the repository: `report.html` to open in a browser (each changed file as a diff, each finding under its line, then coverage, the scanners and the blast radius), `report.md` to read as text, `report.json` and `report.sarif` for tools. The receipt gives the absolute paths of `report.html` and `report.md`. `.openqodex/latest.json` points at the newest review. The reports never show in `git status`: `.openqodex/.gitignore` keeps them out. The two other files in that folder, `config.yaml` and `custom-instructions.md`, are the team's and are meant to be committed.
    - The verdict is `passed` (with or without warnings) or `blocked`. It is `blocked` only when the repository's config (`.openqodex/config.yaml`, or `.openqodex.yaml` at the root) sets `block_on_severity` and a finding is at or above it. With no config, OpenQodex warns and never blocks.
    - A complete review means every stage ran, every scanner finding was checked and every changed line was put in front of the reviewer; anything not covered is named in the report. It does not mean nothing was missed: no review finds everything.
    - The coverage list says, for each scanner, whether it ran. A scanner that did not run has a one-line reason:
      - `no matching files`: nothing in the change is the kind of file it reads.
      - `installing`: it i
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/openqodex-openqodex-plugins-claude-code-skills-openqodex.md

// REPO STATS

1.2k stars
121 open issues
Last commit: 1d ago