What problem does it solve?
Customizations (plugins, MCP servers, agents, skills, instructions) in the VS Code agent host frequently show the wrong enabled state, persist decisions incorrectly across sessions, or leak disabled servers to the model. This Skill provides the mental model, invariants, and debugging playbook needed to fix these issues without introducing new ones.
Core Features & Use Cases
- Enablement Architecture: Explains the scoped decision list (Session/Workspace/Global), the overlay model where host decisions layer on top of client values, and the ownership rules for
Global decisions.
- Identity & Storage Rules: Covers how MCP server keys must be derived from
owningPluginUri rather than tree position, and why pending enablement must fail closed without being cached.
- Provider Enforcement Differences: Documents how Copilot, Claude, and Codex differ in launch-time vs mid-session enforcement, including the documented Codex limitation that MCP servers can only be supplied at
thread/start.
- Debugging Playbook: Ranks signals (published object > tool_search log > UI > model claims), provides a reproduction recipe that exercises cross-session persistence, and lists known false alarms like the
azure plugin's 24 skills.
Quick Start
Read this skill before modifying agentHostCustomizationEnablementService.ts, the customization enablement gate, or any per-provider customization path, then run the validation commands listed in the Validation section.