claude

leash

Put a spending limit on Claude Code: caps, payee lists and a JSONL ledger for every MCP tool call that moves money.

0 on GitHubby Agnij Duttav0.1.0MITupdated 2 days agosecurity
/

Plugin leash from marketplace cc-leash in agnij-dutta/cc-leash. Commands read from the repo's manifest — 2 days ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Slash commands (3)

  • /leash:ledger

    Show the leash spending ledger (every payment decision and settlement)

  • /leash:set

    Change your leash spending policy (caps, payee lists, confirmation threshold, dry-run)

  • /leash:status

    Show spend today vs your leash caps, plus recent allow/deny decisions

Hooks (4)

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/leash.mjs" pre || echo '{"hookSpecificOutput":{"hookEventName":"PreToolUse","permissionDecision":"ask","permissionDecisionReason":"leash could not run (is Node.js 1

  • PreToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/leash.mjs" pre

  • PostToolUse

    node "${CLAUDE_PLUGIN_ROOT}/scripts/leash.mjs" post

  • PostToolUseFailure

    node "${CLAUDE_PLUGIN_ROOT}/scripts/leash.mjs" post-failure

View source on GitHub

Similar plugins

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

mempalace

claudecodex

AI memory system — mine projects and conversations into a searchable palace. 47 MCP tools, auto-save hooks, guided setup.

3 skills · 6 commands · 1 MCP server · hooks

MemPalace/mempalace 60,536

Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer

8 skills · 1 MCP server

ChromeDevTools/chrome-devtools-mcp 55,181

gitnexus

claudecodex

Code intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.

12 skills · 1 MCP server · hooks

abhigyanpatwari/GitNexus 48,482

daisyUI Blueprint MCP server - (Needs paid license)

saadeghi/daisyui 42,821

Maintain leash?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted