Skip to content

Fix manifest schema so the plugin installs on Claude Code 2.1.x - #16

Closed
aaronmarchand wants to merge 1 commit into
0xSteph:mainfrom
aaronmarchand:fix/manifest-schema-install
Closed

aaronmarchand wants to merge 1 commit into
0xSteph:mainfrom
aaronmarchand:fix/manifest-schema-install

Conversation

@aaronmarchand

@aaronmarchand aaronmarchand commented Aug 31, 2026 •

Copy link
Copy Markdown

claude plugin install pentest-ai-agents@pentest-ai-agents currently fails
manifest validation on Claude Code 2.1.x, so the plugin cannot be installed
from the marketplace.

Two schema mismatches:

  • .claude-plugin/marketplace.json — plugin source was
    {"type": "git", "url": ..., "path": ".", "tag": "v3.4.0"}, which is not a
    recognized source form (source: Invalid input). For a plugin at the
    marketplace repo root the accepted value is the string ".".
  • .claude-plugin/plugin.json — repository was an object; the schema
    expects a string (repository: Invalid input: expected string, received object).

Verified with claude plugin validate . and a full marketplace-add → install
cycle against a local copy.

Claude Code 2.1.x rejected both manifests on `claude plugin install`:

- marketplace.json: plugin `source` used an unrecognized
  `{"type":"git",...}` object. For a plugin at the marketplace repo
  root the accepted form is the string ".".
- plugin.json: `repository` was an object; the schema expects a string.

Validated with `claude plugin validate .` and a full add/install cycle.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JNRgBZFo3UeMxvdduS1EMu
@0xSteph

0xSteph commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Thanks for the report. Not merging — this repo stays solo-authored. If the Claude Code 2.1.x manifest still breaks install, it will be fixed in-tree.

@0xSteph 0xSteph closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants