What probably matters to youSection of the release
What
The plugin marketplace commands can now print their result in JSON, a structured format that other programs can read. With --json, a command prints one machine-readable result line as the last line of its output. Exit codes, the numbers a command returns to say whether it succeeded, stay the same as before.
claude plugin marketplace add gains --json. Its result is labelled command: "marketplace-add".
claude plugin marketplace remove gains --json. Its result is labelled marketplace-remove.
claude plugin marketplace update gains --json, but only together with a marketplace name. Without one it says "--json needs a marketplace name, for example: claude plugin marketplace update --json".
Each result includes an outcome and a failureCode. Before this release these commands printed plain text only. Other commands may also have gained --json, but that was not confirmed.
Why
Scripts and automation can now add, remove and update plugin marketplaces and read the outcome reliably, instead of parsing text meant for people.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on Troubleshoot plugins touched a line naming --json after this was published.To see these programmatically, run `claude plugin list --json` in your shell. Plugins with problems carry an `errors` field with the messages and an `errorDetails` field with a `type` for each: the first three rows are `dependency-unsatisf…plugins/troubleshootingsee the edit
Confirmed sinceAnthropic's documentation has since written up --json, on Claude Code changelog.* Fixed `claude plugin validate` failing an Anthropic marketplace's own plugin and listing a clean `plugin.json` in `--json`changelogsee the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --json, on Claude Code changelog.