mk:careful

mk:careful is a skill for Claude Code from ngocsangyem/MeowKit. It costs 20 tokens per session (748 once invoked), scanned C, original, MIT.

A session-only safety mode that warns before commands likely to destroy data or rewrite shared project history.

In plain words
What is it for?
Use it when working with production systems, live debugging, or shared repositories where destructive commands need an extra confirmation.
Why use it?
It reduces accidental damage from operations such as deleting files, dropping database tables, force-pushing, or resetting Git history.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex; built for gstack.

Good fit Use it when working with production systems, live debugging, or shared repositories where destructive commands need an extra confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ngocsangyem/meowkit/careful
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ngocsangyem/MeowKit --skill careful
Clone the repo
git clone --depth 1 https://github.com/ngocsangyem/MeowKit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mk:careful

README.md
[![agentmods](https://agentmods.dev/badge/skills/ngocsangyem/meowkit/careful/github.svg)](https://agentmods.dev/skills/ngocsangyem/meowkit/careful)
Your own site
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/careful"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/careful/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mk:careful

Your own site · 80×15
<a href="https://agentmods.dev/skills/ngocsangyem/meowkit/careful"><img src="https://agentmods.dev/badge/skills/ngocsangyem/meowkit/careful.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 748 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00748
Opus 5.5 $0.00008 $0.00299
Sonnet 5.5 $0.00004 $0.00150
Haiku 4.5 $0.00002 $0.00075

Measured today against content hash 0ccbef55d3e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

mk:careful scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 3 executable files (bin/check-careful.cjs, bin/check-careful.test.cjs, references/destructive-command-patterns.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Goal: ask before a destructive shell command runs (`rm -rf`, `DROP TABLE`, force-push, `reset --hard`, `kubectl delete`), for the rest of the session. To confine edits to one directory instead, use `mk:freeze`.
.claude/skills/careful/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/careful — Destructive Command Guardrails

Goal: ask before a destructive shell command runs (rm -rf, DROP TABLE, force-push, reset --hard, kubectl delete), for the rest of the session. To confine edits to one directory instead, use mk:freeze.

Runtime support

Claude Code can register this skill's session-scoped hook when the skill is invoked. On Codex, Cursor, Grok, Pi, OMP and Antigravity, the skill's hook is not registered by installation or invocation. Do not claim commands are automatically checked there. Manually apply the pattern list: refuse CRITICAL commands in a production-like environment and ask before other matches. Use host permission settings for enforcement when available; if enforcement is required and cannot be confirmed, stop and tell the user.

What's protected

See references/destructive-patterns.md for the full pattern list and its known gaps.

How it works

On Claude Code, this skill registers a PreToolUse hook on Bash (bin/check-careful.cjs). The hook is active from the moment the skill is invoked and ends with the session. It reads the command from the tool input, matches it against the pattern table, and when one matches it asks you to confirm before the command runs. You can approve a single command; each match asks again.

When the hook is active in a production-like environment the answer is stricter. When NODE_ENV, APP_ENV or ENVIRONMENT names production, prod or staging, a CRITICAL command is refused outright with no prompt to override; only a person changing that environment variable lifts it. HIGH patterns still ask. Recursive deletes of build outputs and dependency trees (node_modules, dist, .next and similar) pass without a prompt.

The active hook appends each match to a log of override requests; it records the request, not your decision.

Hooks

  • Claude Code Bash command guard: asks before destructive commands; refuses CRITICAL ones in a production-like environment. It checks Bash only: Edit and Write are not covered (see mk:freeze).
  • Session-scoped: it exists only because mk:careful was invoked.

Read the full file on GitHub · 60 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +4 lines · -5 tokens per session 0ccbef55d3e2
  2. 6d ago Changed · -9 lines fac21b0ce497
  3. 8d ago Changed 722ef93beb47
  4. 11d ago Changed 06274ac31ada
  5. 13d ago Changed · -11 tokens per session e33e2ae14c6a
  6. 20d ago Changed · -5 lines · -75 tokens per session 781e249c1f2b
  7. 2mo ago First seen · 70 lines · 111 tokens per session scan C b40f5401351b

Subscribe to this mod's changes

mk:careful is a skill published in the GitHub repository ngocsangyem/MeowKit (17 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 748 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

mk:careful compared with skills from other repositories

mk:careful next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mk:carefulngocsangyem/MeowKitSkill17yesterdayMITC20Claude Code
cuga-github-issuescuga-project/cuga-agentSkill1.2kyesterdayApache-2.0A101Claude Code, Codex
cuga-contributor-workflowscuga-project/cuga-agentSkill1.2kyesterdayApache-2.0A97Claude Code, Codex
comfy-nodelaurigates/claude-pluginsSkill60todayMITA50Claude Code
blueprint-derive-testslaurigates/claude-pluginsSkill60todayMITA37Claude Code
comfy-registry-lifecyclelaurigates/claude-pluginsSkill60todayMITA49Claude Code
agent-cli-worktree-safetylaurigates/claude-pluginsSkill60todayMITA53Claude Code