From d4f96fbb2e3c1d0b9b1dbbf4cb50fc7abf054be6 Mon Sep 17 00:00:00 2001 From: Yashovardhan Agrawal <21066442+yashovardhan@users.noreply.github.com> Date: Wed, 30 Sep 2026 11:05:39 +0400 Subject: [PATCH] fix(plugin): clear Claude plugin directory validation findings - Remove the .antigravity-plugin/skills symlink, which blocked validation. Antigravity installs from the repo root, where skills/ already resolves. - Drop the explicit hooks entry from .claude-plugin/plugin.json. hooks/hooks.json loads by default, so listing it caused a duplicate hooks file error. - Rewrite assets/logo.svg with plain fill attributes and UTF-8 encoding. The validator rejects SVGs that use style. - Document the expected policy holds in the submission checklist. Co-Authored-By: Claude Opus 5.5 --- .antigravity-plugin/skills | 1 - .claude-plugin/plugin.json | 3 +-- README.md | 3 +-- assets/logo.svg | 33 ++++++++------------------------- docs/MARKETPLACE_SUBMISSION.md | 11 +++++++++-- 5 files changed, 19 insertions(+), 32 deletions(-) delete mode 120000 .antigravity-plugin/skills diff --git a/.antigravity-plugin/skills b/.antigravity-plugin/skills deleted file mode 120000 index 42c5394..0000000 --- a/.antigravity-plugin/skills +++ /dev/null @@ -1 +0,0 @@ -../skills \ No newline at end of file diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 28f9186..c1de869 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -21,6 +21,5 @@ "prediction-markets", "agent-wallet" ], - "skills": "./skills/", - "hooks": "./hooks/hooks.json" + "skills": "./skills/" } diff --git a/README.md b/README.md index 7f44437..1a515be 100644 --- a/README.md +++ b/README.md @@ -160,8 +160,7 @@ Do **not** rename the plugin `name` (`metamask-agent-wallet`) after marketplace ├── .antigravity-plugin/ # Antigravity CLI (`agy`) │ ├── plugin.json │ ├── hooks.json -│ ├── rules/ -│ └── skills -> ../skills +│ └── rules/ ├── .grok-plugin/ # Grok Build │ ├── plugin.json │ └── marketplace.json diff --git a/assets/logo.svg b/assets/logo.svg index 66cbc40..a052898 100644 --- a/assets/logo.svg +++ b/assets/logo.svg @@ -1,26 +1,9 @@ - - - - - - - - - - + + + + + + + + diff --git a/docs/MARKETPLACE_SUBMISSION.md b/docs/MARKETPLACE_SUBMISSION.md index cf4dab4..79903ff 100644 --- a/docs/MARKETPLACE_SUBMISSION.md +++ b/docs/MARKETPLACE_SUBMISSION.md @@ -28,9 +28,16 @@ Plugin package lives in this repository. Complete these steps after merging the - https://platform.claude.com/plugins/submit - or https://claude.ai/admin-settings/directory/submissions/plugins/new -3. In-app submission lists the plugin in the **community** marketplace. The CLI plugin-hint protocol (``) only works for Anthropic’s official marketplace. +3. The submission validator places these items on **policy hold** for human review. They are expected and need no code change: + - **Brand name "MetaMask"** in `name` / `author.name`. The source repo lives in the official `MetaMask` GitHub org, which proves ownership. Submit from a MetaMask-controlled account or organization. + - **Credential from the user's machine** and **scripts the validator couldn't follow**. `hooks/session-start.sh` runs `mm doctor --json` (which reads the local `mm` session) and writes `~/.metamask/attribution.json`. It never reads secrets into the model context, never installs software, and always exits 0. A `user_config` option does not fit, because the hook only reports readiness. + - The root `plugin.json` (agent-plugins.org format) is informational only. Claude ignores it. -4. **Action for MetaMask partner contact:** ask Anthropic to list `metamask-agent-wallet` under `claude-plugins-official` so the stretch CLI hint (plan B5) can ship later. + Keep the repo free of symlinks under plugin paths, keep `hooks/hooks.json` out of the `hooks` field in `.claude-plugin/plugin.json` (it loads automatically), and keep `assets/logo.svg` free of `style`, scripts, and external references. Each of these fails validation. + +4. In-app submission lists the plugin in the **community** marketplace. The CLI plugin-hint protocol (``) only works for Anthropic’s official marketplace. + +5. **Action for MetaMask partner contact:** ask Anthropic to list `metamask-agent-wallet` under `claude-plugins-official` so the stretch CLI hint (plan B5) can ship later. ## Cursor