Uninstall: remove repowise
Remove repowise from this repo, and optionally from this machine, with a full inventory of every path it ever wrote.
Enumerates every path repowise has written for this repo (agent wiring,
generated blocks in CLAUDE.md/AGENTS.md, the repo index, machine-wide
state like login and telemetry preference), then removes whatever scope you
choose. The report is the trust signal: it states exactly what was removed,
what was kept, and why, even when you keep the index.
repowise uninstall [PATH] [OPTIONS]| Parameter | Type | Default | Description |
|---|---|---|---|
--all | boolean | false | Remove everything, including the repo index and machine-wide state. |
--keep-index | boolean | false | The reinstall case: remove agent wiring and generated blocks, keep the repo index and machine-wide state (login, caches). |
--dry-run | boolean | false | Print the plan and change nothing. |
--format | string | table | Output format. json reports the plan, every path, and what happened to it. |
repowise uninstall # interactive: shows the inventory, asks what to remove
repowise uninstall --all # everything, including the index and login
repowise uninstall --keep-index # everything except the index and machine-wide state
repowise uninstall --dry-run # see the plan, remove nothing
repowise uninstall --all --format jsonThere is no --yes. Everywhere else in the CLI that flag means "run the
default without asking", and there's no safe default here: running the
default set when you meant to remove everything would be a partial
uninstall, and removing everything by default would be a surprise deletion.
Say what to remove instead: --all or --keep-index.
Consent is never inferred from a TTY probe. isatty lies on Windows, and
guessing wrong in either direction is bad: guessing "interactive" hangs,
guessing "not interactive" deletes without asking. With no terminal and no
scope flag, uninstall prints the inventory, removes nothing, and exits
non-zero.
Four groups make up the inventory:
- Agent configuration: every wired agent, both project and user scope.
- Generated blocks: the managed sections in
CLAUDE.mdandAGENTS.md. - Repo index:
.repowise/; rebuilding it costs a full re-index. - Machine-wide state: login, caches, telemetry preference.
The repowise package itself and the Claude Code plugin are owned by their
own installers (pip/uv/pipx, the Claude Code plugin marketplace), not
by this command. The report names the removal command for each.
Agents: add, remove, refresh
Wire repowise into Claude Code, Codex, Cursor, VS Code, OpenCode, or Hermes, or drop the config snippet for anything else.
Other commands
One-shot utilities: costs, coverage, dead-code, security scan, doctor, export, generate-claude-md, telemetry, login/logout/whoami, augment, delete.