# plugins Option

> The option that adds plugins from Claude Code to your agent.

**Field:** Artificial Intelligence  
**Category:** Claude Agent SDK  
**Also known as:** SdkPluginConfig, Agent SDK plugins, Claude Agent SDK plugins

## Think of it like

It is like getting a full box of tools, not one tool at a time.

## Definition

plugins is the Agent SDK option that loads Claude Code plugins into an agent. Each entry gives a path to a plugin folder on your machine, since only local plugins are supported. The agent then gets the plugin's skills, hooks, subagents, commands and MCP servers. A plugin built for Claude Code works the same way here. You can skip a plugin's MCP servers if your app runs them itself.

## 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.

## Example code

```typescript
plugins: [{ type: "local", path: "./review-plugin" }]
```

Load one plugin from a local folder.

## Why it matters

One plugin can serve both the people who use Claude Code and the agents you build.

## Common mistake

Giving it a marketplace name. It only takes a path to a folder on disk.

## Three principles

- **Local folders only.** type: local and a path.
- **Everything inside.** Skills, hooks, agents, MCP.
- **Same plugin format.** As Claude Code.

## Related terms

- [Claude Code Plugin](https://learn.benibix.com/term/ai/claude-code-plugin)
- [skills Option](https://learn.benibix.com/term/ai/skills-option)
- [Hook Callback](https://learn.benibix.com/term/ai/sdk-hook-callback)
- [AgentDefinition](https://learn.benibix.com/term/ai/agent-definition)
- [mcpServers Option](https://learn.benibix.com/term/ai/mcp-servers-option)

![One plugin box holding skills, hooks, subagents and MCP servers, installed in one step.](https://learn.benibix.com/diagrams/cc-claude-code-plugin.svg)

---

Source: https://learn.benibix.com/term/ai/plugins-option
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
