Claude plugin fails: `Plugin "X" not found in any configured marketplace`
Source: Troubleshooting reference
Symptom: install/claude.sh logs [warn] fail <plugin>: … ✘ Failed to install plugin "<plugin>": Plugin "<plugin>" not found in any configured marketplace, but the plugin visibly exists in the marketplace’s GitHub repo.
Root cause: plugin installs resolve against the local marketplace clones
under ~/.claude/plugins/marketplaces/, and with DISABLE_AUTOUPDATER=1 those
never refresh themselves. A plugin added upstream after the clone date is
invisible (the claude-plugins-official clone once sat 4 months stale while
math-olympiad existed upstream). claude.sh used to refresh catalogs only in
upgrade mode — and even that call was broken, passing a nonexistent --all flag
whose error was silenced by >/dev/null || true, so no mode ever refreshed.
It now refreshes (with the correct no-name form) in every mode.
Confirm — compare the clone date against upstream:
git -C ~/.claude/plugins/marketplaces/<marketplace> log -1 --format=%cdjq -r '.plugins[].name' \ ~/.claude/plugins/marketplaces/<marketplace>/.claude-plugin/marketplace.json | grep <plugin>Fix: update the checkout and rerun bootstrap.sh (or install/claude.sh).
Manual one-off:
claude plugin marketplace update <marketplace>claude plugin install <plugin>@<marketplace>