Skip to content

fix: align marketplace.json with Claude Code plugin schema#266

Merged
avifenesh merged 1 commit intomainfrom
fix/marketplace-schema
Feb 21, 2026
Merged

fix: align marketplace.json with Claude Code plugin schema#266
avifenesh merged 1 commit intomainfrom
fix/marketplace-schema

Conversation

@avifenesh
Copy link
Collaborator

Summary

  • Changed source from bare URL strings to the required object form {"source": "url", "url": "..."} matching the official Claude Code marketplace schema
  • Removed unrecognized requires and core keys from all 14 plugin entries
  • Added homepage field to each plugin

Fixes the schema validation error when loading the agentsys marketplace in Claude Code.

Test plan

  • Run /plugin in Claude Code and verify no schema warnings

Use object-form source {"source": "url", "url": "..."} instead of bare
URL strings, and remove unrecognized "requires"/"core" keys that cause
schema validation errors when loading the marketplace.
Copilot AI review requested due to automatic review settings February 21, 2026 17:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Claude Code marketplace registry (.claude-plugin/marketplace.json) to match the claimed official marketplace schema and eliminate schema validation warnings when loaded in Claude Code.

Changes:

  • Converted each plugin source from a URL string to an object form and appended .git to URLs.
  • Removed requires and core fields from plugin entries.
  • Added homepage to each plugin entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 26 to 28
"name": "next-task",
"source": "https://github.com/agent-sh/next-task",
"source": {"source": "url", "url": "https://github.com/agent-sh/next-task.git"},
"description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing plugins[].source from a string to an object will break the agentsys installer/runtime, which currently treats this field as a string (e.g., plugin.source.startsWith(...) and source.match(...) in bin/cli.js). With the new structure the CLI will throw at runtime unless it’s updated to handle both formats (e.g., normalize source to a string URL before use).

Copilot uses AI. Check for mistakes.
Comment on lines +27 to 28
"source": {"source": "url", "url": "https://github.com/agent-sh/next-task.git"},
"description": "Master workflow orchestrator: autonomous workflow with model optimization (opus/sonnet/haiku), two-file state management, workflow enforcement gates, 14 specialist agents",
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .git suffix in the GitHub URLs (e.g. next-task.git) is incompatible with the current plugin fetcher in bin/cli.js, which builds a GitHub API tarball URL from the parsed owner/repo (it will end up requesting repos/agent-sh/next-task.git/..., which 404s). Either remove the .git suffix here or update the fetch logic to strip it when constructing API URLs.

Copilot uses AI. Check for mistakes.
Comment on lines 33 to 40
{
"name": "ship",
"source": "https://github.com/agent-sh/ship",
"source": {"source": "url", "url": "https://github.com/agent-sh/ship.git"},
"description": "Complete PR workflow: commit to production, skips review when called from next-task, removes task from registry on cleanup, automatic rollback",
"version": "1.0.0",
"category": "deployment",
"requires": ["next-task"],
"core": ">=1.0.0"
"homepage": "https://github.com/agent-sh/ship"
},
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing requires and core from marketplace entries changes installer behavior: dependency resolution (resolvePluginDeps) and version compatibility warnings (checkCoreCompat) in bin/cli.js rely on these fields. If Claude Code’s schema can’t accept them, consider moving these fields to an agentsys-specific manifest (or deriving them from each plugin’s plugin.json) and updating the installer to read from that source so installs still pull required dependencies and enforce minimum versions.

Copilot uses AI. Check for mistakes.
@avifenesh avifenesh merged commit 8aee89b into main Feb 21, 2026
13 checks passed
@avifenesh avifenesh deleted the fix/marketplace-schema branch February 21, 2026 18:11
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