Skip to content

claude-ops:plugins: claude plugin marketplace remove leaves ~/.claude/plugins/cache/<marketplace>/ on disk (CC 2.1.261) #3763

Description

@kyle-sexton

Summary

Observed on Claude Code 2.1.261 during the #3734 re-verification pass (PR #3760): after installing a plugin from a throwaway local marketplace, uninstalling it, and running claude plugin marketplace remove <name>, the marketplace's entry left known_marketplaces.json and user settings byte-for-byte as before, but ~/.claude/plugins/cache/<marketplace>/ stayed on disk with all three version trees intact. It had to be deleted by hand.

Why it matters

The claude-ops plugins skill's scope-semantics.md documents the cache and sweep behaviour it relies on, and the plugins reference says orphaned versions are swept about 14 days after an update or uninstall. Whether a removed marketplace's cache tree is ever swept is not recorded anywhere in the skill. This is adjacent to #3688 (cache growth from stranded project pins) and #3681 (stale cache directory kept on unchanged version).

Ask

  • Confirm on a second machine or a later CLI whether the tree is swept by the 14-day retention pass or is permanently orphaned.
  • Record the finding in context/scope-semantics.md with a version stamp, and consider a line in audit-install-state for cache trees whose marketplace is no longer registered.

Environment

Claude Code 2.1.261, Windows 11 Pro, Git Bash.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions