For everyone
Uninstall SessionCost
One command removes SessionCost and LiveGuard cleanly from your computer in one go.
Uninstall in one go
Section titled “Uninstall in one go”Open a terminal (not an agent’s chat — LiveGuard blocks agents from removing the guard) and run the command that matches how you installed:
| You installed with | Run in a terminal |
|---|---|
One-line installer, uv tool, or pipx |
sessioncost uninstall |
Python (pip) |
python -m sessioncost uninstall |
Node (npm) |
npx sessioncost uninstall |
It shows everything it found and asks Remove SessionCost now? [y/N] before changing anything. Type y and press Enter, then restart your agents and editor.
Want a backup copy before removing? Add --backup:
sessioncost uninstall --backupThat moves removed configs and data into ~/sessioncost-backup-<date> instead of deleting them.
What it removes
Section titled “What it removes”sessioncost uninstall removes every piece of SessionCost and LiveGuard:
- LiveGuard hooks in every agent — Claude Code (
~/.claude/settings.json), Codex (~/.codex/hooks.json), Cursor (~/.cursor/hooks.json), Antigravity (~/.gemini/config/hooks.json), and GitHub Copilot (~/.copilot/hooks/sessioncost-guard.json). Your other hooks stay untouched. - LiveGuard git hooks — if you run it inside a git repo where you enabled
sessioncost guard git on, it removes SessionCost’s pre-commit and pre-push hooks and restores any previous hooks. (If you enabled git hooks in other repos, runsessioncost guard git offin those repos before uninstalling.) - Agent skills —
/sessioncostand/liveguardfrom Claude Code, Codex, Cursor, Antigravity, and Copilot. - SessionCost’s own folder —
~/.sessioncost(reports, guard logs, settings, and helper environments). - Agent plugins — Claude Code (
claude plugin uninstall), Codex plugin cache, and Cursor plugin files. - Editor extensions —
kish21.sessioncostin VS Code, Cursor, and Antigravity (via their CLIs when available). - The program itself —
uv tool,pipx,pip, or globalnpmpackage. - Backup leftovers — old
~/sessioncost-backup-*folders and*.before-sessioncosthook backups (skipped when--backupis passed).
If a step needs one manual command
Section titled “If a step needs one manual command”Some tools lock files while they are running (for example, sessioncost.exe on Windows or an open editor/agent). If any step could not finish automatically, sessioncost uninstall prints the exact remaining command at the end:
- Program (if locked while running):
uv tool uninstall sessioncostpipx uninstall sessioncostpython -m pip uninstall -y sessioncostnpm uninstall -g sessioncost
- Claude Code plugin:
claude plugin uninstall sessioncost@sessioncost(or in Claude Code:/plugin→ Installed → SessionCost → Uninstall) - Codex plugin: open Plugins in Codex and remove SessionCost
- Cursor plugin: Settings → Plugins → remove SessionCost
- Editor extension: open the Extensions panel in VS Code, Cursor, or Antigravity → SessionCost → Uninstall
Verify everything is gone
Section titled “Verify everything is gone”Restart your agents and editor, then open a new terminal and run:
sessioncost --versionYou should see “command not found” (or “not recognized”). None of your agents will show /sessioncost or /liveguard, and ~/.sessioncost will no longer exist.