lean-gate

by nikola-vladimirov · ★ 0 · updated 5 days ago

PanesBandsGuardsCommandsPromptwarnings

0

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 project habits (state file, tests, PHPCS). Every setting is a button in a docked panel, with an Explain line for each. It carries token-saving project guides (plans, docs, file maps, memory, lessons, a shared...

install lean-gate

Install

/plugin marketplace add nikola-vladimirov/lean-gate
/plugin install lean-gate@lean-gate

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.callprompt.submitturn.completesession.endsession.startcommand.runprompt.composeui.renderui.close
API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.prompt.submit$.session.cwd$.session.id$.session.messages$.session.usage$.state.get$.state.set$.ui.close$.ui.invalidate$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
every tool callevery prompt
Reach
level 2 of 3 runs processeswrites filesdrives Claudereads filesreads env varsreads the transcriptreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/nikola-vladimirov/lean-gate
Path in repo
repository root
Source commit
42c9d5e the exact code the scan read
Author
@nikola-vladimirov
License
A license file GitHub could not identify — read it in the repository before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.