claudemods

All Claude Code modswcampbell-dw/claude-plugins

shell-guard

A Claude Code mod in wcampbell-dw/claude-plugins

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.

Install hint

/plugin install shell-guard --marketplace wcampbell-dw/claude-plugins

From 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, draws

Validation

Passed on Claude Code 2.1.312

View 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

Badge for your README

Reach badge for shell-guard Validation badge for shell-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/wcampbell-dw--claude-plugins--shell-guard-reach.svg)](https://mods.aidojo.si/mods/wcampbell-dw--claude-plugins--shell-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/wcampbell-dw--claude-plugins--shell-guard-validates.svg)](https://mods.aidojo.si/mods/wcampbell-dw--claude-plugins--shell-guard/)