AIToday
AI Coding AssistantsAI Safety & AlignmentZenn AI/MLPublished: Oct 26, 2026, 22:01 JST

Three-tier CLAUDE.md rules cut AI approval prompts to money and contracts

Send on LINE
Three-tier CLAUDE.md rules cut AI approval prompts to money and contracts

3 Key Points

  1. What happened

    The operator divided Claude Code permissions into three tiers in CLAUDE.md: act without asking (code edits, commits, production deploys, production database reads and writes), always ask (anything that costs money or creates a new contract), and safety steps that apply regardless.

  2. Why it matters

    Requests for approval now come only for spending and contracts, so the operator focuses on the decisions that are truly theirs — though bulk production updates still require checking row counts and taking a backup.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The post starts from two everyday failures with Claude Code: an agent that asks permission for everything and stalls, and one that proceeds without asking and performs an irreversible operation. The author traces both to the same cause — never having decided how far the agent may go — and argues the fix is to write that boundary down in advance.

The practical shape is three tiers in CLAUDE.md. The first lists what may run without confirmation, covering code edits, commits, production deploys, and production database reads and writes. The second narrows mandatory questions to operations that move money or create a new commitment, on the reasoning that amounts and contracts cannot be undone later. The third sits above both: bulk production updates require checking the target count and taking a backup, API calls require estimating item counts against a monthly budget, and config files must be compared with the server's live version before overwriting.

From running this, the author reports fewer interruptions, since questions now come only for money and contracts. The scope is widened after an incident rather than up front, added together with safety steps, and hooks are used for anything that must be stopped mechanically. When Claude Code says it cannot perform a heavy operation such as handling production credentials, the author treats that as the boundary working, not something to bypass.

FAQ
Which operations always require confirmation?
Only two groups: operations that cost money (changing ad budgets, subscribing to paid plans, purchases, payments, transfers) and new registrations with external services such as creating accounts.
If something is approved for no-confirmation, do safety steps still apply?
Yes. The operator treats them as separate: even approved actions must check row counts and take a backup before bulk production updates or deletes, and must estimate item counts before external API calls that could exceed the monthly budget.
What is suggested when written rules alone are not enough?
The operator recommends pairing the written boundaries with hooks — mechanisms that stop an action before it runs — because some rules are not followed just by being written down.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleDeepMind's Barron flags two Softmax bugs in standard ML code