microsoft/vscode/chat-customizations-editor
Claude Code and agent skill by microsoft/vscode
- vendor
Checking that the SKILL.md file is still in the repository.
Use when working on the Chat Customizations editor — the management UI for agents, skills, instructions, hooks, prompts, MCP servers, and plugins.
Install
npx vskill@latest install microsoft/vscode/chat-customizations-editorSKILL.md
The same SKILL.md was published earlier as microsoft/vscode/chat-customizations-editor.
Chat Customizations Editor
Split-view management pane for AI customization items across workspace, user, extension, and plugin storage. Supports harness-based filtering (Local, Copilot CLI, Claude).
Spec
`src/vs/sessions/AI_CUSTOMIZATIONS.md` — read for ownership and interface contracts. Update it only when those contracts change; behavior and regressions belong in focused tests.
Key Folders
| Folder | What | |
|---|---|---|
src/vs/workbench/contrib/chat/common/ | ICustomizationHarnessService, ISectionOverride, ICustomizationItemProvider — shared interfaces | |
src/vs/workbench/contrib/chat/browser/aiCustomization/ | Management editor, list widgets (prompts, MCP, plugins), harness service registration | |
src/vs/sessions/contrib/chat/browser/ | Sessions-window overrides (harness service, workspace service) | |
src/vs/sessions/contrib/sessions/browser/ | Sessions tree view counts and toolbar |
When changing harness descriptor interfaces or factory functions, verify both core and sessions registrations compile.
Key Interfaces
- `IHarnessDescriptor` — drives harness behavior declaratively (hidden sections, button overrides, item providers, agent gating). See spec for the stable ownership contract.
- `ISectionOverride` — per-section button customization (command invocation, root file creation, type labels, file extensions).
- `ICustomizationItemProvider` / `ICustomizationItem` — internal interfaces (in
customizationHarnessService.ts) for extension-contributed providers that supply items directly. These mirror the proposed extension API types.
Principle: the UI widgets read everything from the descriptor — no harness-specific conditionals in widget code.
Search: every Customizations search must go through the shared matcher in src/vs/workbench/contrib/chat/common/aiCustomizationSearch.ts, never ad-hoc toLowerCase().includes(). See the Search section of .github/instructions/ai-customization.instructions.md.
Extension API (chatSessionCustomizationProvider)
The proposed API in src/vscode-dts/vscode.proposed.chatSessionCustomizationProvider.d.ts lets extensions register customization providers. Changes to ICustomizationItem or ICustomizationItemProvider must be kept in sync across the full chain:
| Layer | File | Type | |
|---|---|---|---|
| Extension API | vscode.proposed.chatSessionCustomizationProvider.d.ts | ChatSessionCustomizationItem | |
| IPC DTO | extHost.protocol.ts | IChatSessionCustomizationItemDto | |
| ExtHost mapping | extHostChatAgents2.ts | $provideChatSessionCustomizations() | |
| MainThread mapping | mainThreadChatAgents2.ts | provideChatSessionCustomizations callback | |
| Internal interface | customizationHarnessService.ts | ICustomizationItem |
When adding fields to ICustomizationItem, update all five layers. The proposed API .d.ts is additive-only (new optional fields are backward-compatible and do not require a version bump).
Testing
Component explorer fixtures (see component-fixtures skill): aiCustomizationListWidget.fixture.ts, aiCustomizationManagementEditor.fixture.ts under src/vs/workbench/test/browser/componentFixtures/.
Management sections must reuse the editor's shared content-panel surface and common tree/list primitives. A registry-contributed section should match neighboring sections' background, border, inset, title/search alignment, row states, and group headers rather than introducing section-specific approximations.
Screenshotting specific tabs
The management editor fixture supports a selectedSection option to render any tab. Each tab has Dark/Light variants auto-generated by defineThemedFixtureGroup.
Available fixture IDs (use with mcp_component-exp_screenshot):
| Fixture ID pattern | Tab shown | |
|---|---|---|
chat/aiCustomizations/aiCustomizationManagementEditor/AgentsTab/{Dark,Light} | Agents | |
chat/aiCustomizations/aiCustomizationManagementEditor/SkillsTab/{Dark,Light} | Skills | |
chat/aiCustomizations/aiCustomizationManagementEditor/InstructionsTab/{Dark,Light} | Instructions | |
chat/aiCustomizations/aiCustomizationManagementEditor/HooksTab/{Dark,Light} | Hooks | |
chat/aiCustomizations/aiCustomizationManagementEditor/PromptsTab/{Dark,Light} | Prompts | |
chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTab/{Dark,Light} | MCP Servers | |
chat/aiCustomizations/aiCustomizationManagementEditor/PluginsTab/{Dark,Light} | Plugins | |
chat/aiCustomizations/aiCustomizationManagementEditor/CanvasesTab/{Dark,Light} | Source sections with extension parents, Canvas children, and parent-only enablement | |
chat/aiCustomizations/aiCustomizationManagementEditor/LocalHarness/{Dark,Light} | Default (Agents, Local harness) | |
chat/aiCustomizations/aiCustomizationManagementEditor/CliHarness/{Dark,Light} | Default (Agents, CLI harness) | |
chat/aiCustomizations/aiCustomizationManagementEditor/ClaudeHarness/{Dark,Light} | Default (Agents, Claude harness) | |
chat/aiCustomizations/aiCustomizationManagementEditor/Sessions/{Dark,Light} | Sessions window variant |
Adding a new tab fixture: Add a variant to the defineThemedFixtureGroup in aiCustomizationManagementEditor.fixture.ts:
The selectedSection calls editor.selectSectionById() after setInput, which navigates to the specified tab and re-layouts.
Populating test data
Each customization type requires its own mock path in createMockPromptsService:
- Agents —
getCustomAgents()returns agent objects - Skills —
findAgentSkills()returnsIAgentSkill[] - Prompts —
getPromptSlashCommands()returnsIChatPromptSlashCommand[] - Instructions/Hooks —
listPromptFiles()filtered byPromptsType - MCP Servers —
mcpWorkspaceServers/mcpUserServersarrays passed toIMcpWorkbenchServicemock - Plugins —
IPluginMarketplaceService.installedPluginsandIAgentPluginService.pluginsobservables
All test data lives in allFiles (prompt-based items) and the mcpWorkspace/UserServers arrays. Add enough items per category (8+) to invoke scrolling.
Exercising scope grouping
Items are grouped by scope: User, Workspace (one group per folder in a multi-root workspace), and Built-in. Items supplied by a plugin, an extension, or an organization are nested under one row per supplier inside the scope they apply to (extensions and organizations under User); the row is tagged Plugin, Extension, or Organization and links to the plugin or extension details. In Built-in, items the agent provides are tagged with the agent's name (for example Copilot). The MCP Servers, Plugins, and Tools pages follow the same model. aiCustomizationOrganization.fixture.ts covers these states for the local harness (prompts-service discovery) and a remote Agent Host harness (the real AgentCustomizationItemProvider over an in-memory file system), including synced items, multi-root workspaces, many plugins, search, and narrow layouts.
Items from the default chat extension appear in the Built-in group, and its organization files (…/github/<org>/…) under Account. For fixtures to exercise this:
- Mock
IProductService.defaultChatAgent.chatExtensionId(e.g.,'GitHub.copilot-chat') - Give mock items extension provenance via
extensionId/extensionDisplayNamematching that ID
Without both, these items fall back to the generic extension origin.
Editor contribution service mocks
The management editor embeds a CodeEditorWidget. Electron-side editor contributions (e.g., AgentFeedbackEditorWidgetContribution) are instantiated automatically and crash if their injected services aren't registered. The fixture must mock at minimum:
IAgentFeedbackService— needsonDidChangeFeedback,onDidChangeNavigation,onDidAddFeedback,onDidConvertFeedback,onDidAddReply,onDidSubmitFeedbackasEvent.NoneICodeReviewService— needsgetReviewState()/getPRReviewState()returning idle observablesIChatEditingService— needseditingSessionsObsas empty observableIAgentSessionsService— needsmodel.sessionsas empty array
These are cross-layer imports from vs/sessions/ — use // eslint-disable-next-line local/code-import-patterns on the import lines.
CI regression gates
Key fixtures have blocksCi: true in their labels. The component-fixtures.yml GitHub Action captures screenshots on every PR to main and fails the CI status check if any blocks-ci-labeled fixture's screenshot changes. This catches layout regressions automatically.
When adding a new section or layout-critical fixture, add blocksCi: true:
Don't add blocksCi to every fixture — only ones that cover critical layout paths (default view, section with list + footer, narrow viewport). Too many gated fixtures creates noisy CI.
Screenshot stability
Scrollbar fade transitions cause screenshot instability — the scrollbar shifts from visible to invisible fade class ~2 seconds after a programmatic scroll. After calling revealLastItem() or any scroll action, wait for the transition to complete before the fixture's render promise resolves:
Running unit tests
See the sessions skill for sessions-window specific guidance.
Debugging Layout in the Real Product
Component fixtures use mock data and a fixed container size. Layout bugs caused by reflow timing, real data shapes, or narrow window sizes often don't reproduce in fixtures. When a user reports a broken layout, debug in the live Code OSS product.
For launching Code OSS with CDP and connecting @playwright/cli, see the `launch` skill. Use --user-data-dir /tmp/code-oss-debug to avoid colliding with an already-running instance from another worktree.
Navigating to the customizations editor
After connecting, use snapshot to find the "Open Customizations" button (in the Chat panel header), then click it. To switch sections, use eval with a DOM click since sidebar items aren't interactive refs:
Inspecting widget layout
@playwright/cli eval wraps the expression in () => (...) — use an IIFE for multi-statement code. Use document.title as a return channel:
Key diagnostics:
- `rows` — fewer than expected means
list.layout()never received the correct viewport height. - `seStH` — empty means the list was never properly laid out.
- `listH` vs `wH` — list container height should be widget height minus search bar minus footer.
Common layout issues
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 18 Jun 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/chat-customizations-editor/SKILL.md
Popularity
- Repository stars
- 186,493
- Repository forks
- 40,517
- 7-day trend score
- 61
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Oct 2026, 27 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/vscode/chat-customizations-editor)