All Claude Code modswcampbell-dw/claude-plugins
shell-guard
Refuses Bash and PowerShell commands that break on Windows, installs az shims that skip cmd.exe, and adds Windows shell rules to the system prompt
shell-guard reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.312.
- Events hooked: 4
- API methods referenced: 10
- Access from classified calls: L2, writes or runs: runs processes, writes files, reads files, reads env vars, persists state, draws
- Static scan, not a runtime test
Install hint
/plugin install shell-guard --marketplace wcampbell-dw/claude-pluginsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, writes files, reads files, reads env vars, persists state, drawsValidation
Passed on Claude Code 2.1.312View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls, PowerShell calls
- Hooks
session.start, command.run {command=shell-guard-install}, command.run {command=shell-guard-uninstall}, prompt.compose, tool.call {tool=Bash}, tool.call {tool=PowerShell}- API calls
$.command.register, $.env.get, $.fs.exists, $.fs.read, $.fs.write, $.process.run, $.store.delete, $.store.get, $.store.set, $.ui.log- Validation on 2.1.312
- Passed
- Scanned revision
7d7e880f4e6f- Marketplace passed
- wcampbell
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from wcampbell-dw/claude-plugins
- agent-spinnersBand above the prompt listing subagents and background tasks (Bash and PowerShell commands, monitors) with br…
- statuslineThree-line Nerd Font status line: cwd and git, model and context, account and usage
- subagent-kitScoper (Haiku), implementer (Sonnet), reviewer (Opus) and shipper (Haiku) subagents, with rules for when the…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/wcampbell-dw--claude-plugins--shell-guard/)
[](https://mods.aidojo.si/mods/wcampbell-dw--claude-plugins--shell-guard/)