fix(claude-code): remove plugin files containing absolute paths#2167
Merged
Conversation
Remove 4 plugin management files that should not be synced:
- `plugins/installed_plugins.json`: contains absolute `installPath`
(e.g. `/Users/<user>/.claude/plugins/cache/...`). Claude Code
auto-rebuilds this from `settings.json` `enabledPlugins`.
- `plugins/known_marketplaces.json`: contains absolute
`installLocation`. Source code explicitly warns about cross-platform
path corruption.
- `plugins/blocklist.json`: security cache auto-fetched from GitHub
every hour, not user configuration.
- `plugins/config.json`: deprecated legacy file (always `{}`).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
lra
approved these changes
Mar 28, 2026
eejd
pushed a commit
to eejd/mackup
that referenced
this pull request
May 13, 2026
…2167) Co-authored-by: Claude Opus 4.6 (1M context) <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.
Summary
Remove 4 plugin management files from
claude-code.cfgthat should not be synced across machines:plugins/installed_plugins.json: contains absoluteinstallPath(e.g./Users/<user>/.claude/plugins/cache/...). Claude Code auto-rebuilds this fromsettings.json'senabledPluginson startup.plugins/known_marketplaces.json: contains absoluteinstallLocation. The source code explicitly warns: "Marketplace has a corrupted installLocation — This can happen after cross-platform path writes or manual edits to known_marketplaces.json."plugins/blocklist.json: security blocklist cache auto-fetched from GitHub every hour — not user configuration.plugins/config.json: deprecated legacy file, always contains{"repositories": {}}.All 4 files are auto-managed by Claude Code and either contain machine-specific absolute paths or are ephemeral caches. The remaining 7 entries (
agents/,CLAUDE.md,hooks/,keybindings.json,settings.json,skills/,statusline.sh) are all user-created/customizable and portable.Follows up on #2166.
Test plan
mackup backup/mackup restoreworks correctly with the updated cfg🤖 Generated with Claude Code