Register Claude Code plugin marketplaces from a URL or GitHub repo, curate which plugins are enabled, and feed the result into a managed-settings.json.
pks marketplace <command> [options]$ pks marketplace add https://marketplace.agentics.dk/ctx/ctx-coreRegister an internal marketplace and pick plugins
$ pks marketplace listSee every registered marketplace and its counts
$ pks marketplace show my-marketplaceInspect one marketplace plugin by plugin
$ pks marketplace enable my-marketplace plugin-aTurn on a single plugin
$ pks marketplace refreshRe-fetch every source for plugin-list changes
pks marketplace manages Claude Code plugin marketplaces registered locally by pks. A marketplace is a marketplace.json document following Anthropic's plugin-marketplace schema, fetched from an HTTPS URL or a GitHub repository, and remembered on your machine together with the enabled or disabled state of each plugin it lists.
The group has one job: keep a local, curated registry of plugin marketplaces so a second command — pks claude managed-settings — can render a managed-settings.json for Claude Code from it. pks marketplace is the curation half; the render half lives under the claude branch.
github:owner/repo[@ref] shorthand that resolves to https://raw.githubusercontent.com/{owner}/{repo}/{ref}/marketplace.json with main as the default ref.enable and disable.add and refresh touch the network. list, show, enable, disable, and remove are pure edits to one JSON file.pks claude managed-settings, which is how the selection reaches a devcontainer or a team machine.~/.pks-cli/claude-marketplace.json, written as indented camelCase JSON.pks marketplace add presents a multi-select checkbox of the plugins the source declares, so you choose what to enable at registration time.--non-interactive skips every prompt; pair it with --enable-all to register everything enabled.{url}/policy and force-enables plugins the policy marks required or installed-default.pks marketplace refresh re-fetches the source and preserves the enabled state of plugins that still exist by name.You register a marketplace once with add. pks fetches the marketplace.json, reads its top-level name field, and stores an entry keyed by that name — this key is the ID that every other subcommand takes. From then on the plugin list you see is a local snapshot: list and show read it, enable and disable edit it, remove deletes it, and refresh replaces the snapshot with a newly fetched one.
Nothing in this group writes any Claude Code configuration file. The curated registry only reaches Claude Code when you run pks claude managed-settings, which loads the same claude-marketplace.json and renders managed-settings.json to stdout or to a path you pass with --output.
pks marketplace … — local registry, plugin enable state.pks claude managed-settings — renders the file Claude Code reads.add · list · show · enable · disable · remove · refresh
| Command | Purpose |
|---|---|
add <SOURCE> | Fetch a marketplace.json from a URL or github: source, apply policy, choose plugins, and register it. |
list | Print every registered marketplace with its enabled and total plugin counts. |
show <ID> | Print full detail for one marketplace, including a per-plugin table. |
enable <MARKETPLACE_ID> [PLUGIN_NAMES] | Set plugins to enabled; omit names to enable all. |
disable <MARKETPLACE_ID> [PLUGIN_NAMES] | Set plugins to disabled; omit names to disable all. |
remove [ID] | Delete a marketplace entry; omit the ID to pick interactively. |
refresh [ID] | Re-fetch sources and rebuild plugin lists; omit the ID to refresh all. |
| Setting | Value |
|---|---|
| Registry file | ~/.pks-cli/claude-marketplace.json |
| Default GitHub ref | main |
| Resolved GitHub path | https://raw.githubusercontent.com/{owner}/{repo}/{ref}/marketplace.json |
| Fetch authentication | none — unauthenticated HTTP GET |
| Policy document | {url}/policy, URL sources only |
No environment variables configure this group. The registry path is fixed and the file is created on first write.
Note. A corrupt or unparseable
claude-marketplace.jsonis treated as empty rather than raising an error, so a damaged file reads back as "nothing registered".
Register a Claude Code plugin marketplace from an HTTPS URL or a github:owner/repo source, apply its policy, and choose which plugins are enabled.
pks marketplace add <SOURCE> [options]
Turn plugins on or off inside a registered marketplace, one at a time or all at once, and understand why the change does not reach Claude Code by itself.
pks marketplace enable <MARKETPLACE_ID> [PLUGIN_NAMES]
Read the local marketplace registry: list every entry with its plugin counts, then open one by ID for a per-plugin table of names, versions, and state.
pks marketplace list && pks marketplace show <ID>
Complete command, argument, and flag reference for pks marketplace — add, list, show, enable, disable, remove, refresh, plus source forms and local storage.
pks marketplace <command> [options]
Re-fetch registered marketplace sources to pick up new, changed, or removed plugins while keeping the enabled state of the plugins that survive.
pks marketplace refresh [ID]
Delete a registered marketplace and its plugin state from the local registry, by ID with a confirmation prompt or interactively from a picker.
pks marketplace remove [ID] [options]