send-gate
by Zehui Lin · ★ 0 · updated 16 days ago
In a session that runs without permission prompts, holds an MCP tool call that would send a message or an email, notify people (an invitation, a share, a comment) or that a local config names (an app environment change, for example), and shows the target, the mentions and the dates until you let that one call through (a card in a pane, or the question dialog on a narrow terminal; refused when...
Install
/plugin marketplace add ZH-L1N/agent-window-mods/plugin install send-gate@zehui-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
session.startclassic.UserPromptSubmitclassic.PostToolUseclassic.Stoptool.callcommand.runui.render- API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.process.run$.settings.read$.state.get$.state.set$.tool.list$.ui.ask$.ui.close$.ui.invalidate$.ui.notify$.ui.open$.ui.resolve$.ui.toast- Draws
Pane- Can see
classic hooks/"^mcp__"/ calls- Reach
- level 2 of 3 runs processesreads filesreads env varsreads settingsreads 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/ZH-L1N/agent-window-mods
- Path in repo
send-gate- Source commit
5122d45the exact code the scan read- Author
- Zehui Lin @ZH-L1N
- License
- No license declared — ask the author 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.
More from ZH-L1N/agent-window-mods
skins
ZH-L1N/agent-window-mods
Skins for Claude Code: tool rows that open onto their input and answer, highlighted code, diff, table, math, Mermaid and shell cards, links, folding, a usage band, a calm mode and sixteen themes. /skin swaps them live.
smart-compact
ZH-L1N/agent-window-mods
Compacts at the right moment: after a commit or green tests, a minute before the prompt cache expires, or when Claude asks for it with its own request_compact tool.
strip
ZH-L1N/agent-window-mods
One strip of quiet pills above the prompt in place of the SYS, PLAN, HANDOFF and CACHE rows: context, cache, diff, tests, agents, queue, system and peers, with a STOP and a health pill when needed. It reads the other mods' state, orders the whole band, puts one background colour behind it, and opens a context, a system and a last-turn diff pane. /strip.
sys
ZH-L1N/agent-window-mods
A SYS band above the prompt: CPU load, RAM in use and battery, each with a 6-cell bar and traffic-light colours, read every 5 seconds; a btop button that opens btop in a herdr pane below, and /sys.
token-weather
ZH-L1N/agent-window-mods
A live forecast of the context window, drawn above the prompt: a weather icon, the fill percentage, and a chart of the last turns.
web
ZH-L1N/agent-window-mods
/web opens a link in terminal-browser in a herdr pane below (the last link of Claude's reply by default); the web_read tool lets Claude read the open page as a bounded capture (title, origin and path, main text, first 50 links), asking once per new site.
zh
ZH-L1N/agent-window-mods
/zh translates the last assistant reply (or the n-th back) into Simplified Chinese with Haiku or Sonnet and shows it in a pane, code, paths, commands and names kept exactly; prev, next, latest and close buttons, the last three translations kept.
agents
ZH-L1N/agent-window-mods
Live subagents, background shells, Monitor watches and cron timers: an AGENTS band above the prompt (main model, each run with its model or command, task and status, watches with time left, crons with their next fire, skills fired, ☕ while idle sleep is held), an /agents-info pane with a Who view (cost, tokens, time and a pixel mascot per run, picked from a pool for its state), a Code view...
blast-radius
ZH-L1N/agent-window-mods
Holds risky shell commands (rm -rf, git reset --hard, git clean, force push, migrations) and shows what they would change, with Proceed and Cancel buttons.
breathe
ZH-L1N/agent-window-mods
Guided breathing exercises above the prompt while Claude works: coherent, box, 4-7-8 and the physiological sigh, seventeen animation styles, and the spinner can read the breath (/breathe spinner on). Appears when Claude starts, disappears when Claude answers.
cache-clock
ZH-L1N/agent-window-mods
A CACHE band above the prompt: how long the prompt cache stays warm, how much of the last request it served, and what rewriting it would cost (estimate); a Compact button and /cache-clock.
filetree
ZH-L1N/agent-window-mods
A small tree of the working folder in a Files pane: folders open and close, git marks changed files, and the files read or written this turn are listed on top. /tree opens it.
Related mods
Other mods in Panes, close to this one by stars.