Claude Code
Ask the agent to use obit bury when removing a file. In graveyard mode you can bring it back with obit resurrect during the retention period. Ask for a workspace with obit mktemp 1d and its temporary files get a one-day lifespan.
Connect Obituary
Run this in the project you want to connect:
obit init --agent claude --mcp --guard-rmDefault configuration locations:
.claude/settings.jsonCLAUDE.md.mcp.json
Use Claude Code 2.1.139 or later. When the delete guard recognizes a shell delete, Claude sees the equivalent obit command. The file goes to the graveyard when Claude runs that command.
Check the connection
Restart the agent and ask it to call obit_list. An empty list is a successful response too. To inspect the configuration on disk, run:
obit init --agent claude --showPause or disconnect
To pause callbacks, start the agent with OBIT_DISABLED=1. Explicit MCP calls still work.
To uninstall this integration, run the command below and restart the agent. Also remove any entries you added by hand. Files in the graveyard stay there.
obit init --agent claude --uninstallNeed to install Obituary first?
Download and review the script before you run it.
irm https://raw.githubusercontent.com/woodfishhhh/obituary/main/packaging/install.ps1 -OutFile install.ps1
.\install.ps1curl -fsSL https://raw.githubusercontent.com/woodfishhhh/obituary/main/install.sh -o install.sh
bash install.sh:::