ccc-careful

ccc-careful is a command for Claude Code from KevinZai/commander. It costs 38 tokens per session (377 once invoked), scanned C, original, MIT.

A safety mode for coding work that blocks destructive commands and asks for confirmation before risky changes. It also shows diffs and records commands in an audit trail.

In plain words
What is it for?
Use it when working on sensitive projects or environments where file deletion, database changes, configuration edits, or deployments need extra review.
Why use it?
It lowers the risk of accidentally deleting files, changing databases, altering configuration, or deploying to production.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool.

Good fit Use it when working on sensitive projects or environments where file deletion, database changes, configuration edits, or deployments need extra review.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kevinzai/commander/ccc-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.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

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 ccc-careful

README.md
[![agentmods](https://agentmods.dev/badge/commands/kevinzai/commander/ccc-careful/github.svg)](https://agentmods.dev/commands/kevinzai/commander/ccc-careful)
Your own site
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-careful"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-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 ccc-careful

Your own site · 80×15
<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-careful"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-careful.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 377 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.00038 $0.00377
Opus 5.5 $0.00015 $0.00151
Sonnet 5.5 $0.00008 $0.00075
Haiku 4.5 $0.00004 $0.00038

Measured 5d ago against content hash e45b1e729a43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

ccc-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 5d ago.

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.

- **Refuse destructive commands** and explain why: `rm -rf`, `DROP TABLE` / `DROP DATABASE`, `git push --force`, `kubectl delete`, `docker system prune`, `pm2 delete all`, and equivalents.
commands/ccc-careful.md · 34 lines

What it actually says

/ccc-careful — careful mode for this session

CC Commander · /ccc-careful · session-long safety constraints the assistant follows until you turn them off.

Arguments

$ARGUMENTS: empty or on activates; off deactivates.

What happens

  1. Reply Careful mode is on. and apply these rules to every remaining turn:
    • Refuse destructive commands and explain why: rm -rf, DROP TABLE / DROP DATABASE, git push --force, kubectl delete, docker system prune, pm2 delete all, and equivalents.
    • Confirm before mutations: file deletion, database writes, production deploys, configuration changes. Ask with AskUserQuestion (plain-text question where unavailable): 🟢 Cancel · Proceed with this exact command (shows it).
    • Show the diff before writing any file.
    • Log commands: keep a running list of every shell command run this session and print it on request or when careful mode ends.
  2. On /ccc-careful off, reply Careful mode is off. and print the command log.

Done when

The activation or deactivation line has been sent; while on, every mutation in the session has a recorded user choice.

Guardrails

  • These rules are instructions the assistant follows, not enforcement. For hook-level blocking, use the guard or freeze skills.
  • Careful mode never weakens a stricter rule already in force.

See also

/ccc-checkpoint · /ccc-verify

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. 5d ago Changed · +19 lines · +22 tokens per session e45b1e729a43
  2. 1mo ago First seen · 15 lines · 16 tokens per session scan C 0f37f94c89f6

Subscribe to this mod's changes

ccc-careful is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 377 once invoked, about $0.0002 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.