auto-setup
CommandAuto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Prevent destructive operations — cautious (warn), lockdown (restrict edits), or clear
> /plugin marketplace add rohitg00/pro-workflow> /plugin install pro-workflow@pro-workflow
description: Prevent destructive operations — cautious (warn), lockdown (restrict edits), or clear argument-hint: <cautious | lockdown <path> | clear>
Guard against accidental damage during AI coding sessions.
/safe-mode cautious
Intercepts Bash commands and warns before destructive operations:
Asks you before the command runs, even in auto mode. You decide whether to proceed.
/safe-mode lockdown src/api/
Restricts Edit/Write operations to the specified directory. Blocks changes to files outside the path.
Keyed to the project. Prevents accidental edits to unrelated code during focused work. Lift it with `/safe-mode clear`.
/safe-mode cautious /safe-mode lockdown src/api/
Bash warnings + directory restriction simultaneously.
/safe-mode clear
Removes all restrictions for the current session.
Report current safe-mode state:
SAFE MODE STATUS Cautious: ACTIVE (warns on destructive Bash commands) Lockdown: ACTIVE (restricted to src/api/)
Or:
SAFE MODE STATUS No restrictions active.
| Situation | Command | |-----------|---------| | Production-adjacent code | `/safe-mode cautious` | | Focused refactoring | `/safe-mode lockdown <path>` | | Unfamiliar codebase | `/safe-mode cautious` | | Done with restrictions | `/safe-mode clear` |
---
**Trigger:** Use when starting risky work, refactoring a specific module, or wanting guardrails on AI operations.
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Smart context compaction with state preservation — saves critical state before compact and restores after
Diagnose context usage and reduce unnecessary token consumption.
Track session costs, understand token spend, and get optimization tips
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…