customizations-in-the-agent-host

customizations-in-the-agent-host is a skill for Claude Code, Codex from microsoft/vscode. It costs 83 tokens per session (2,118 once invoked), scanned C, original, MIT.

A guide to how an agent host discovers, switches on or off, and passes custom tools and instructions to AI providers. An agent host is the application that runs coding agents and exposes features such as plugins, servers, and skills.

In plain words
What is it for?
It supports changes to customization discovery, publishing, enablement settings, and provider-specific integration in the agent host.
Why use it?
It helps prevent different parts of the application from disagreeing about whether a customization is enabled.

Skill for Claude CodeCodex

About the project

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.

microsoft/vscode · 190,808 stars · on GitHub

Install

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.

agentmods
npx agentmods add skills/microsoft/vscode/customizations-in-the-agent-host
Any agent
npx skills add microsoft/vscode --skill customizations-in-the-agent-host
Clone the repo
git clone --depth 1 https://github.com/microsoft/vscode

Made for: Claude Code, Codex.

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

agentmods badge for customizations-in-the-agent-host

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/vscode/customizations-in-the-agent-host.svg)](https://agentmods.dev/skills/microsoft/vscode/customizations-in-the-agent-host)
Your own site
<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>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,118 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 5d ago against content hash fe6018c92e86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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`.
.github/skills/customizations-in-the-agent-host/SKILL.md · 183 lines

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.ts
  • src/vs/platform/agentHost/node/shared/customizationEnablementGate.ts
  • src/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 childEnablementnot 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:

Read the full file on GitHub · 183 lines

Changes

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.

  1. 5d ago First seen · 183 lines · 83 tokens per session scan C fe6018c92e86

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories