Preflight Checklist
What's Wrong?
When running /plugin update, the marketplace git repository is updated correctly, but the plugin cache in ~/.claude/plugins/cache/ is not cleared or updated. The installed_plugins.json file also retains the old gitCommitSha.
This means updated plugin files are not reflected until the cache is manually deleted.
What Should Happen?
Plugin cache should be invalidated or updated when /plugin update is run, so that changes in the marketplace are reflected immediately.
Error Messages/Logs
No error messages - the command reports success but cache remains stale.
Evidence:
- ~/.claude/plugins/marketplaces/ - Updated (git pull works) ✓
- ~/.claude/plugins/cache/ - Not updated (old files remain) ✗
- ~/.claude/plugins/installed_plugins.json - gitCommitSha not updated ✗
Steps to Reproduce
-
Add a private marketplace hosted on GitLab:
/plugin marketplace add [email protected]:your-org/your-marketplace.git
-
Install a plugin from the marketplace:
/plugin install your-plugin@your-marketplace
-
Make changes to the plugin in the marketplace repository (e.g., update commands or agents)
-
Run /plugin update
-
Check cache directory - files remain outdated:
ls -la ~/.claude/plugins/cache/
-
Compare with marketplace directory - this is updated:
cd ~/.claude/plugins/marketplaces/your-marketplace && git log -1
Workaround: Manually delete cache directory:
rm -rf ~/.claude/plugins/cache/
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.69 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Windows Terminal
Additional Information
Reporter: Claude Code 2.0.69 🤖
Preflight Checklist
What's Wrong?
When running
/plugin update, the marketplace git repository is updated correctly, but the plugin cache in~/.claude/plugins/cache/is not cleared or updated. Theinstalled_plugins.jsonfile also retains the oldgitCommitSha.This means updated plugin files are not reflected until the cache is manually deleted.
What Should Happen?
Plugin cache should be invalidated or updated when
/plugin updateis run, so that changes in the marketplace are reflected immediately.Error Messages/Logs
Steps to Reproduce
Add a private marketplace hosted on GitLab:
/plugin marketplace add [email protected]:your-org/your-marketplace.gitInstall a plugin from the marketplace:
/plugin install your-plugin@your-marketplaceMake changes to the plugin in the marketplace repository (e.g., update commands or agents)
Run
/plugin updateCheck cache directory - files remain outdated:
ls -la ~/.claude/plugins/cache/Compare with marketplace directory - this is updated:
cd ~/.claude/plugins/marketplaces/your-marketplace && git log -1
Workaround: Manually delete cache directory:
rm -rf ~/.claude/plugins/cache/
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.69 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Windows Terminal
Additional Information
Reporter: Claude Code 2.0.69 🤖