ledger-gates

ledger-gates is a Claude Code mod by leeovery that draws Ledger's gates in the band above the prompt — rows a click puts in the prompt and a second click sends — instead of a menu the model has to reproduce; carries a handoff into a fresh.

Updated 2026-11-28

What is ledger-gates?

ledger-gates is a Claude Code mod by leeovery that draws Ledger's gates in the band above the prompt — rows a click puts in the prompt and a second click sends — instead of a menu the model has to reproduce; carries a handoff into a fresh. It is listed under Context & memory and has 3 GitHub stars.

TypeClaude code mod
Authorleeovery
Repositoryleeovery/portal
Popularity3 GitHub stars
CategoryContext & memory
SecurityHigh risk (44/100)
Rank#2,022 of 9,397 Claude Code mods; #191 in Context & memory
LicenseMIT
Last commit2026-11-28
Hooks12 events
SeesBash calls, every prompt, every tool call
Draws onPane, AbovePrompt

Is ledger-gates safe to install?

ledger-gates scores 44/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 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
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
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.rundrives Claude
$.env.getreads env vars
$.env.setsets env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.id
$.session.messagesreads the transcript
$.session.root
$.session.surfaces
$.session.version
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install ledger-gates?

  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/leeovery/portal
    claude plugin validate ./portal/.claude/skills/ledger-gates
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/leeovery/portal && claude --plugin-dir ./portal/.claude/skills/ledger-gates

Or ask Claude to set it up

Paste this into Claude Code and it installs ledger-gates for you:

Install the "ledger-gates" Claude Code mod from https://github.com/leeovery/portal/tree/main/.claude/skills/ledger-gates. Run claude plugin validate on it first and show me what it can access before you enable it.

More from leeovery/portal

This repository has 3 Claude Code mods on MCPMods.

  • workflow-gates: Draws the agentic-workflows engine's gates in the band above the prompt — rows a click puts in the prompt and a second c (High risk)
  • workflow-gates-rows: Draws the transcript rows of what the workflow-gates mod sends — an answer as the question it answered and the answer, a (Review before installing)