Repository navigation
<
8000
div class="prc-PageLayout-PageLayoutWrapper-2BhU2" data-width="full">
adeelahmad
changed the title
Plugin icon for the plugin directory; validate marketplace in CI
Fix claude.ai marketplace sync: move plugin/bin to libexec, add icon
Nov 22, 2026
Fix claude.ai marketplace sync: move plugin/bin to libexec, add icon - #129
Merged
Merged
Conversation
claude plugin validate --profile directory flagged ICON_MISSING; ship docs/brand/app-icon-512.png as plugin/.claude-plugin/icon.png, test it, and validate the marketplace manifest in CI too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj76Lmsc72D4cioNdac
claude.ai marketplace sync fails with marketplace_sync_bin_directory_not_allowed for any plugin that ships bin/. The scripts move to libexec/; every hook, host adapter, test and doc follows. ensure-tools (SessionStart) already wrote the plugin's script dir to CLAUDE_ENV_FILE, so bare names and `aloop` stay on PATH on Claude Code; a test pins it and the absence of bin/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj76Lmsc72D4cioNdac
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj76Lmsc72D4cioNdac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Root cause. Adding
adeelahmad/aloopas a marketplace on claude.ai fails sync withfailed_content:The local
claude plugin validatedoesn't check this rule.Fix.
plugin/bin/→plugin/libexec/. Every hook command, host adapter (OpenCode, dsh, Codex install), test, smoke script and doc follows.ensure-toolsSessionStart hook already wrote the plugin's script dir intoCLAUDE_ENV_FILE, and it now writeslibexec/, soaloopand the bare tool names still resolve in every Bash call.binddetectors (host-adapter, OpenCode) accept bothbin/bindandlibexec/bind.plugin/.claude-plugin/icon.png(512×512): the plugin-directory profile flaggedICON_MISSING.claude plugin validate . --stricton the marketplace manifest.Tests.
ensure-tools.test.py: asserts there is noplugin/bin/, and that the hook writes one idempotentexport PATH=…/libexec:line toCLAUDE_ENV_FILE.rename-compat.test.py: checks the icon's shape.make test-hostscommand passes;make conformance82/82;claude plugin validate --strict --profile directory ./pluginpasses.Known follow-up. A project that ejected userspace before this change has
reference/bin/…copies. After the upgrade those sit beside the newreference/libexec/…untilaloop userspace reset.🤖 Generated with Claude Code
https://claude.ai/code/session_01FeZyj76Lmsc72D4cioNdac