Skip to content

OpenCode ​

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:

sh
obit init --agent opencode --mcp

Default configuration locations:

  • .opencode/plugins/obituary.ts
  • AGENTS.md
  • opencode.json

If several configuration files are active, choose the intended MCP file first. Use the MCP tools directly when working remotely.

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:

sh
obit init --agent opencode --show

Pause 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.

sh
obit init --agent opencode --uninstall
Need to install Obituary first?

Download and review the script before you run it.

powershell
irm https://raw.githubusercontent.com/woodfishhhh/obituary/main/packaging/install.ps1 -OutFile install.ps1
.\install.ps1
bash
curl -fsSL https://raw.githubusercontent.com/woodfishhhh/obituary/main/install.sh -o install.sh
bash install.sh

:::

MIT