Visual Studio Code is a code editor that supports editing, navigating, understanding, debugging, and extending software projects. Developers use it for the edit-build-debug cycle, and the catalogue add-ons provide skills, instructions, and agents for working within the editor.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/microsoft/vscode/customizations-in-the-agent-hostnpx skills add microsoft/vscode --skill customizations-in-the-agent-hostgit clone --depth 1 https://github.com/microsoft/vscodeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/vscode/customizations-in-the-agent-host)<a href="https://agentmods.dev/skills/microsoft/vscode/customizations-in-the-agent-host"><img src="https://agentmods.dev/badge/skills/microsoft/vscode/customizations-in-the-agent-host.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00083 | $0.02118 |
| Opus 5 | $0.00042 | $0.01059 |
| Sonnet 5 | $0.00017 | $0.00424 |
| Haiku 4.5 | $0.00008 | $0.00212 |
Grade C, and why
customizations-in-the-agent-host scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
environmental. Recover with `rm -rf .build/electron && npm run electron`. How it starts
The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Customizations in the Agent Host
Customizations are the plugins, MCP servers, agents, skills and instructions that an agent-host session exposes to a model. This skill covers enablement: how a customization's on/off state is decided, stored, published and enforced.
Read this before changing anything in:
src/vs/platform/agentHost/node/agentHostCustomizationEnablementService.tssrc/vs/platform/agentHost/node/shared/customizationEnablementGate.tssrc/vs/platform/agentHost/common/customizationEnablement.ts- the per-provider customization paths under
node/copilot/,node/claude/,node/codex/
The mental model
Enablement is a list of scoped decisions, not a boolean
A plugin or MCP server carries enablement?: CustomizationEnablement[] — an ordered
list of decisions, most specific first:
| Kind | Owner | Meaning |
|---|---|---|
Session |
agent host | this session only |
Workspace |
agent host | this working directory (carries uri) |
Global |
client, unless the host discovered it | everywhere |
isCustomizationEnabled() picks the first entry; absent entries inherit from the next
scope out, and an absent list means enabled. Never re-add a parallel enabled boolean
to plugins or MCP servers — a second source of truth is what this design exists to
remove. (DirectoryCustomization legitimately keeps a plain enabled; consumers
derive its state through isCustomizationEnabled() all the same.)
Who owns Global
The host owns Global for anything it discovered, even when that thing lives inside
a plugin the client forwarded. The client owns Global only for what it actually
bundled. The discriminator is childEnablement — not clientId. A plugin whose
childEnablement record has a key for a child MCP server means "the client bundled this
child and owns its global decision"; anything else the host discovered by parsing the
plugin directory.
The overlay model
This is the single most important invariant, and getting it wrong caused a self-defeating write that silently erased user decisions:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 183 lines · 83 tokens per session scan C fe6018c92e86
customizations-in-the-agent-host is a skill published in the GitHub repository microsoft/vscode (190,808 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 2,118 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
build-sample-matrix
Build the matrix of all the samples throughout different frameworks.
manim-video
Plan, scaffold, and render Manim Community Edition explainer videos for math, algorithms, technical concepts, and data stories.
explain-code
Get a detailed explanation of how code works.
lean-black-litterman
LEAN 启发的 Black-Litterman 工作流。用户说「Black-Litterman」「黑利特曼」「BL 观点」「/lean-black-litterman」时使用。均衡先验+主观观点假设框架;assumption-only。默认 A股适配。默认 createweb。禁止假装 LEAN 引擎。.
lean-capm-alpha-rank
LEAN 启发的 CAPM Alpha 排序工作流。用户说「CAPM alpha」「Alpha 排序」「残差收益」「/lean-capm-alpha-rank」时使用。相对基准的回归残差/Alpha 示意;assumption-only。默认 A股适配。默认 createweb。禁止假装 LEAN 引擎。.
lean-framework-pipeline
LEAN 启发的算法框架流水线导航。用户说「LEAN 框架」「算法流水线」「Alpha/PCM/Risk」「framework pipeline」「/lean-framework-pipeline」时使用。方法溯源 QuantConnect LEAN Algorithm Framework 分层;只做路由与 Must-skip,不假装执行引擎。默认 A股适配。默认 createweb。禁止假装跑完整 LEAN 引擎。.