[BUG] Marketplace removal via /plugin does not persist after restart
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When removing a marketplace via the /plugin command, the removal appears successful (confirmation message shown), but the marketplace reappears after restarting Claude Code.
Note: This may be related to #9537 (settings.json not being cleaned up), but that issue is from an older version. Confirming this behavior persists in 2.1.12.
What Should Happen?
- Marketplace removal should persist across Claude Code restarts
- The underlying configuration (settings.json or equivalent) should be updated to reflect the removal
Error Messages/Logs
Removal appears successful:
- Pressed 'r' to remove marketplace
- Pressed 'y' to confirm
- Received message: "Removed 1 marketplace"
- No error displayed
However, removal does not persist.
Steps to Reproduce
- Run
claudein terminal - Type
/plugin - Tab to
Marketplaces - Select a marketplace
- Press
rto remove - Press
yto confirm removal - Observe confirmation message: "Removed 1 marketplace"
- Exit Claude Code completely
- Relaunch Claude Code
- Type
/plugin→ Tab toMarketplaces - Expected: Removed marketplace is gone
- Actual: Marketplace has reappeared in the list
Claude Model
Opus 4.5
Is this a regression?
Possibly — see #9537 for earlier reports of similar behavior
Last Working Version
N/A
Claude Code Version
2.1.12
Platform
Claude Max
Operating System
macOS (Darwin 25.2.0)
Terminal/Shell
Ghostty / zsh
Additional Information
Related issues:
- #9537 — Earlier report of marketplace removal not cleaning up settings.json
- #19382 — Spacebar toggle broken in Marketplaces browse flow
- #19383 — Navigation incorrectly resets to Discover in Marketplaces flow
This is part of a broader pattern of issues with the Marketplaces tab functionality. The removal confirmation is shown, suggesting the UI action fires correctly, but the state change is not being persisted to disk.
Workaround attempted: Tried removing marketplace to reinstall plugins fresh—workaround failed due to this persistence bug.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗