Skip to content
S

safety-guard

Guard against destructive operations

by affaan-mFree

Launch
#400in AI Skills
0In stores

Description

safety-guard is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It guards against destructive operations and offers…

Highlights

  • Careful mode intercepts destructive commands
  • Asks for confirmation before risky steps
  • Directory restriction for edits
  • Guards migrations, deploys and data changes

Ratings & Reviews

No ratings yet

Be the first to rate safety-guard.

People also visit

C

convex-deploy-guard

Classify + announce the target Convex deployment before any deployment-affecting

AI Skills
Launch
G

git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands

AI Skills
Launch
G

gateguard

PreToolUse fact-forcing gate that denies the first Edit/Write/Bash

AI Skills
Launch
H

healthcare-cdss-patterns

Clinical Decision Support System (CDSS) development patterns

AI Skills
Launch
H

hookify-rules

Create and configure hookify rules

AI Skills
Launch
C

convex-self-heal

Production error → triaged, root-caused, repaired, and certified

AI Skills
Launch

safety-guard FAQ

What does the safety-guard skill do?

It stops an agent from running destructive commands without confirmation, such as rm -rf, git push --force or DROP TABLE.

What are the three modes?

Careful mode is described in detail. The listing names two other modes, one of which restricts edits to a specific directory.

When is it useful?

On production systems, during autonomous full-auto agent runs, during migrations and deploys, and when edits should stay in one directory.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill safety-guard

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best safety-guard alternatives?

Popular alternatives to safety-guard include convex-deploy-guard, git-guardrails-claude-code and gateguard. See all safety-guard alternatives

Developer Stuff

Badges