[BUG] 'Failed to install Anthropic marketplace' error persists on native installation even after manually adding marketplaces

Resolved 💬 3 comments Opened Jan 29, 2026 by zukethenuke Closed Feb 2, 2026

Description

On every startup, Claude Code shows the error:

Failed to install Anthropic marketplace · Will retry on next startup

This persists even after:

  1. Manually adding the anthropics/claude-plugins-official marketplace via claude plugin marketplace add
  2. Manually adding the anthropics/skills marketplace (anthropic-agent-skills)
  3. Cleaning ~/.claude.json of officialMarketplace* fields (they get recreated on startup)

Environment

  • Installation method: Native (curl installer)
  • OS: macOS (darwin)
  • Claude Code version: Latest

Debug log output

Official marketplace auto-install skipped: unknown
Showing marketplace installation failure notification

The debug log shows the installation type is detected as "unknown" during the marketplace auto-install check, even though ~/.claude.json correctly shows "installMethod": "native".

Expected behavior

The startup error should not appear when:

  1. The marketplace is already manually installed, OR
  2. The installation method is correctly set to "native"

Related issues

  • #14360
  • #15569

Additional context

The officialMarketplace* fields in ~/.claude.json keep getting recreated with officialMarketplaceAutoInstalled: false and officialMarketplaceAutoInstallFailReason: "unknown" on every startup, causing the error to persist indefinitely.

View original on GitHub ↗

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