Home / Claude Code mods / Git & CI / aidiff-gate

aidiff-gate

aidiff-gate is a Claude Code mod by JohnRiceML that keeps AI-written code honest: flags flaky and bloated tests, trims wall-of-text replies, and makes you write the 'why' before a commit. Uses TypeSafe's Jev as a fast judge.

Updated 2026-10-12

What is aidiff-gate?

aidiff-gate is a Claude Code mod by JohnRiceML that keeps AI-written code honest: flags flaky and bloated tests, trims wall-of-text replies, and makes you write the 'why' before a commit. Uses TypeSafe's Jev as a fast judge. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
AuthorJohnRiceML
RepositoryJohnRiceML/aidiff-gate
Popularityno public popularity data yet
CategoryGit & CI
SecurityHigh risk (44/100)
Rank#6,645 of 9,397 Claude Code mods; #469 in Git & CI
LicenseMIT
Last commit2026-10-12
Hooks7 events
SeesBash calls, Edit calls, Write calls, every prompt
Draws onPane

Is aidiff-gate safe to install?

aidiff-gate scores 44/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.http.fetchnetwork requests
$.model.completedrives Claude
$.process.runruns processes
$.prompt.submitdrives Claude
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install aidiff-gate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/JohnRiceML/aidiff-gate
    claude plugin validate ./aidiff-gate/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add JohnRiceML/aidiff-gate && claude plugin install aidiff-gate@aidiff-gate

Or ask Claude to set it up

Paste this into Claude Code and it installs aidiff-gate for you:

Install the "aidiff-gate" Claude Code mod from https://github.com/JohnRiceML/aidiff-gate. Run claude plugin validate on it first and show me what it can access before you enable it.