All Claude Code modsZulut30/claude-mode
command-guard
Safety net for dangerous commands: before rm -r, git push --force, reset --hard and the like, shows what would be lost and asks Run or Cancel
command-guard reaches L2 (writes or runs) by its classified calls and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 3
- API methods referenced: 13
- Access from classified calls: L2, writes or runs: runs processes, reads files, reads env vars, persists state, draws
- Unclassified calls: 2 (
$.state.get,$.state.set), full access unknown - Static scan, not a runtime test
Install hint
/plugin install command-guard --marketplace Zulut30/claude-modeFrom 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 runsother: $.state.get, other: $.state.set, runs processes, reads files, reads env vars, persists state, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls, PowerShell calls
- Hooks
session.start, command.run {command=guard}, tool.call {tool=Bash}, tool.call {tool=PowerShell}- API calls
$.clock.now, $.command.register, $.env.get, $.fs.list, $.fs.stat, $.process.run, $.session.cwd, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.ask, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
5d7e58a1aef6- Marketplace passed
- claude-mode
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. How the scan works.
More from Zulut30/claude-mode
- command-deckCommands pane: the main Claude Code slash commands, each with a short note on why to use it and a ▶ button to…
- context-inspectorContext pane: what fills the context window, which MCP servers, skills and memory files use it, and what you…
- git-branchesGitLens-style Branches pane: local and remote branches, ahead/behind, working-tree changes, GitHub pull reque…
- mod-switchThe Mods pane: switches for your other mods: Next suggestions, the command safety net, the band's columns and…
- next-stepsAfter Claude replies, 2: 3 likely next prompts above the input: 1: 3 or a click drafts one, 0 hides them
- roadmapRoadmap pane: task stages top to bottom (context → implementation → checks → tests → push → deploy), marked a…
- usage-bandBand above the prompt: context fill, memory files, subscription limits (5h and week), model response speed an…
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/Zulut30--claude-mode--command-guard/)
[](https://mods.aidojo.si/mods/Zulut30--claude-mode--command-guard/)