Skip to content

bug(plugin): "agents" field in plugin.json fails manifest validation — plugin fails to install #1459

@psiservices-danny-mitchell

Description

Bug Report

Description

Installing the plugin via claude plugin install everything-claude-code@everything-claude-code fails with a manifest validation error:

Error: Failed to install: Plugin temp_local_... has an invalid manifest file at
  ...\.claude-plugin\plugin.json.

  Validation errors: agents: Invalid input

Root Cause

The .claude-plugin/plugin.json manifest includes:

"agents": "./agents"

Claude Code's plugin manifest schema does not accept agents as a plain string path. The validator rejects it with Invalid input. Other working plugins (e.g. superpowers) do not include an agents field in their manifests at all.

Steps to Reproduce

claude plugin marketplace add anthropics/claude-plugins-official
claude plugin install everything-claude-code@everything-claude-code

Expected Behavior

Plugin installs successfully.

Actual Behavior

Installation fails with Validation errors: agents: Invalid input.

Fix Suggestion

Either remove the agents field from .claude-plugin/plugin.json (if the Claude Code plugin system doesn't support it via manifest), or update it to match the format the schema expects (array of agent definitions rather than a directory path string).

Environment

  • Claude Code version: 2.x (Windows 11)
  • Platform: Windows 11 Enterprise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions