← Browse
safety-essentials
yurukusa ★ 7
This safety-essentials plugin provides 5 protective hooks that intercept dangerous operations in Claude Code, blocking destructive commands like `rm -rf`, force-push, hard-reset, `.env` overwrites, and package publish actions. The hooks run at the PreToolUse event stage to prevent these risky operations before they execute.
Install
> /plugin marketplace add yurukusa/cc-safe-setup/tree/HEAD/plugins/safety-essentials
> /plugin install safety-essentials
Source: https://github.com/yurukusa/cc-safe-setup/tree/HEAD/plugins/safety-essentials
What it's made of
5 hooks
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 5 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
!""))}catch(e){}})'%s&\.env\.']*--force]*--force[^]*--hard']*--recursive']*--recursive[^]*-[a-zA-Z]*f]*-[a-zA-Z]*r]*s)?-[a-zA-Z]*(rf]*s)?-[a-zA-Z]*f[a-zA-Z]*s[^]*s)?-[a-zA-Z]*r[a-zA-Z]*s[^dist)$'fr)[a-zA-Z]*(sgit\s+push.*-f\b'grepprint((d.get("tool_input")process.stdin.on(data,d=>s+=d).on(end,()=>{try{process.stdout.write(String((JSON.parse(s).tool_inputrms([^rms[^samplesedtemplateyarn\s+publish'{{}).command{}).file_path}})- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (yurukusa).