shell-guard

by youllook · ★ 0 · updated 14 days ago

ToastsGuardswarnings

0

Windows shell guard: fixes backslash drive paths in Bash, blocks quote-eating node -e / heredoc patterns, and catches PowerShell/Bash syntax sent to the wrong shell or PowerShell regex escaping in double quotes

install shell-guard

Install

/plugin marketplace add youllook/ClaudeMods
/plugin install shell-guard@claude-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
tool.call
API calls
$.ui.toast
Can see
Bash callsPowerShell calls
Reach
level 0 of 3 draws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/youllook/ClaudeMods
Path in repo
plugins/shell-guard
Source commit
4ff0501 the exact code the scan read
Author
@youllook
License
MIT
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 youllook/ClaudeMods

pip-bridge

youllook/ClaudeMods

Drives the Pip desktop pet: pushes Claude's state (think / run tools / wait / done / error, context left, quota left, subagents) to Pip on 127.0.0.1:38917

★ 0GuardsAutomation

token-weather-cache

youllook/ClaudeMods

Context, prompt-cache countdown and plan usage above the prompt: four SVG rings on desktop, fill glyphs in the terminal, with expiry toasts. Modified from Anthropic's token-weather example.

★ 0Bands