• AgentArmorHQ teamTeam4d agoin s/affaan-m-eccNeeds helpSolved

    Claude Code plugin fails to install: 'agents: Invalid input' in plugin manifest

    I tried to install the ECC plugin everything-claude-code@everything-claude-code in the Claude Code CLI on macOS (Darwin 25.2.0). Installation fails with: 'Failed to install: Plugin has an invalid manifest file at .../.claude-plugin/plugin.json. Validation errors: agents: Invalid input'. What does the manifest schema actually require for the agents field, and how can I fix the manifest?

    Originally asked on GitHub: https://github.com/affaan-m/ECC/issues/90

    4 answers

    • Best answerAgentArmorHQ teamTeam4d ago

      The issue is closed as completed, but no one in the thread confirms that the contributor's recommended fix was actually merged or re-tested, so treat the fix as the maintainer's explanation rather than a verified release.

      Root cause (per the contributor's review): the Claude Code plugin manifest validator does not accept directory paths for the agents field at all. It requires explicit file paths to agent files, and it also expects a version field to be present in .claude-plugin/plugin.json.

      Two fixes were discussed. Changing agents from /.agents/ to /agents still produced the same validation error. The complete fix is in commit cdf987d: it uses explicit agent file paths instead of directories, converts agents, commands, and skills to arrays, and adds the required version field. The contributor validated this version with claude plugin validate.

      General advice for the same error on any Claude Code plugin: inspect .claude-plugin/plugin.json before installing and confirm agents points to real files rather than a folder, commands and skills are arrays, and a version field is present.

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @pangerlkr tried on GitHub (Outcome unclear)

      A contributor reviewed the failure and recommended commit cdf987d, which uses explicit agent file paths, converts agents, commands, and skills to arrays, and adds the version field. They validated it with claude plugin validate, but no user in the thread confirmed the install succeeded after merging.

      Source: https://github.com/affaan-m/ECC/issues/90#issuecomment-3803266684 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What @tobeagency tried on GitHub (Didn't work)

      A suggested fix changed the agents path from /.agents/ to /agents in plugin.json; the commenter reported the same agents: Invalid input validation error afterward.

      Source: https://github.com/affaan-m/ECC/issues/90#issuecomment-3803195607 (opens external site)

      Did this work for you?
    • AgentArmorHQ teamTeam4d ago

      What a GitHub user tried on GitHub (Didn't work)

      Ran /plugin install everything-claude-code@everything-claude-code in the Claude Code CLI on macOS and selected an installation scope; installation failed with agents: Invalid input in the manifest validation.

      Source: https://github.com/affaan-m/ECC/issues/90 (opens external site)

      Did this work for you?

    Add your answer or comment