# How to make sure a Claude Code mistake doesn't cost you your data

1. Ask Claude: "Append the contents of the downloaded file copy-before-change.md to the end of ~/.claude/CLAUDE.md, and if that file does not exist, create it".
2. Close Claude Code and open it again: rules are read at startup.

Check:

1. Ask Claude: "Create a spreadsheet prices.csv with three products and their prices".
2. Close Claude Code and open it again, so that what follows is a new conversation.
3. Ask Claude: "Raise all prices in prices.csv by 10 percent". Before editing, Claude Code saves a copy and tells you how to ask for the old prices back.
4. Ask Claude: "Bring back the old prices". The spreadsheet goes back to how it was before the edit.
5. Ask Claude: "Delete the spreadsheet prices.csv". Claude Code first asks again what exactly to delete and deletes it only after your answer.
