New to Claude Skills? Learn how to install them →

Imicrosoft on GitHub

Install VS Code Extension

OfficialFree

Effortlessly add extensions to your VS Code setup.

by microsoft188.6k stars on microsoft/vscode
2 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Install VS Code Extension does

Installing extensions in Visual Studio Code (VS Code) enhances its functionality, allowing developers to tailor their coding environment to their specific needs. This skill provides a straightforward method to install any VS Code extension using its unique extension ID, which typically follows the format publisher.extensionName. For instance, if you want to add the Python extension, you would use the ID ms-python.python. This approach is essential for developers looking to expand their toolset without navigating through the VS Code marketplace manually.

The installation process involves executing the VS Code command workbench.extensions.installExtension, where you pass the extension ID as an argument. The command allows for additional options, such as enabling the extension upon installation or opting for a pre-release version if specified. This flexibility is particularly useful for users who want to experiment with the latest features or are using VS Code Insiders, ensuring they have access to the most current updates.

To streamline the installation, the skill utilizes the copilot_runVscodeCommand tool, which simplifies command execution by bypassing checks for command existence. This means you can focus on adding the necessary extensions without worrying about potential errors related to command validity. This skill is ideal for developers and designers who frequently enhance their VS Code environment with new capabilities, making it a valuable addition to any workflow.

In summary, this skill is designed for those who want to efficiently manage their VS Code extensions, ensuring they can quickly install and enable the tools they need for their development tasks.

When to use it

Use this skill when you need to quickly add new functionalities to your VS Code setup by installing specific extensions.

When not to use it

This skill may not be suitable for users who prefer a graphical interface for managing extensions or those who do not have specific extension IDs at hand.

What you can build with it

Adding Python Support

Install the Python extension using its ID to enable Python development features in VS Code.

Enhancing Web Development

Quickly add extensions for HTML, CSS, and JavaScript support by using their respective extension IDs.

Experimenting with New Features

Install pre-release versions of extensions to test out the latest features available in the VS Code Insiders build.

How to install Install VS Code Extension

View source

1. Install with the skills CLI

npx skills add microsoft/vscode/install-vscode-extension --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by microsoft

Installing VS Code extensions

  1. 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 ID ms-python.python.
  2. To install a VS Code extension, you need to use the VS Code command workbench.extensions.installExtension and 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.

  1. Run that command via the copilot_runVscodeCommand tool. Make sure to pass the skipCheck argument as true to avoid checking if the command exists, as we know it does.

Frequently asked questions about Install VS Code Extension

Similar skills