Safety guardrail that blocks destructive commands for the current session. Activate when working with production systems, sensitive data, or critical infrastructure. Triggers on: "be careful", "careful mode", "production mode", "safety mode". Blocks: rm -rf, DROP TABLE, TRUNCATE, DELETE FROM (no WHERE), git push --force, git reset --hard, git branch -D, kubectl delete, chmod 777, npm unpublish. Deactivate by ending the session.
From super-devnpx claudepluginhub jenningsloy318/claude-skill-artifacts --plugin super-devThis skill uses the workspace's default tool permissions.
Session-scoped safety guardrail that blocks destructive commands. Activate when working near production systems or sensitive data.
Announce at start: "Careful mode ACTIVATED. Destructive commands will be blocked for this session."
| Category | Blocked Patterns | Why |
|---|---|---|
| File Destruction | rm -rf, rm -r /, find -delete (recursive) | Irreversible data loss |
| Database Destruction | DROP TABLE, DROP DATABASE, TRUNCATE, DELETE FROM (without WHERE) | Irreversible data loss |
| Git Destruction | git push --force, git push -f, git reset --hard, git branch -D, git clean -fd | History/branch loss |
| Kubernetes | kubectl delete namespace, kubectl delete pod --all | Service disruption |
| Permissions | chmod 777, chmod -R 777, chmod +s | Security escalation |
| Package | npm unpublish, cargo yank | Distribution disruption |
rm on specific files (not recursive with -rf on root or broad paths)DROP TABLE IF EXISTS in migration files (detected by file context)git push (without --force)git reset --softkubectl delete pod [specific-pod] (single pod, not --all)When a blocked command is detected:
| Blocked | Safer Alternative |
|---|---|
rm -rf dir/ | mv dir/ /tmp/dir-backup-$(date +%s) (move to tmp first) |
DROP TABLE x | ALTER TABLE x RENAME TO x_deprecated_$(date) |
git push --force | git push --force-with-lease |
git reset --hard | git stash push -m "before-reset" then reset |
DELETE FROM x | SELECT COUNT(*) FROM x WHERE ... first to verify scope |
Careful mode lasts for the entire session. To deactivate:
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.