safe-mode
Agent skill fromrohitg00/pro-workflow
Prevent destructive operations using Claude Code hooks. Three modes — cautious (warn on dangerous commands), lockdown (restrict edits to one directory), and clear (remove restrictions). Uses PreToolUse matchers for Bash, Edit, and Write.
How to install safe-mode
install safe-mode
# install the pro-workflow pack with the skills CLI
npx skills add rohitg00/pro-workflow# or add only this skill to Claude Code: copy the folder
skills/safe-mode/
# into
~/.claude/skills/safe-mode/ (all projects)
.claude/skills/safe-mode/ (one project)
