claude-code - 💡(How to fix) Fix [FEATURE] Enable marketplace auto-update through settings.json

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…

Error Message

  • Currently: force-install the marketplace via settings.json, then tell every user to open /plugin and flip auto-update. Error-prone and impossible to verify.

Code Example

{
  "marketplaces": {
    "my-marketplace": {
      "source": "github:org/my-marketplace",
      "autoUpdate": true
    }
  }
}
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

Organizations can enforce plugin installation centrally by shipping managed settings.json (e.g. via MDM or an enterprise-scoped config), but there is no corresponding way to enable marketplace auto-update from config. Auto-update for a marketplace can only be toggled per-user through the /plugin TUI.

This means a central admin can guarantee everyone has a given marketplace installed, but cannot guarantee anyone receives updates to it. Each user has to individually remember to open the TUI and flip the auto-update toggle, and there's no way to verify or enforce that they did.

This was previously reported in #17815 (closed as stale by the bot, now locked). The original request was from a marketplace author with essentially the same need.

Proposed Solution

Add a per-marketplace settings.json field alongside the existing install config:

{
  "marketplaces": {
    "my-marketplace": {
      "source": "github:org/my-marketplace",
      "autoUpdate": true
    }
  }
}

Per-marketplace (rather than a single global flag) lets different orgs apply different policies per source — for example, auto-updating trusted internal marketplaces while pinning third-party ones.

The setting should behave the same as the TUI toggle: the marketplace is refreshed on session start, and plugin changes take effect after a Claude Code restart (as confirmed in #17815's thread).

When the setting is present in managed/enterprise settings, it should take precedence over the user-level toggle, so admins can enforce the policy.

Alternative Solutions

  • Currently: force-install the marketplace via settings.json, then tell every user to open /plugin and flip auto-update. Error-prone and impossible to verify.
  • Shipping a hook that calls claude plugin marketplace update on session start — clunky, requires every user to install it, and the plugin/marketplace update CLI isn't really designed for this.

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

An engineering org maintains an internal marketplace of Claude Code skills tailored to their stack. Typical rollout:

  1. A platform engineer publishes a new version of a skill (e.g. a bug fix, or a brand-new skill for a common workflow).
  2. The org wants every engineer to pick it up on their next Claude Code session, without any individual action.
  3. Today, the org can ship a managed settings.json that installs the marketplace, but engineers who never opened the TUI to enable auto-update stay pinned to whatever version they installed originally.
  4. With this feature, the same managed settings.json could set autoUpdate: true, and every engineer would pick up new skills automatically on the next session start.

extent analysis

TL;DR

To enable marketplace auto-update centrally, add a per-marketplace autoUpdate field to the settings.json file.

Guidance

  • Consider adding the proposed autoUpdate field to the marketplaces configuration in settings.json to enable auto-update for specific marketplaces.
  • Verify that the autoUpdate setting takes precedence over the user-level toggle when present in managed or enterprise settings.
  • Test the behavior of the autoUpdate setting with different marketplace sources and configurations to ensure it works as expected.
  • Review the alternative solutions provided, such as force-installing the marketplace and telling users to flip the auto-update toggle, and assess their feasibility and potential drawbacks.

Example

{
  "marketplaces": {
    "my-marketplace": {
      "source": "github:org/my-marketplace",
      "autoUpdate": true
    }
  }
}

This example shows how to configure the autoUpdate field for a specific marketplace in settings.json.

Notes

The proposed solution requires changes to the settings.json configuration and may involve updates to the Claude Code application to support the new autoUpdate field. The feasibility of this solution depends on the specific requirements and constraints of the Claude Code application and its configuration management.

Recommendation

Apply the proposed workaround by adding the autoUpdate field to the settings.json file, as it provides a centralized way to manage marketplace auto-update settings and addresses the limitations of the current implementation.

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 [FEATURE] Enable marketplace auto-update through settings.json