Plugin components
Plugin components Vendor docs
component
| name | type | required | meaning | concept | |
|---|---|---|---|---|---|
| agents | path |
One or more `./` paths within the plugin root, pointing to agent files; if omitted, `agents/` is auto-discovered
|
docs ↗ | ||
| commands | path |
One or more `./` paths to a directory or `.md` file; registers the Markdown files inside as slash commands. See Plugin Slash Commands
|
docs ↗ | ||
| hooks | path |
Hook rules run on lifecycle events while enabled; see Hooks in Plugins
|
docs ↗ | ||
| mcpServers | path |
MCP server declarations; enabled by default, can be disabled from `/plugins`
|
docs ↗ | ||
| skills | path |
One or more `./` paths within the plugin root; if omitted, root `SKILL.md` is the single Skill root
|
docs ↗ |