install-vscode-extension

Install VS Code extensions by ID using workbench.extensions.installExtension.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/radrad/vscode-copilot-chat --skill install-vscode-extension-radrad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: install-vscode-extension
Source: https://github.com/radrad/vscode-copilot-chat/tree/main/assets/prompts/skills/install-vscode-extension
Command: npx skills add https://github.com/radrad/vscode-copilot-chat --skill install-vscode-extension-radrad

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Installing VS Code extensions by their official IDs lets you rapidly add new capabilities to your editor without manual searches or fiddly clicks.

Core Features & Use Cases

  • Identify extensions by publisher.extensionName format (e.g., ms-python.python) to standardize installations.
  • Install with the workbench.extensions.installExtension command and pass in [extensionId, { enable: true, installPreReleaseVersion: boolean }] to choose stable or pre-release versions.
  • Execute the installation deterministically via copilot_runVscodeCommand and set skipCheck to true to avoid environment validation.
  • Use this in new workspace provisioning, onboarding, or automated setup tasks to ensure required tooling is present.

Quick Start

Install an extension by its ID using the workbench.extensions.installExtension command with the extensionId and options, choosing whether to install a pre-release version if requested.

Frequently Asked Questions about install-vscode-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install a VS Code extension by its ID instead of searching the marketplace?

You can install VS Code extensions by their publisher.extensionName ID using the workbench.extensions.installExtension command, which requires the extensionId and an enable flag to add tooling without manual searches.

Can I install a pre-release version of a VS Code extension via command?

Yes, when executing the VS Code extension installation command, you can pass the installPreReleaseVersion flag as a boolean parameter to choose between stable and pre-release versions of the extension.

What is the correct format for a VS Code extension ID when provisioning a development environment?

The VS Code extension ID must use the publisher.extensionName format, such as ms-python.python, to standardize installations and ensure the workbench command targets the correct tooling.

How do I automate VS Code extension installation for new workspace onboarding?

You can automate workspace provisioning by executing the extension installation command via copilot_runVscodeCommand with skipCheck set to true, bypassing environment validation to deterministically install required tooling.

Does installing VS Code extensions by ID require environment validation checks?

No, environment validation can be bypassed during VS Code extension installation by setting the skipCheck parameter to true when executing the command via copilot_runVscodeCommand for deterministic setup.