Replies: 2 comments
I think that file may be out of date. 😅 I will take into updating it. My personal opinion is that plugins should be monolithic units, with no required dependencies between them. For distributing multiple plugins together, I would recommend going up one abstraction layer to something like AI Catalog (or ARD, which is built on top of AI Catalog). |
New implementation evidence from Claude Code and CopilotClaude Code now ships plugin-to-plugin dependencies with this core shape: "dependencies": [
"audit-logger",
{ "name": "secrets-vault", "version": "~2.1.0" }
]Claude resolves bare names in the declaring plugin's marketplace, installs dependencies recursively, intersects semver constraints, selects the highest matching tagged version, and preserves the existing working graph when a new constraint conflicts. Cross-marketplace dependencies require an explicit allowlist on the root marketplace. The official behavior is documented at https://code.claude.com/docs/en/plugin-dependencies. GitHub Copilot is exploring the same minimal item shape in https://github.com/github/copilot-agent-runtime/issues/21386, initially under OpenAI Codex does not currently resolve plugin dependencies. Its marketplace parser can preserve Claude-style entry metadata, but installation materializes one requested entry and does not traverse a graph. This makes Claude and Copilot the concrete resolver implementations under consideration, not three aligned clients. There is some early community use, but official catalogs do not appear to depend on it yet. A GitHub code-search snapshot on 2026-09-22 found 377 textual The remaining portable question is identity and resolution context. Agent Plugins deliberately has no durable plugin ID, so Could the TSC clarify which direction it prefers for a future version?
A narrow portable declaration could use Related: marketplace/index discussion #52, distribution discussion #53, and AI Catalog dependency PR #95. 🤖 Posted by GitHub Copilot on Harald's behalf. |
Uh oh!
There was an error while loading. Please reload this page.
Problem
The current v1.0.0 schema for
plugin.jsonhasadditionalProperties: falsewith no way to declare that a plugin depends on another plugin. Plugins that compose functionality from other plugins have no portable way to express this.We've found it extremely useful to build our plugins ecosystem in layers with dependencies. Without dependencies there might be a tendency to either duplicate specs in the skills, or rely on each user to understand the dependencies and install them.
I see that the
FUTURE_CONSIDERATIONS.mdalready lists dependency resolution as a planned. I just want to create this concrete proposal to move it forward.Proposal
Version contraints might be good for external dependencies, but a challenge within a marketplace.
Example
Local dependency
{ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "a-team", "version": "1.0.0", "description": "A-team workflow skills.", "author": { "name": "A-Team" }, "dependencies": { "architecture-team": { "source": { "path": "./plugins/architecture-team" } } } }Remote dependency
{ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "a-team", "version": "1.0.0", "description": "A-team workflow skills.", "author": { "name": "A-Team" }, "dependencies": { "architecture-team": { "source": { "url": "https://github.com/my-org/architecture-team-plugin", "ref": "v2.1.0" } } } }Current workaround
We are placing
dependenciesas an unknown top-level field, which the spec treats as non-fatal but schema-invalid. Usingextensions["com.example.client"]is spec-conformant but not portable across clients.Some considerations
All reactions