Skip to main content

Careful

Skill Active

Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE, force-push, git reset --hard, kubectl delete, and similar destructive operations. User can override each warning. Use when touching prod, debugging live systems, or working in a shared environment. Use when asked to "be careful", "safety mode", "prod mode", or "careful mode". (gstack)

Purpose

To prevent accidental data loss or system instability by adding a confirmation layer to dangerous shell commands, especially in production or shared environments.

Features

  • Warns before destructive commands (rm -rf, DROP TABLE, force-push, etc.)
  • Allows overriding warnings for proceeding with commands
  • Defines safe exceptions for common patterns like deleting build artifacts
  • Session-scoped activation and deactivation

Use Cases

  • Use when working in production environments
  • Use when debugging live systems
  • Use when working in shared development environments
  • Use when explicitly asked to activate 'safety mode' or 'prod mode'

Non-Goals

  • Performing destructive commands directly
  • Providing granular control over individual file operations
  • Replacing a full-fledged shell security policy

Workflow

  1. User inputs a bash command.
  2. The 'careful' skill's hook intercepts the command before execution.
  3. The skill checks the command against a list of destructive patterns.
  4. If a destructive pattern is found, the skill warns the user and asks for confirmation.
  5. The user can choose to proceed or cancel the command.

Prerequisites

  • Bash
  • Read

Trust

  • warning:Issues AttentionThere are 203 open issues and 194 closed issues in the last 90 days, suggesting a low closure rate and potentially slow maintainer response.

Code Execution

  • info:LoggingThe skill includes basic local analytics logging for usage, which is helpful but not a comprehensive audit log of actions.

Installation

npx skills add garrytan/gstack

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

95 /100
Analyzed about 22 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars95.5k
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.