跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Careful

技能 活跃

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)

目的

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

功能

  • 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 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'

非目标

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

工作流

  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.

先决条件

  • 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.

安装

npx skills add garrytan/gstack

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

95 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标95.5k
许可证MIT
状态
查看源代码