[Bug] Slash command autocomplete shows commands from uninstalled marketplace plugins

Resolved 💬 4 comments Opened Feb 19, 2026 by nofarius Closed Mar 19, 2026

Describe the bug

Slash commands from plugins that are not installed appear in the / autocomplete menu. Commands are being picked up from the full marketplace catalog directory (~/.claude/plugins/marketplaces/) rather than only from the installed plugins cache (~/.claude/plugins/cache/).

Steps to reproduce

  1. Have at least one plugin marketplace configured
  2. Type / in the Claude Code terminal
  3. Observe commands from plugins not present in installed_plugins.json

Expected behavior

Only commands from plugins listed in installed_plugins.json should appear in autocomplete.

Actual behavior

Commands from all plugins in the marketplace catalog directory appear, regardless of whether they are installed. For example, /security-review from the plugin-dev plugin appears in autocomplete despite plugin-dev not being installed.

Root cause (likely): Claude Code scans ~/.claude/plugins/marketplaces/ (the full marketplace catalog) for skills/commands in addition to, or instead of, only scanning ~/.claude/plugins/cache/ (installed plugins).

Environment

  • OS: macOS Darwin 24.6.0
  • Shell: zsh

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗