home/categories/code-quality/rohitg00-pro-workflow-skills-safe-mode-skill-md
code-qualitytesting-security

safe-mode

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.

rohitg00
maintainer
rohitg00
업데이트됨 2026. 3. 29.
스타
1841
포크
169
quick start

Installation and usage

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.

설치
$ install --globalskills.sh
사용법

설치 후 터미널에서 다음 명령을 실행하여 이 스킬을 사용할 수 있습니다:

skills use safe-mode