AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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 in report.html, report.md, report.json and report.sarif.
  • Enforces guardrails: the agent must not edit code before you pick findings, must not run openqodex trust or set OPENQODEX_SKIP on its own, and must not push on a blocked verdict.
  • 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

  1. Pre-push gate: "Review my changes before I push" → review runs → receipt shows 3 findings → you say "fix 2 and 3" → findings 2,3 prints full detail, fixes are applied, review re-runs.
  2. PR review: paste a pull request link → review '#42' reviews only what the PR added since its base branch.
  3. Restricted network: run with --offline to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. 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.
  2. Open a terminal and cd into the repository you want reviewed.
  3. 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 --agent for cursor, cline or codex.
  4. After install, ~/.openqodex/bin/openqodex exists and later reviews are just openqodex review.
  5. 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.
  6. Tune team settings in the repo's .openqodex/config.yaml: block_on_severity (when a push is blocked), review.reviewers (which agent/model reviews), and review.reviewer_web: off to disable the reviewer's web access. Commit that file; the generated reports are gitignored automatically.
View source on GitHub ↗License: Apache-2.0