no-shell-edits
by Daniil Bystrov · ★ 0 · updated 6 days ago
0
Stop Claude from editing files through Bash (sed -i, heredocs, echo >, tee, python -c) and point it to Edit/Write, so every change shows as a diff and /rewind can undo it.
Install
/plugin marketplace add Jvrd97/claude-no-shell-edits/plugin install no-shell-edits@no-shell-editsThen 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.starttool.callcommand.run- API calls
$.clock.now$.command.register$.env.get$.fs.stat$.session.cwd$.state.get$.state.set$.ui.status$.ui.toast- Can see
Bash calls- Reach
- level 1 of 3 other: $.state.getother: $.state.setreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Jvrd97/claude-no-shell-edits
- Path in repo
- repository root
- Source commit
aa3aaaathe exact code the scan read- Author
- Daniil Bystrov @Jvrd97
- 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.