The catalog check and the release tag did not fail together. claude plugin validate on a marketplace with no owner exited 1. The error said owner was expected to be an object. A warning on the same run said the marketplace entry declared 1.2.3 while plugin.json said 9.9.9, and that install time keeps the manifest version. claude plugin tag on that same tree exited 0 and created the annotated tag hello--v9.9.9. The entry still said 1.2.3. The tag output did not mention the marketplace file.
That is the check before a release job treats a green tag as proof the catalog version matches the manifest. On this binary the agreement check runs after owner parses. A missing owner does not print the mismatch. It omits the check and tags the manifest version.
The build
The binary was Claude Code 2.1.308, on Linux x86_64, on 29 November 2026. claude --version printed 2.1.308 (Claude Code). The resolved executable was 292232560 bytes, dated 22 October 2026. Its SHA-256 was 356733f185fa988e6bf3aa9a555269fdd167982a2e2a80d3c8a78037bb92ad58. This run did not install a newer build. The changelog page fetched the same morning lists 2.1.332, dated 25 November 2026, as a later heading. A search of that page found claude plugin tag only in the 2.1.118 notes, dated 23 April 2026, as an added command that creates release git tags with version validation. It did not find a later sentence that says a missing owner now fails the tag. The 2.1.332 heading is not this binary.
Each case used a new git repository and a new CLAUDE_CONFIG_DIR. The account Claude directory was not the directory under test. Its modification time did not change. No claude auth login was run. No API key was set. No prompt was sent, and no session was started. The disposable config directory was not empty after the commands. It gained a small settings file and a backup of that file. The settings file recorded firstStartVersion as 2.1.308. It is not the catalog. Delete the disposable directory when you are done. Do not point the check at the account Claude directory.
The help line for the command is one sentence: create a {name}--v{version} git tag for a plugin release, validating that plugin.json and any enclosing marketplace entry agree. The plugin commands page, fetched the same morning, says the command checks that the plugin’s plugin.json and any marketplace entry that lists it agree on the version before tagging. It says the command finds that entry by walking up from the plugin directory to a .claude-plugin/marketplace.json that lists the plugin. It says a dry run prints the matching marketplace entry when there is one. It says the command exits 1 when it cannot tag safely, and it names a missing version in plugin.json or the marketplace entry as a common reason. It does not say a marketplace file that fails to parse is skipped.
The create-marketplace page, fetched the same morning, says the marketplace file requires a name, an owner, and a plugins array. It says to write each entry’s source as a path from the marketplace root, the directory that contains .claude-plugin/, for example ./plugins/my-first-plugin. The publish page says to run claude plugin tag from the plugin directory, that the tag name is {name}--v{version}, and that --push sends the tag to origin. This run did not pass --push. None of the probe repositories had a remote.
The tree
The marketplace file sat at .claude-plugin/marketplace.json. It had a name and a plugins array. It had no owner. The only entry was named hello, its source was ./plugins/hello, and its version was 1.2.3.
{
"name": "probe-market",
"plugins": [
{
"name": "hello",
"source": "./plugins/hello",
"version": "1.2.3"
}
]
}
The plugin directory was plugins/hello. Its manifest was .claude-plugin/plugin.json. The name was hello. The version was 9.9.9. The description was a short probe sentence. A skill file sat at skills/hello/SKILL.md so the tree was not an empty manifest. The repository had one commit. The worktree was clean. Git identity for that repository was local to it.
claude plugin validate on the plugin directory, not on the marketplace root, exited 0 and printed Validation passed with warnings. The warning was the missing author. The human report also listed a missing README, a missing license, and a missing icon, then said those directory checks do not change the result unless the command is run with --profile directory. This run did not pass that flag. The plugin-directory report did not mention 1.2.3 or the parent marketplace file. A pass on the plugin directory is not a pass on the catalog.
Validate names both problems
claude plugin validate on the marketplace root exited 1. It said it was validating the marketplace manifest. The error was:
owner: Invalid input: expected object, received undefined
The same report warned that plugins[0].version declared 1.2.3 while plugins/hello/.claude-plugin/plugin.json said 9.9.9. It said that at install time plugin.json wins, that the entry version is silently ignored, and that the entry should be updated to 9.9.9 to match. A second warning said the plugin had no author. The last line was Validation failed.
That warning is the fact a release job needs. The catalog version and the manifest version are not the same string, and the install path the validator describes will not use the catalog string. The missing owner is a separate error. It is also the switch for the tag command.
Tag creates the manifest version
claude plugin tag plugins/hello on the clean no-owner tree exited 0. Standard output named the plugin hello, the version 9.9.9 from plugin.json, and the tag hello--v9.9.9. It printed Created tag hello--v9.9.9. It did not print a marketplace entry. It did not print 1.2.3. The author warning was present and did not change the exit code.
The last line was a push instruction, not a completed push. It named the probe repository and the tag ref refs/tags/hello--v9.9.9. The path is omitted here. The shape was git -C that repository, then push origin and that ref.
git tag --list then showed hello--v9.9.9. git remote printed nothing. No --push was passed. The tag is local. The push line is the command the docs say you run yourself. A dry run of the same no-owner tree, before the real tag, had exited 0 and printed a git push line under the plan as well. That line is not evidence the dry run pushed, and it is not evidence the versions agreed.
The tag that exists is the manifest version. The file the walk was supposed to read still says 1.2.3. A job that archives the tag name as the catalog version has archived plugin.json.
Owner turns the check on
The same nested tree, with an owner object added and committed, is a different command. owner.name was Probe. The entry version stayed 1.2.3. The manifest version stayed 9.9.9. The source stayed ./plugins/hello.
claude plugin validate on that marketplace root exited 0 and printed Validation passed with warnings. The version warning was still there, in the same words: the entry says 1.2.3, the manifest says 9.9.9, and install time ignores the entry. Missing marketplace description and missing author were warnings too. A green validate, on a marketplace that has an owner, does not mean the versions match. It means the schema parsed and the disagreement was not promoted to an error.
claude plugin tag on plugins/hello then exited 1. The line was:
Version mismatch: plugin.json says "9.9.9" but .claude-plugin/marketplace.json plugins[0].version says "1.2.3". plugin.json wins at install time, so update the marketplace entry to "9.9.9" (or remove it) before tagging.
git tag --list was empty after that command. The refusal is the agreement check the help describes. It ran only after owner was an object. The install-time sentence in the error is the same precedence the validator warned about. Tag will not create the catalog version to paper over that precedence. It refuses until the entry matches, or until the entry version is removed. This run did not test a removed version field. It tested a present field that disagreed, and it tested the same disagreement with no owner.
A second layout, with plugin.json and marketplace.json in the same .claude-plugin/ directory and source set to ./, refused in a dry run once owner was present and the versions disagreed. The sentence was the same mismatch. That layout is the one the publish page shows for a plugin’s own repository. The nested ./plugins/hello source is the one the create-marketplace page shows. Both layouts enforce the check when owner parses. The nested layout does not enforce it when owner is absent. The own-repository layout was not repeated without owner. Do not treat the nested result as a measurement of that other file.
A matching catalog prints the entry
A third repository kept owner, set both versions to 1.2.3, and used source ./ beside the manifest. claude plugin tag --dry-run exited 0. It printed the version from plugin.json and then:
Marketplace entry: plugins[0] in the marketplace file (version: 1.2.3)
The real tag, still without --push, also exited 0, printed that same entry line, and created hello--v1.2.3. The annotated message was hello 1.2.3, which is the default of the plugin name, a space, and the version, the form the help describes. git tag --list showed that tag. There was still no remote, and the output again said Push with rather than Pushed. The entry line is the evidence the walk found the catalog and compared the strings. Exit 0 without that line is the no-owner result, not this one.
Test the tag before you publish it
Point claude plugin validate at the marketplace root, not only at the plugin directory. Require exit 1, or a version warning you have already decided to fix, before you tag. On this binary a missing owner is an error on validate and a silent skip on tag. Adding owner makes validate pass with a warning while the versions still disagree, and it makes tag exit 1. Do not treat either exit by itself as the whole check.
Then run the tag and read the version block, not only the exit code:
claude plugin tag --dry-run plugins/hello
Require a marketplace entry line whose version equals the plugin.json version before you create the tag. If that line is absent, the walk did not apply the agreement check. On this binary the cause was a marketplace file with no owner. A later build may fail that file closed, or may start tagging it. The changelog through the 2.1.332 heading does not decide that. The two commands do.
If the entry line is present and the versions differ, expect exit 1 and no new tag. Update the entry to the manifest version, or remove the entry version, and run the dry run again. This note did not remove the field, so it does not say whether an omitted entry version is treated as agreement or as a missing version. The help’s common-failure list names a missing version in the marketplace entry. Measure that case on the binary you will tag with if your catalog omits the field.
Do not pass --push until the entry line matches and you intend to update origin. Without --push, a successful tag still prints a push command. That line is not a push. Without a remote, it cannot be one. Do not add --force to get past a dirty tree or an existing tag until you have read why the command stopped. This run did not need --force. The no-owner tree was clean, and the tag it created was new.
Repeat both commands on the binary the release job will run. This note is 2.1.308. A newer build can start refusing the no-owner file, or can stop printing the entry line on a match. Until you see the refusal, or the entry line, a created tag named from plugin.json has not shown that the catalog agrees.
Sources
- Claude Code 2.1.308,
claude --versionprinted2.1.308 (Claude Code), Linux x86_64, 29 November 2026. The resolved executable is 292232560 bytes, dated 22 October 2026, SHA-256356733f185fa988e6bf3aa9a555269fdd167982a2e2a80d3c8a78037bb92ad58. DisposableCLAUDE_CONFIG_DIR. No login and no session. Commands wereclaude plugin validateon the plugin directory and on the marketplace root, andclaude plugin tagwith and without--dry-run, on the no-owner tree, the owner-plus-mismatch tree, and the matching-version tree. claude plugin tag --helpon that binary. The summary says the command validates thatplugin.jsonand any enclosing marketplace entry agree.- Plugin commands reference, section
plugin tag, fetched 29 November 2026. The command checks version agreement before tagging, walks up to.claude-plugin/marketplace.json, prints the matching entry when there is one, and exits 1 when it cannot tag safely. - Create a marketplace, fetched 29 November 2026.
marketplace.jsonrequiresname,owner, andplugins. A relativesourceis written from the marketplace root, as in./plugins/my-first-plugin. - Publish and distribute a plugin, fetched 29 November 2026.
claude plugin tagcreates the{name}--v{version}tag.--pushsends it toorigin. - Claude Code changelog, fetched 29 November 2026. Version 2.1.118, dated 23 April 2026, adds
claude plugin tag. The page’s later 2.1.332 heading, dated 25 November 2026, does not describe this skip. This run did not install 2.1.332.