🧩plugins Option
Also known as SdkPluginConfig, Agent SDK plugins, Claude Agent SDK plugins
The option that adds plugins from Claude Code to your agent.
Think of it like
It is like getting a full box of tools, not one tool at a time.
Example
A team already has a plugin of code review skills for Claude Code. They add its folder to plugins, and their review bot gets the same skills.
Why it matters
One plugin can serve both the people who use Claude Code and the agents you build.
Definition
Example code
typescript
plugins: [{ type: "local", path: "./review-plugin" }]Common mistake
Key takeaways
- 1Local folders only. type: local and a path.
- 2Everything inside. Skills, hooks, agents, MCP.
- 3Same plugin format. As Claude Code.