Skip to content

Fix plugin manifest: agents/skills must not be directory strings (fixes #8) - #9

Open
jpburns82 wants to merge 1 commit into
mainfrom
fix/plugin-manifest-agents-skills-array
Open

Fix plugin manifest: agents/skills must not be directory strings (fixes #8)#9
jpburns82 wants to merge 1 commit into
mainfrom
fix/plugin-manifest-agents-skills-array

Conversation

@jpburns82

Copy link
Copy Markdown
Collaborator

Summary

Fixes #8. Installing the plugin via claude plugin install failed manifest validation because the agents and skills fields in .claude-plugin/plugin.json were set to a bare directory string ("./agents/", "./skills/"). Claude Code's plugin schema requires these fields to be an array of file paths, or omitted entirely for auto-discovery.

Error before this change:

✘ Failed to install plugin "claude-code-agents@undeadlist-claude-code-agents":
Validation errors: agents: Invalid input

Fix

  • Removed the agents and skills fields from .claude-plugin/plugin.json. The agents/ and skills/ directories already exist and are auto-discovered by Claude Code.
  • Bumped version 3.1.03.1.1 in plugin.json, marketplace.json, and package.json.

Verification

  • plugin.json validated as well-formed JSON.
  • Confirmed agents/ (24 .md agents) and skills/ (6 workflow dirs) exist for auto-discovery.
  • No other references to the removed fields remain in the repo.

🤖 Generated with Claude Code

…ixes #8)

Claude Code's plugin schema requires the `agents` and `skills` manifest
fields to be an array of file paths, not a bare directory string. The
`"./agents/"` and `"./skills/"` values caused install to fail validation:

    Validation errors: agents: Invalid input

Removed both fields so Claude Code auto-discovers agents from agents/ and
skills from skills/, which already exist. Bumped version to 3.1.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

plugin install fails: manifest "agents"/"skills" must be an array, not a directory string

1 participant