# safe-mode

> Prevent destructive operations using Claude Code hooks.

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.

- Type: Skill
- Made by: rohitg00
- Formats: Skills
- Version: d7323a2
- Source: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode
- Page: https://pluginboard.ai/skills/safe-mode

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the safe-mode folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Claude

In Claude (web or desktop): Download the safe-mode folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Gemini

In Gemini: Download the safe-mode folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.copilot/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Cursor

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.cursor/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Claude Code

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.claude/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

Or all of Pro Workflow, in Claude Code:

```text
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
```

### Codex

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.agents/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Antigravity

In Antigravity: Copy the safe-mode folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Gemini CLI

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.gemini/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Replit

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode .agents/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### OpenClaw

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.openclaw/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### OpenCode

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.config/opencode/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

### Hermes Agent

Run in your terminal:

```shell
npx -y degit rohitg00/pro-workflow/skills/safe-mode ~/.hermes/skills/safe-mode
```

View the folder on GitHub: https://github.com/rohitg00/pro-workflow/tree/HEAD/skills/safe-mode

---
From Pluginboard (https://pluginboard.ai).
