careful — for Claude Code careful, uni-foli, community, for Claude Code, ide skills, rm -rf, rm -r, rm --recursive, DROP TABLE, DROP DATABASE

v0.1.0

关于此技能

适用场景: Ideal for AI agents that need <!-- auto-generated from skill.md.tmpl — do not edit directly --. 本地化技能摘要: When using this skill, always pause and verify before executing potentially destructive operations. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --
<!-- Regenerate: bun run gen:skill-docs --
/careful — Destructive Command Guardrails
Safety mode is now active . Every bash command will be checked for destructive
patterns before running. If a destructive command is detected, you'll be warned

# 核心主题

him55710-sudo him55710-sudo
[0]
[0]
更新于: 5/2/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
54
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need <!-- auto-generated from skill.md.tmpl — do not edit directly --. 本地化技能摘要: When using this skill, always pause and verify before executing potentially destructive operations. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: careful helps agents <!-- auto-generated from skill.md.tmpl — do not edit directly --. When using this skill, always pause and verify before executing potentially destructive operations. This AI agent skill

适用 Agent 类型

适用场景: Ideal for AI agents that need <!-- auto-generated from skill.md.tmpl — do not edit directly --.

赋予的主要能力 · careful

适用任务: Applying <!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --
适用任务: Applying <!-- Regenerate: bun run gen:skill-docs --
适用任务: Applying /careful — Destructive Command Guardrails

! 使用限制与门槛

  • 限制说明: <!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --
  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

careful 是什么?

适用场景: Ideal for AI agents that need <!-- auto-generated from skill.md.tmpl — do not edit directly --. 本地化技能摘要: When using this skill, always pause and verify before executing potentially destructive operations. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 careful?

运行命令:npx killer-skills add him55710-sudo/uni-foli/careful。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

careful 适用于哪些场景?

典型场景包括:适用任务: Applying <!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --、适用任务: Applying <!-- Regenerate: bun run gen:skill-docs --、适用任务: Applying /careful — Destructive Command Guardrails。

careful 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

careful 有哪些限制?

限制说明: <!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --;限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add him55710-sudo/uni-foli/careful。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    careful 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

careful

When using this skill, always pause and verify before executing potentially destructive operations. This AI agent skill supports Claude Code, Cursor, and

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --> <!-- Regenerate: bun run gen:skill-docs -->

Safety Advisory: This skill includes safety checks that check bash commands for destructive operations (rm -rf, DROP TABLE, force-push, git reset --hard, etc.) before execution. When using this skill, always pause and verify before executing potentially destructive operations. If uncertain about a command's safety, ask the user for confirmation before proceeding.

/careful — Destructive Command Guardrails

Safety mode is now active. Every bash command will be checked for destructive patterns before running. If a destructive command is detected, you'll be warned and can choose to proceed or cancel.

bash
1mkdir -p ~/.gstack/analytics 2echo '{"skill":"careful","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true

What's protected

PatternExampleRisk
rm -rf / rm -r / rm --recursiverm -rf /var/dataRecursive delete
DROP TABLE / DROP DATABASEDROP TABLE users;Data loss
TRUNCATETRUNCATE orders;Data loss
git push --force / -fgit push -f origin mainHistory rewrite
git reset --hardgit reset --hard HEAD~3Uncommitted work loss
git checkout . / git restore .git checkout .Uncommitted work loss
kubectl deletekubectl delete podProduction impact
docker rm -f / docker system prunedocker system prune -aContainer/image loss

Safe exceptions

These patterns are allowed without warning:

  • rm -rf node_modules / .next / dist / __pycache__ / .cache / build / .turbo / coverage

How it works

The hook reads the command from the tool input JSON, checks it against the patterns above, and returns permissionDecision: "ask" with a warning message if a match is found. You can always override the warning and proceed.

To deactivate, end the conversation or start a new one. Hooks are session-scoped.

相关技能

寻找 careful 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具