mcpField

safety-guard

affaan-mSecurity9.3k installs

About safety-guard

Guard against destructive operations with three modes: Careful intercepts dangerous commands (rm -rf, git push --force, DROP TABLE) for confirmation, Freeze locks writes to one directory, and Guard combines both. Advisory: the agent applies these rules itself; no hook ships with it. Use when working on production systems, running agents autonomously, restricting edits to a directory, or during migrations, deploys, and data changes.

Install

Copy the command and run it in a terminal.

$npx skills add https://affaan-m/ecc --skill safety-guard

After installing, type/safety-guardin Claude Code to confirm it loaded.

Comments

Markdown supported