Agent Skills: command-guard

Set up a PreToolUse hook in .claude/settings.json that blocks dangerous commands — rm -rf, force push, database drops, and others — before they execute. Teaches the pattern of safety hooks for any Claude Code project. Trigger words: safety, guard, block dangerous, protect, prevent destructive, safe mode, dangerous commands, risky operations.

UncategorizedID: SageMindAI/instar/command-guard

Install this agent skill to your local

pnpm dlx add-skill https://github.com/SageMindAI/instar/command-guard

Skill Files

Browse the full folder contents for command-guard.

Download Skill

Loading file tree…

Select a file to preview its contents.