Feature Request: Support agent-specific plugin configuration for sub-agents
Resolved 💬 3 comments Opened Dec 30, 2025 by dsnvs Closed Jan 3, 2026
Feature Request: Support agent-specific plugin configuration for sub-agents
Problem
Currently, enabledPlugins in settings applies uniformly to both the main Claude Code agent and all sub-agents spawned via the Task tool. There's no way to:
- Disable a plugin for the main agent while keeping it available for sub-agents
- Enable a plugin only for specific custom sub-agents
- Restrict plugin access at the agent level (like we can with
tools)
Use Case
Some plugins (e.g., Figma, Shopify MCP) add significant context overhead via their tools. Users may want to:
- Keep the main agent lean by disabling heavy plugins
- Have specialized sub-agents that enable those plugins only when needed
- Prevent the main agent from using certain plugin tools while delegating to purpose-built sub-agents
Proposed Solution
Allow enabledPlugins configuration at the sub-agent level in sub-agents.md:
---
name: design-agent
description: Agent for Figma design tasks
tools: Read, Write, Bash
enabledPlugins:
"figma@claude-plugins-official": true
---
And/or add a user-level setting to disable plugins for the main agent only:
{
"mainAgentPlugins": {
"figma@claude-plugins-official": false
},
"enabledPlugins": {
"figma@claude-plugins-official": true
}
}
Benefits
- Reduced context usage for the main agent
- More granular control over plugin exposure
- Consistent with existing tool-level restrictions for sub-agents
- Better separation of concerns between general and specialized agents
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗