lean-gate

lean-gate is a Claude Code mod by nikola-vladimirov that a control panel and rule gate for how Claude works on your projects. It checks what Claude does and warns or blocks: model and effort on every agent, agent caps, release reviews, and.

Updated 2026-11-26

What is lean-gate?

lean-gate is a Claude Code mod by nikola-vladimirov that a control panel and rule gate for how Claude works on your projects. It checks what Claude does and warns or blocks: model and effort on every agent, agent caps, release reviews, and. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authornikola-vladimirov
Repositorynikola-vladimirov/lean-gate
Popularityno public popularity data yet
CategorySecurity
SecurityHigh risk (40/100)
Rank#7,615 of 9,397 Claude Code mods; #782 in Security
Last commit2026-11-26
Hooks10 events
Seesevery prompt, every tool call
Draws onAbovePrompt, Pane

Is lean-gate safe to install?

lean-gate scores 40/100 on the MCPMods security check: High risk. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables; watches every prompt or event. It passed 1 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
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.listreads files
$.fs.readreads files
$.fs.statreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.submitdrives Claude
$.session.cwd
$.session.id
$.session.messagesreads the transcript
$.session.usage
$.state.get
$.state.set
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install lean-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/nikola-vladimirov/lean-gate
    claude plugin validate ./lean-gate/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add nikola-vladimirov/lean-gate && claude plugin install lean-gate@lean-gate

Or ask Claude to set it up

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

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