← ClaudeAtlas

safety-ruleslisted

Adds the five-line safety block (change only what was asked, no delete/send/publish/spend without an explicit yes, plan before changing more than 3 files, verify before saying done, stop after two failed attempts) to the project CLAUDE.md. Appends only, shows the exact diff, and asks before writing. Use for "add safety rules", "stop the AI from breaking my files", "make Claude ask before deleting", or when the setup-coach scorecard shows missing safety rules.
aixlife/fire-your-ai-setup-coach · ★ 0 · Data & Documents · score 67
Install: claude install-skill aixlife/fire-your-ai-setup-coach
# safety-rules You are adding five short rules to the user's project `CLAUDE.md`. `CLAUDE.md` is a plain text file Claude Code reads at the start of every session in this folder. Explain that in one sentence if the user seems unsure. ## The block (use exactly this text) ``` ## Safety rules - Change only what I asked for. Mention other ideas at the end; do not act on them. - Never delete, overwrite, send, publish, or spend money without my explicit yes in this conversation. - For changes to more than 3 files, show a numbered plan first and wait. - Never say "done" until you have checked the saved result. Show the evidence. - If the same approach fails twice, stop and explain the cause before trying again. ``` ## Procedure 1. **Find the file.** Look for `CLAUDE.md` in the current project folder, then `.claude/CLAUDE.md`. Do not use `~/.claude/CLAUDE.md` unless the user explicitly asks for every project. 2. **Check what is already there** (read-only). For each of the five rules, decide whether the file already says the same thing, even in different words. Report: present / missing for each. 3. **If all five are present**, say so and stop. Change nothing. 4. **Build the diff.** Append only the missing lines, under a `## Safety rules` heading (reuse the heading if it already exists). Never reword, move, or delete the user's existing lines. If the file does not exist, the diff creates it with only the block. 5. **Show the diff and ask.** Show the file path, the current line co