From vibeflow
Activates full safety mode with destructive command warnings and directory-scoped edit restrictions. Protects production environments by blocking risky commands and limiting edits to a chosen directory.
How this skill is triggered — by the user, by Claude, or both
Slash command
/vibeflow:vibeflow-guardThis skill is limited to the following tools:
Bashbash ${CLAUDE_SKILL_DIR}/../vibeflow-careful/bin/check-careful.shEditbash ${CLAUDE_SKILL_DIR}/../vibeflow-freeze/bin/check-freeze.shWritebash ${CLAUDE_SKILL_DIR}/../vibeflow-freeze/bin/check-freeze.shThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Activates both destructive command warnings and directory-scoped edit restrictions.
Activates both destructive command warnings and directory-scoped edit restrictions.
This is the combination of /vibeflow-careful + /vibeflow-freeze in a single command.
Note: This skill requires both vibeflow-careful/bin/check-careful.sh and
vibeflow-freeze/bin/check-freeze.sh hook scripts to be installed and executable.
Ask the user which directory to restrict edits to. Use AskUserQuestion:
Once the user provides a directory path:
FREEZE_DIR=$(cd "<user-provided-path>" 2>/dev/null && pwd)
echo "$FREEZE_DIR"
FREEZE_DIR="${FREEZE_DIR%/}/"
STATE_DIR="${VIBEFLOW_STATE_DIR:-${HOME}/.vibeflow}"
mkdir -p "$STATE_DIR"
echo "$FREEZE_DIR" > "$STATE_DIR/freeze-dir.txt"
echo "Freeze boundary set: $FREEZE_DIR"
Tell the user:
<path>/. Edits outside this directory are blocked."/vibeflow-unfreeze. To deactivate everything, end the session."See /vibeflow-careful for the full list of destructive command patterns and safe exceptions.
See /vibeflow-freeze for how edit boundary enforcement works.
To activate this skill, run:
Skill: vibeflow-guard
调用者: 用户在 review 阶段或其他需要最大安全保护的场景主动调用
依赖: vibeflow-careful/bin/check-careful.sh 和 vibeflow-freeze/bin/check-freeze.sh hook 脚本
状态: 默认关闭,需要用户显式激活
链接到: vibeflow-unfreeze(解除)
npx claudepluginhub ttttstc/vibeflow --plugin vibeflowBlocks destructive commands like rm -rf, git --force, DROP TABLE, docker prune, and restricts file edits to specified directories. Use on production systems and with autonomous agents.
Prevents destructive operations on production systems and autonomous agents by intercepting dangerous commands, restricting edits to a directory, or combining both protections.
Blocks destructive Bash commands like rm -rf, DROP TABLE, git force-push, reset --hard, and restricts file edits to a specific directory. Use for protection on critical systems.