Plugin components
Plugin components Vendor docs
component
| name | type | required | meaning | concept | |
|---|---|---|---|---|---|
| agents | path |
One or more `./` paths; must be within the plugin root directory and point to directories containing agent files. When omitted, the `agents/` directory under the plugin root (if present) is picked up automatically
|
docs ↗ | ||
| commands | path |
One or more `./` paths pointing to a directory or `.md` file; registers the Markdown files within as slash commands. See Plugin Slash Commands
|
docs ↗ | ||
| hooks | path |
Hook rules run on lifecycle events while the plugin is 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; must be within the plugin root directory. When omitted, the `SKILL.md` in the root directory is treated as a single Skill root
|
docs ↗ |