- Skills: capabilities Claude invokes autonomously when relevant. You can also invoke a plugin skill directly with
/plugin-name:skill-name. - Agents: specialized subagents for specific tasks
- Hooks: event handlers that respond to tool use and other events
- MCP servers: external tool integrations via Model Context Protocol
Loading plugins
Load plugins by providing their local file system paths in your options configuration. Thetype field must be "local", the only value the SDK accepts. The SDK supports loading multiple plugins from different locations.
To use a plugin distributed through a marketplace or remote repository, download it first and provide the local directory path. For the directory layout a plugin needs, see the Plugin structure reference below.
Path specifications
Plugin paths can be:- Relative paths: resolved relative to your current working directory (for example,
"./plugins/my-plugin") - Absolute paths: full file system paths (for example,
"/home/user/plugins/my-plugin")
The path should point to the plugin’s root directory: the parent of
skills/, agents/, hooks/, commands/, or .claude-plugin/.