install-vscode-extension
Installation
SKILL.md
Installing VS Code extensions
- VS Code extensions are identified by their unique extension ID, which typically follows the format
publisher.extensionName. For example, the Python extension by Microsoft has the IDms-python.python. - To install a VS Code extension, you need to use the VS Code command
workbench.extensions.installExtensionand pass in the extension ID. The args are of the format:
[extensionId, { enable: true, installPreReleaseVersion: boolean }]
NOTE: install the pre-release version of the extension if the user explicitly mentions it or if the current environment is VS Code Insiders. Otherwise, install the stable version.
- Run that command via the
copilot_runVscodeCommandtool. Make sure to pass theskipCheckargument as true to avoid checking if the command exists, as we know it does.
Weekly Installs
10
Repository
microsoft/vscod…lot-chatGitHub Stars
9.8K
First Seen
Feb 28, 2026
Security Audits