claude-code - 💡(How to fix) Fix /doctor permanently reports `autofix-bot` not cached even when not installed [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#56863Fetched 2026-05-07 03:43:23
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

I dug into it. autofix-bot appears in install-counts-cache.json with 58 installs, but the plugin has no files in the claude-plugins-official repo — external_plugins/autofix-bot doesn't exist locally or in the remote tree. Using the /plugins UI to remove it doesn't stick: the next sync re-queries the registry, sees the entry, tries to cache it, fails, and the error is back. To reproduce: Run /doctor. The error appears even with no plugins manually installed.

Code Example

Plugin "autofix-bot" not cached at ...marketplaces\claude-plugins-official\external_plugins\autofix-bot
RAW_BUFFERClick to expand / collapse

I ran into a persistent false positive in /doctor and wanted to share what I found in case it helps.

Every run reports:

Plugin "autofix-bot" not cached at ...marketplaces\claude-plugins-official\external_plugins\autofix-bot

I dug into it. autofix-bot appears in install-counts-cache.json with 58 installs, but the plugin has no files in the claude-plugins-official repo — external_plugins/autofix-bot doesn't exist locally or in the remote tree. Using the /plugins UI to remove it doesn't stick: the next sync re-queries the registry, sees the entry, tries to cache it, fails, and the error is back.

My best guess at what's happening: /doctor appears to iterate over install-counts-cache.json, which lists all marketplace plugins with install counts regardless of whether the user has installed them. Scoping that check to installed_plugins.json instead (plugins the user actually installed) would fix it.

To reproduce: Run /doctor. The error appears even with no plugins manually installed.

Thanks for everything that goes into Claude Code — genuinely the best tool on the planet.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix /doctor permanently reports `autofix-bot` not cached even when not installed [1 participants]