Uninstall Arth Sarathi
Tested on Arth Sarathi 1.0.2 (commit eaede405) with Claude Code 2.1.154 or later, on 2026-12-01.
What you'll get: Arth Sarathi and anything its setup started removed from your machine, with your data kept unless you choose to delete it. Time: about 5 minutes.
#What keeps running until you stop it
/arth-setup uninstall removes only what the setup skills wrote. After it finishes:
- The plugin stays installed in Claude Code until you remove it in step 4.
- Docker containers keep running. The skill prints a
docker compose downcommand and never runs it for you, so this page stops them first. - Data stays. The dashboard's sessions live in a Docker volume, which is deleted only by the
--purge-datapath below. - Claude Code keeps its OTEL settings in
~/.claude/settings.json, which the dashboard setup added. Step 3 removes them.
If you never ran /arth-setup or /otel-setup, skip to step 4.
#Step 1: Stop the dashboard containers
Do this first, before anything else is removed, and only if you started the dashboard. The containers restart on their own after a reboot until you stop them. In your terminal:
docker compose -p arthai downarthai is the Docker Compose project name the setup uses. This stops and removes the three containers (arthai-intelligence, arthai-db, arthai-watchtower) and keeps your data. It works even if ~/.arthai/docker-compose.yml is already gone. Never add -v to this command: it deletes the data volume.
Check it:
docker ps --filter name=arthaiIt prints only the header row.
Something went wrong? See the containers are still running.
#Step 2: Undo the setup
Start Claude Code in the project where you ran the setup, and type:
/arth-setup uninstall allall covers intelligence, decisions and models. You can name one of them instead, for example /arth-setup uninstall intelligence. Removing one leaves the others working.
The skill first lists exactly which files and entries it will remove, and waits for you to confirm. Then, per product:
| Product | What it removes | What it prints for you to run |
|---|---|---|
| intelligence | .claude/.arth-otel.env in the project | docker compose -f ~/.arthai/docker-compose.yml down (you already ran step 1) |
| decisions | The Arth Decisions settings file in .claude/. Your key and the decision log stay | Nothing: there is no process |
| models | The two settings it added to .claude/settings.local.json, the model policy override and the model router's config. It stops the model router | A stop command, already run for you |
It ends by checking each product again and showing what is still set up.
Without Claude Code (for example, if you are no longer signed in), remove the same files by hand. Run these in the project folder where you ran the setup:
rm -f .claude/.arth-*.envThat removes every settings file an Arth setup wrote in the project (each is named .claude/.arth-<product>.env).
If you chose a second model provider or a local model, first take Claude Code's model calls off the model router, then stop it and remove its configuration (its log and cost ledger in ~/.arthai/proxy/ stay):
cp .claude/settings.local.json .claude/settings.local.json.bak && jq 'if .env then .env |= del(.ANTHROPIC_BASE_URL, .ANTHROPIC_DEFAULT_SONNET_MODEL) else . end' .claude/settings.local.json.bak > .claude/settings.local.json
kill "$(cut -d' ' -f1 ~/.arthai/proxy/proxy.pid)" 2>/dev/null; rm -f ~/.arthai/proxy/config.yaml ~/.arthai/proxy/config.json ~/.arthai/proxy/claude-settings.snippet.jsoncIf the project has a model-policy.override.yml that you did not write yourself, delete it too.
The jq line removes the two keys that send Claude Code's model calls to the model router. If you set either key yourself before, edit the file by hand instead.
Something went wrong? See /arth-setup uninstall did not remove a file.
#Step 3: Remove the dashboard's settings from Claude Code
Only if you started the dashboard. The setup added seven or fewer keys to the env block of ~/.claude/settings.json, so that Claude Code sends its OTEL data to http://localhost:4319 (this machine, 127.0.0.1). Uninstall leaves them in place. With the dashboard stopped, Claude Code keeps trying to send to a port where nothing listens; nothing leaves your machine, but you can remove them.
Look first. null, or no OTEL_ keys, means there is nothing to remove; skip to step 4.
jq .env ~/.claude/settings.jsonIf you had your own OTEL settings before, edit the file by hand instead. Otherwise remove the keys:
cp ~/.claude/settings.json ~/.claude/settings.json.bak && jq 'if .env then .env |= del(.CLAUDE_CODE_ENABLE_TELEMETRY, .OTEL_EXPORTER_OTLP_ENDPOINT, .OTEL_EXPORTER_OTLP_PROTOCOL, .OTEL_METRICS_EXPORTER, .OTEL_LOGS_EXPORTER, .OTEL_TRACES_EXPORTER, .OTEL_EXPORTER_OTLP_HEADERS) else . end' ~/.claude/settings.json.bak > ~/.claude/settings.jsonThe first part keeps a backup in ~/.claude/settings.json.bak. Claude Code reads the change at its next start.
Something went wrong? See jq is not installed.
#Step 4: Remove the plugin and the marketplace
In your terminal:
claude plugin uninstall prime@sarathi && claude plugin marketplace remove sarathiYou should see:
✔ Successfully uninstalled plugin: prime (scope: user)
✔ Successfully removed marketplace: sarathiCheck it:
claude plugin listprime@sarathi is no longer listed. Claude Code may keep a cached copy in ~/.claude/plugins/cache/sarathi; it is not loaded, and you can delete it:
rm -rf ~/.claude/plugins/cache/sarathiSomething went wrong? See the plugin is still listed.
#Step 5 (optional): Clean your project files
The plugin's first start wrote into each project you opened. These files stay after an uninstall, because they are yours to keep or remove. Do this in each project folder (cd into it first):
- In
CLAUDE.md, delete the lines from<!-- >>> claude-agents toolkit (DO NOT EDIT THIS BLOCK) >>> -->to<!-- <<< claude-agents toolkit <<< -->. If the plugin createdCLAUDE.mdand you never edited it, you can delete the file. - In
.git/info/exclude(or.gitignore, for a folder that is not a git repository), delete the lines from# >>> claude-agents managed (DO NOT EDIT THIS BLOCK) >>>to# <<< claude-agents managed <<<. - Delete the state files:
rm -f .claude/.toolkit-setup-done .claude/.project-state-cache.json .claude/.cc-version.cache .claude/.fix-behavior-contract.md.claude/knowledge/holds what/calibratelearned about the project and the knowledge graph. Keep it if you might come back; delete it withrm -rf .claude/knowledgeif not. If.claude/is now empty,rmdir .clauderemoves it.
The ~/.arthai/ folder in your home holds the compose file, config.json and .env with any keys you entered. It is never deleted for you. Delete it yourself once you have removed the data you want gone (below): rm -rf ~/.arthai.
#Delete your data
Data is never removed unless both of these are true:
- You pass
--purge-dataon the command line. - You complete a typed confirmation.
/arth-setup uninstall intelligence --purge-dataThe skill shows what would be destroyed and asks what you want to do. The two options are:
- Cancel — keep my data (the default)
- I understand — I will type the confirmation phrase
If you pick the second, type purge intelligence exactly. Anything else cancels and leaves your data untouched. For decisions, the phrase is purge decisions, and it deletes the decision log and its lock file in .claude/qa-knowledge/.
Without Claude Code, or if the volume is still there afterwards, delete the data yourself. Docker Compose names the volume arthai_arthai_data (the project name arthai, then the volume name). Check whether it exists:
docker volume inspect arthai_arthai_data --format '{{.Name}}'If it prints the name, stop the containers (step 1), then delete it:
docker volume rm arthai_arthai_dataThis deletes every stored session. It cannot be undone. For the Arth Decisions log, run this in the project folder:
rm -f .claude/qa-knowledge/*decisions.jsonl .claude/qa-knowledge/*locks.json#Check it worked
Run each check; the expected result follows it.
| Check | Command | Expected |
|---|---|---|
| The plugin is gone | claude plugin list | prime@sarathi is not listed |
| No dashboard containers | docker ps -a --filter name=arthai | Only the header row |
| The data volume, if you deleted your data | docker volume inspect arthai_arthai_data | Error: no such volume |
| No OTEL keys left | jq .env ~/.claude/settings.json | No OTEL_ keys you did not add yourself |
| The home settings backup (step 3) | ls ~/.claude/settings.json.bak | Listed only if step 3 made it. Once ~/.claude/settings.json looks right, delete it: rm -f ~/.claude/settings.json.bak |
| The project settings backup (step 2, by hand), in the project folder | ls .claude/settings.local.json.bak | Listed only if you made it. Once .claude/settings.local.json looks right, delete it: rm -f .claude/settings.local.json.bak |
| The home folder | ls -d ~/.arthai | No such file or directory, after rm -rf ~/.arthai |
| The plugin cache | ls ~/.claude/plugins/cache/sarathi | No such file or directory |
If you followed install and first fix, also remove the sample project and its local origin. Run this in the folder where you created them:
rm -rf arth-demo arth-demo-origin.gitA new Claude Code session now starts with no Arth briefing at the top.
Claude Code keeps two small records of its own after an uninstall. They are not Arth files, and removing them is optional:
declinedPluginsin~/.claude.jsonlistsprime@sarathi. Claude Code uses it to remember that you removed the plugin, so it does not offer it again. To clear it, quit Claude Code and runcp ~/.claude.json ~/.claude.json.bak && jq 'if .declinedPlugins then .declinedPlugins -= ["prime@sarathi"] else . end' ~/.claude.json.bak > ~/.claude.json. The install command on install and first fix works either way.- Empty
enabledPluginsandextraKnownMarketplacesentries in~/.claude/settings.json. They do nothing; leave them.