Arth docs

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.

Uninstall flow Step 1: in a terminal, docker compose -p arthai down stops the dashboard containers first and keeps the data. Step 2: in Claude Code, /arth-setup uninstall all removes the files the setup wrote. Step 3: remove the OTEL keys the dashboard setup added to ~/.claude/settings.json. Step 4: claude plugin uninstall and claude plugin marketplace remove take the plugin out of Claude Code. Step 5, optional: remove the blocks in CLAUDE.md and .gitignore. Data is deleted only with --purge-data and the typed phrase purge followed by the product name. 1. Stop the containers first docker compose -p arthai down Data is kept 2. Undo the setup (Claude Code) /arth-setup uninstall all Removes the files the setup wrote 3. Remove the OTEL keys From the env block of ~/.claude/settings.json 4. Remove the plugin (terminal) claude plugin uninstall prime@sarathi claude plugin marketplace remove sarathi 5. Optional: clean project files The marked blocks in CLAUDE.md and .gitignore Deleting data is separate --purge-data, then type: purge <product> Anything else cancels
The uninstall flow: stop the dashboard containers first, then undo the setup inside Claude Code, remove the dashboard's settings block, and remove the plugin and the marketplace; data is deleted only on a typed confirmation

#What keeps running until you stop it

/arth-setup uninstall removes only what the setup skills wrote. After it finishes:

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:

Terminal
docker compose -p arthai down

arthai 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:

Terminal
docker ps --filter name=arthai

It 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:

Claude Code
/arth-setup uninstall all

all 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:

ProductWhat it removesWhat it prints for you to run
intelligence.claude/.arth-otel.env in the projectdocker compose -f ~/.arthai/docker-compose.yml down (you already ran step 1)
decisionsThe Arth Decisions settings file in .claude/. Your key and the decision log stayNothing: there is no process
modelsThe two settings it added to .claude/settings.local.json, the model policy override and the model router's config. It stops the model routerA 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:

Terminal
rm -f .claude/.arth-*.env

That 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):

Terminal
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.jsonc

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

Terminal
jq .env ~/.claude/settings.json

If you had your own OTEL settings before, edit the file by hand instead. Otherwise remove the keys:

Terminal
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.json

The 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:

Terminal
claude plugin uninstall prime@sarathi && claude plugin marketplace remove sarathi

You should see:

Claude Code
✔ Successfully uninstalled plugin: prime (scope: user)
✔ Successfully removed marketplace: sarathi

Check it:

Terminal
claude plugin list

prime@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:

Terminal
rm -rf ~/.claude/plugins/cache/sarathi

Something 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):

Terminal
rm -f .claude/.toolkit-setup-done .claude/.project-state-cache.json .claude/.cc-version.cache .claude/.fix-behavior-contract.md

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:

  1. You pass --purge-data on the command line.
  2. You complete a typed confirmation.
Claude Code
/arth-setup uninstall intelligence --purge-data

The skill shows what would be destroyed and asks what you want to do. The two options are:

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:

Terminal
docker volume inspect arthai_arthai_data --format '{{.Name}}'

If it prints the name, stop the containers (step 1), then delete it:

Terminal
docker volume rm arthai_arthai_data

This deletes every stored session. It cannot be undone. For the Arth Decisions log, run this in the project folder:

Terminal
rm -f .claude/qa-knowledge/*decisions.jsonl .claude/qa-knowledge/*locks.json

#Check it worked

Run each check; the expected result follows it.

CheckCommandExpected
The plugin is goneclaude plugin listprime@sarathi is not listed
No dashboard containersdocker ps -a --filter name=arthaiOnly the header row
The data volume, if you deleted your datadocker volume inspect arthai_arthai_dataError: no such volume
No OTEL keys leftjq .env ~/.claude/settings.jsonNo OTEL_ keys you did not add yourself
The home settings backup (step 3)ls ~/.claude/settings.json.bakListed 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 folderls .claude/settings.local.json.bakListed only if you made it. Once .claude/settings.local.json looks right, delete it: rm -f .claude/settings.local.json.bak
The home folderls -d ~/.arthaiNo such file or directory, after rm -rf ~/.arthai
The plugin cachels ~/.claude/plugins/cache/sarathiNo 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:

Terminal
rm -rf arth-demo arth-demo-origin.git

A 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: