claudemods

All Claude Code modsdaviddecorso/claude-mods

shell-edit-guard

A Claude Code mod in daviddecorso/claude-mods

Blocks Bash commands that write files (inline scripts, sed -i, redirects, tee) and points the model at Edit/Write instead

shell-edit-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install shell-edit-guard --marketplace daviddecorso/claude-mods

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, reads env vars, reads mod state

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, command.run {command=edit-guard}, turn.start, turn.complete, tool.call
API calls
$.command.register, $.env.get, $.process.run, $.session.cwd, $.session.id, $.state.get, $.state.set
Validation
Passed
Scanned revision
af1a43197801
Marketplace passed
claude-mods

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 daviddecorso/claude-mods

Badge for your README

Reach badge for shell-edit-guard Validation badge for shell-edit-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/daviddecorso--claude-mods--shell-edit-guard-reach.svg)](https://mods.aidojo.si/mods/daviddecorso--claude-mods--shell-edit-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/daviddecorso--claude-mods--shell-edit-guard-validates.svg)](https://mods.aidojo.si/mods/daviddecorso--claude-mods--shell-edit-guard/)