gemini-review
Reviewed
at commit 0e4c0dd
New version, not yet reviewed
Sends data to Google Gemini API (generativelanguage.googleapis.com), only after /gemini-review on and with a Gemini key
Has Gemini review every git commit the model runs, from the staged diff and the conversation, and stops a commit with a blocking finding: a bug, data loss, a…
0 upvotes
Log in to upvote or save- Made by
- Kerem Gok
- Pinned commit
-
0e4c0dd09165cae2933d79eda6069c6df477137f - What we checked
-
Off until you run /gemini-review on. Then every git commit Claude makes is first sent to Google Gemini, with the staged diff and the whole conversation including tool output, and a blocking finding stops the commit. It runs read-only git commands and stores only the on/off setting; it needs the gemini-core mod and your own Gemini key.
Review details
Static review of the source at the pinned commit; not run. Registers session.start (enrolls with gemini-core, registers /gemini-review), command.run (status, on, off, reset) and tool.call for Bash. For a Bash command that contains git commit, and only when enabled, it runs git rev-parse, git diff (--cached, HEAD, --no-index for untracked files, up to 200 new files read whole), git ls-files, builds a prompt from the diff and a rendering of the session messages including every tool call input and output (cut to maxInputChars, default 2,000,000), and has gemini-core build the request. The request is sent with $.http.fetch to the URL gemini-core returns; gemini-core source in the same repository points at generativelanguage.googleapis.com, with retries and key rotation. gemini-core was not part of this bundle and was only checked for the host. A diff over 1.5M characters is not sent. A finding of severity blocker denies the Bash call; the deny text tells Claude to retry with GEMINI_REVIEW_SKIP=1 if the finding is wrong, so the review can be skipped. Failures let the commit run with a note. Commands that combine other steps before git commit are denied so the reviewed diff matches. Uses $.store for the enabled flag, $.ui.toast and $.ui.log for results. The gemini-core tier setting says that on the free tier Google may use what is sent to improve its products. No files are written. No obfuscation. npm dependencies are dev tooling only.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: yes
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: yes
- Stores data: yes
- Shows something on screen: yes
Has Gemini review every git commit the model runs, from the staged diff and the conversation, and stops a commit with a blocking finding: a bug, data loss, a security hole or a committed secret. Off until /gemini-review on; gemini-core holds the key, tier, model and thinking level.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/gemini-review/)