Registry / rohitg00

rohitg00/pro-workflow/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.

Agent skill · version 3.4.1-main.1794414150.g86d5f27 · from rohitg00/pro-workflow

Install

npx yarkr-cli add skill:rohitg00/pro-workflow/safe-mode

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:rohitg00/pro-workflow/safe-mode
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:rohitg00/pro-workflow/safe-mode

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:rohitg00/pro-workflow/safe-mode

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.