send-gate
by chami1221-eng · ★ 0 · updated 15 Oct 2026
Before an outbound message is drafted, scheduled or sent (email draft script, chat post, chat MCP tools), checks that its full body was shown in the conversation and the user replied after seeing it. Blocks the call otherwise.
Install
git clone https://github.com/chami1221-eng/my-ai-workbenchclaude --plugin-dir ./my-ai-workbench/mods/send-gateThen 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.startcommand.runtool.call- API calls
$.command.register$.env.get$.fs.read$.session.cwd$.session.messages$.store.get$.store.set- Can see
every tool call- Reach
- level 1 of 3 reads filesreads env varsreads the transcriptpersists state
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/chami1221-eng/my-ai-workbench
- Path in repo
mods/send-gate- Source commit
797f047the exact code the scan read- Author
- @chami1221-eng
- License
- Apache-2.0
- 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 chami1221-eng/my-ai-workbench
bash-rewrite
chami1221-eng/my-ai-workbench
Rewrites Bash commands that a PreToolUse guard would deny (heredoc or python -c containing backslashes, cd followed by relative file names) into an equivalent form before the guard sees them. Forms it cannot rewrite safely pass through unchanged and are still stopped by the guard.
hook-daemon
chami1221-eng/my-ai-workbench
Answers heavy Python command hooks (PreToolUse / PostToolUse / Stop / UserPromptSubmit) from one resident process instead of spawning Python on every tool call. Falls back to the normal settings hooks whenever the resident process is unavailable.
layer0-compose
chami1221-eng/my-ai-workbench
Moves the top-priority rule list (Layer 0) from per-turn UserPromptSubmit injection into the system prompt, where prompt caching applies. The injected copy is removed only when the system prompt really carries the same text.
prompt-band
chami1221-eng/my-ai-workbench
Shows up to three hints above the prompt: tools that have been running for a while (elapsed time), what a one-key approval would approve when the last reply ends with a question, and a wrap-up hint based on context usage.
secret-mask
chami1221-eng/my-ai-workbench
Redacts tokens, API keys and passwords from every row that enters the conversation (tool results, hook context, input, replies) before it is stored. The secret never reaches the model or the transcript.
shot-peek
chami1221-eng/my-ai-workbench
When Claude reads an image from the Screenshots folder, shows its file name and capture time above the prompt so you can confirm it read the screenshot you meant.