Repository navigation
MR-496: Add frbit uninstall and frbit setup agent --remove - #23
Merged
Merged
Conversation
Undoes frbit setup agent in one command: removes the MCP entry and the skill from the detected agents and signs the CLI out, after a confirmation that --yes skips. The Claude Code plugin and the binary stay in place; the output says how to remove them and where to revoke the MCP grants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes the agent setup, the Claude Code plugin, the sign-in, the config and cache folders and the binary in one command, after one confirmation. Homebrew and npm installs go through brew and npm; Windows gets the path to delete, since a running executable stays locked there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes the binary first, so a failing brew or npm leaves the rest for a retry. Windows gets the brew or npm command to run, as the running executable stays locked there. A disabled plugin is removed too, and skill folders are found without the agent CLI on PATH. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A failure in any earlier step now leaves frbit in place to run again. The binary is checked after brew or npm, since npm succeeds on a pnpm, yarn or bun install it does not own. A symlink on PATH is removed without its target. Skill folders are looked up for every agent, and Windows reports the step left instead of claiming success. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖
Uninstall in one command, for MR-496 (advertise uninstall next to install).
frbit uninstall: removes the MCP entries and skills in Claude Code and Codex, the Claude Code plugin, the CLI sign-in, the config and cache folders, and the binary. Lists everything, asks once;--yesskips.brew uninstall/npm uninstall --globalwhen installed that way, otherwise deleted. Windows: prints the step, the running exe is locked.frbit setup agent --remove: undoes onlysetup agent(MCP, skill, sign-in) and keeps the CLI.logout.Runexported so both reuse the sign-out with its server-side revoke.🤖 Generated with Claude Code
🤖