ox uninstall
Completely remove SageOx from the current repository: the .sageox directory, git hooks, and agent integration files.
This is a destructive operation and cannot be undone.
Usage
What it removes
- The
.sageox/directory and all its contents - Git hooks (
prepare-commit-msgand others) - Agent integration files (
.claude/settings.jsonand similar) - The
ox agent primeentry fromAGENTS.md/CLAUDE.md - User-level integration hooks, when
--user-integrationsis set
Files tracked in git are unstaged but left in the working tree unless you explicitly request their removal.
If several endpoints are configured, you can pick which one to uninstall from, or pass --all to remove them all.
Examples
Preview the changes without touching anything:
Remove from every configured endpoint without a prompt:
Flags
| Flag | Description |
|---|---|
--all | Uninstall from all configured endpoints |
--dry-run | Preview what would be removed without making changes |
--force | Skip the confirmation prompt for non-interactive use |
--local-only | Skip the cloud notification (doesn't require login, but cloud resources won't be cleaned up) |
--user-integrations | Also remove user-level integration hooks |
What's next
ox version
Print the version, build date, git commit and Go version of the ox CLI you run. Run ox upgrade to move to the latest release.
ox addons
Browse, install, update and remove add-ons: versioned bundles of skills, rules and context that install into Team Context for every repository on your team.

