Skills guard

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/ashish797/founderclaw/guard" ~/.claude/skills/clawdbot-skills-guard && rm -rf "$T"
manifest: skills/ashish797/founderclaw/guard/SKILL.md
source content

Guard — Full Safety Mode

Combines the destructive command warnings from careful with the edit scoping from freeze.

Activation

  1. Ask or detect the scope directory for freeze
  2. Activate careful rules (warn on destructive commands)
  3. Activate freeze rules (restrict edits to scope directory)
  4. Announce: "Guard mode active. Edits locked to
    {dir}/
    . Destructive commands will require confirmation."

Rules

From Careful

Before running any bash command, check for destructive patterns (rm -rf, force-push, DROP TABLE, etc.). If detected, warn and wait for confirmation.

From Freeze

Before any Edit or Write, verify the target file is within the locked directory. If outside, refuse and remind.

Deactivation

User says "unguard" or "guard off" → deactivate both careful and freeze. Confirm: "Guard mode off. Edits unrestricted, destructive commands run without warning."

See also:

careful
(destructive commands only),
freeze
(edit scoping only),
unfreeze
(remove edit restriction).