Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
git push を実行する前に codex review (OpenAI クロスモデルレビュー) の完了を必ず実行させ、未レビューな commit が remote に到達するのを構造的にブロックするプラグインです。単独 install で自立動作し、pre-push-review core (code review / security review の 2 レビュー gate) と併用すると、code / codex / security の 3 レビュー構成になります。
修正や commit 列の変更 (add→revert / amend / rebase 含む) により「commit 列 (HEAD / merge-base の OID) + ブランチ全差分」のハッシュが変わると codex マーカーは自動失効し、Claude は pre-push-codex-review:codex-reviewer subagent を再走させる以外に push を通す手段がありません。
本 plugin は Codex review の review cadence も enforcement します。pre-push-codex-review:codex-reviewer / pre-merge-cross-review:codex-reviewer の成功 review と cross-model-advisor:codex-review-runner の成功 native / adversarial review を session ごとに合算し、前回の根本方針 checkpoint から 5 回完了すると、次の review 起動と main session の停止を block します。checkpoint の実行 (cross-model-advisor の consult skill による cross-model-advisor:codex-advisor-runner の起動と attestation の発行) 自体は cross-model-advisor plugin が担います。詳細は review cadence を参照してください。
v4.1.0
claude plugin marketplace add natsuume/natsuume-cc-marketplace
claude plugin install pre-push-codex-review@natsuume-plugins
公式 codex プラグインへの依存があるため、codex review wrapper を動作させるには次も install してください:
claude plugin install codex@openai-codex
3 レビュー構成にするには pre-push-review core も併せて install します:
claude plugin install pre-push-review@natsuume-plugins
checkpoint 実行の companion として cross-model-advisor を併用する場合は v5.0.0 以上を使用してください。companion の役割は checkpoint の実行 (cross-model-advisor:codex-advisor-runner の起動と attestation の発行) のみであり、review cadence の計数・enforcement は本 plugin が単独で担います。
jq は push gate の必須依存です。jq が見つからない環境では、未レビューの push を通さないため block-pre-push-codex.sh が git push を fail-closed に deny し、インストール後の再実行を案内します。push と無関係な Bash 呼び出しは影響を受けません。
/pre-push-codex-review:reviewファイル: commands/review.md
push 前レビューを 同じアシスタントメッセージで並列に subagent として起動する確定的フローです。pre-push-review core が install されている環境では、本 plugin の pre-push-codex-review:codex-reviewer と core の pre-push-review:code-reviewer / pre-push-review:security-reviewer を合わせた 3 subagent を 1 つのアシスタントメッセージで並列発出します。core が未 install の環境では pre-push-codex-review:codex-reviewer のみを起動します。
参照方向は本 plugin → core の単方向です。core の commands/review.md は本 plugin の存在を前提とせず、pre-push-review:code-reviewer / pre-push-review:security-reviewer の 2 subagent のみを並列発出します。
Bash)ファイル: hooks/scripts/block-pre-push-codex.sh
git push を含むコマンドを検出した際、「commit 列 (HEAD / merge-base の OID) + ブランチ全差分 + 未コミット差分」のハッシュと codex マーカー (pre-push-codex-review:codex-reviewer subagent 起因) のハッシュを比較し、一致しなければ deny を返します。push 検出・複合コマンド解析・target 解決・dirty-tree gate・空 push 判定・default branch 上での skip (git-guardrails への委譲) は、本 plugin が単独 install でも自立動作できるよう、pre-push-review core の block-pre-push.sh と同等の判定を本スクリプトが独立に実装します。deny メッセージは codex マーカーの状態と pre-push-codex-review:codex-reviewer subagent への案内のみを記載し、core の 2 マーカーには言及しません。変更がテキスト系文書だけの push は、空 push と同じく codex マーカーを要求せずに通します (テキスト系文書のみの変更)。
Bash)ファイル: hooks/scripts/block-bg-codex-wrapper.sh
codex review wrapper (run-pre-push-codex-review.sh) の起動を検証する PreToolUse hook です。hook payload トップレベルの agent_type が pre-push-codex-review:codex-reviewer (namespace 付き完全一致) でなければ fail-closed に deny します。wrapper の basename を pre-merge-cross-review の wrapper (run-pre-merge-codex-review.sh) と別名にしているのは、両 plugin が併存する環境で、互いの wrapper 検出 gate (basename ベース) が相手の wrapper 起動を deny し合う干渉を塞ぐためです。foreground 起動を強制する理由は、background 起動では pre-push-codex-review:codex-reviewer subagent が wrapper の stdout / stderr (= codex review の verdict / findings) を完全に観察できず、正しい parent-safe report を組み立てられないためです。
ファイル: hooks/scripts/auto-mark.sh
pre-push-codex-review:codex-reviewer subagent の実行完了を subagent lifecycle hook (SubagentStart / SubagentStop) で検知し、codex マーカーに「commit 列 + branch 全差分 + 未コミット差分のハッシュ」を書き込みます。matcher は SubagentStart / SubagentStop が ^pre-push-codex-review:codex-reviewer$、PostToolUse が ^SubagentHandback$ (tool 名) で、script 側でも agent_type を完全一致で再検証します。SubagentStart はレビュー開始時の hash を launch attestation として one-shot 記録し、PostToolUse (SubagentHandback) は auto mode で hand-back された report (tool_input.message) の Status を handback record (.claude-pre-push-handback-<agent_id>) に記録し、SubagentStop は (a) attestation の一回限りの消費 (b) 開始時 hash と現在 hash の一致 (c) report (handback record があればその判定結果、無ければ last_assistant_message) 内の単一 Status: pass|findings 行 (d) wrapper が書いた pending attestation と現在 hash の一致、をすべて検証した場合のみマーカーを書きます。PostToolUseFailure では残った Codex pending attestation を破棄します。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub natsuume/natsuume-cc-marketplace --plugin pre-push-codex-reviewPlugins from other owners that cover similar ground