leaks

leaks is a Claude Code mod by davekiss that find where your Claude Code week went and fix it: /leaks ranks the avoidable spend in your transcripts with one-press fixes, and a strip above the prompt flags a leak while it happens.

Updated 2026-11-25

What is leaks?

leaks is a Claude Code mod by davekiss that find where your Claude Code week went and fix it: /leaks ranks the avoidable spend in your transcripts with one-press fixes, and a strip above the prompt flags a leak while it happens. It is listed under Security and has 12 GitHub stars.

TypeClaude code mod
Authordavekiss
Repositorydavekiss/mods
Popularity12 GitHub stars
CategorySecurity
SecurityReview before installing (64/100)
Rank#765 of 9,397 Claude Code mods; #92 in Security
LicenseMIT
Last commit2026-11-25
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt, Pane

Is leaks safe to install?

leaks scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 5 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
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.compactdrives Claude
$.session.model
$.session.usage
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install leaks?

  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/davekiss/mods
    claude plugin validate ./mods/leaks
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add davekiss/mods && claude plugin install leaks@davekiss

Or ask Claude to set it up

Paste this into Claude Code and it installs leaks for you:

Install the "leaks" Claude Code mod from https://github.com/davekiss/mods/tree/main/leaks. Run claude plugin validate on it first and show me what it can access before you enable it.

More from davekiss/mods

This repository has 2 Claude Code mods on MCPMods.

  • ci-light: Know when main is broken before you build on it: a red row above the prompt says how long your repo's default branch has (Review before installing)