install-vscode-extension

Installs VS Code extensions by ID using the workbench.extensions.installExtension command.

Updated Sep 3, 2026
One-click install
npx skills add https://github.com/az0512124155azz-sys/CodeForge --skill install-vscode-extension-az0512124155azz-sys
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: install-vscode-extension
Source: https://github.com/az0512124155azz-sys/CodeForge/tree/main/extensions/copilot/assets/prompts/skills/install-vscode-extension
Command: npx skills add https://github.com/az0512124155azz-sys/CodeForge --skill install-vscode-extension-az0512124155azz-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Users often know the name of a VS Code extension they want but not the exact steps or command needed to install it programmatically. This Skill provides the precise procedure for installing any extension from its unique extension ID, removing guesswork and manual UI navigation. ## Core Features & Use Cases - Extension ID Resolution: Explains the publisher.extensionName identifier format (e.g., ms-python.python) so the correct extension is targeted. - Command-Based Installation: Uses the built-in workbench.extensions.installExtension command executed through the copilot_runVscodeCommand tool with skipCheck enabled. - Stable vs Pre-Release Handling: Installs the pre-release version only when the user explicitly requests it or when running in VS Code Insiders; otherwise installs the stable version. - Use Case: A user says "add Python support to my editor" — the Skill installs ms-python.python directly without the user opening the Extensions view. ## Quick Start Install the Python extension by running the VS Code install command with the extension ID ms-python.python.

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 from the command line?▼

Run the built-in workbench.extensions.installExtension command and pass the extension ID as an argument in the format [extensionId, { enable: true, installPreReleaseVersion: boolean }]. This installs and enables the extension without opening the Extensions view.

What is a VS Code extension ID and where do I find it?▼

An extension ID uniquely identifies an extension using the format publisher.extensionName, such as ms-python.python for the Microsoft Python extension. You can find it on the extension's Marketplace page or in its details pane.

How do I install the pre-release version of a VS Code extension?▼

Set the installPreReleaseVersion argument to true when calling workbench.extensions.installExtension. Pre-release should only be chosen when the user explicitly requests it or when running VS Code Insiders; otherwise install the stable version.

Can I install VS Code extensions without opening the Extensions view?▼

Yes, extensions can be installed programmatically by invoking the workbench.extensions.installExtension command with the extension ID. This approach works through automation tools and avoids manual UI interaction entirely.