Install Atk

by microsoft354361d83247No licenseListed Oct 8, 2026Updated Oct 8, 2026

Install or update the M365 Agents Toolkit (ATK) CLI and VS Code extension. Triggers: "install atk", "update atk", "install agents toolkit", "update agents toolkit", "install the toolkit", "setup atk", "get atk", "install atk cli", "install atk extension", "install atk vsix", "update the vs code extension", "install latest atk", "upgrade atk"

FeaturedInstructions onlyDevOps & Cloud
AI-generated overview

Installs or updates the M365 Agents Toolkit (ATK) CLI and VS Code extension.

What it does
Guides an agent through verifying that the M365 Agents Toolkit CLI runs via an npx package invocation and reporting the resulting version or failure. It also covers installing the ATK VS Code extension by extension ID when requested, and explains that no global install is needed. It sets a session environment variable so CLI calls are tagged as skill-initiated.
When to use it
Use when a user asks to install, update, set up, or get started with ATK, the Agents Toolkit, its CLI, or its VS Code extension. It also applies to requests to install or update the VSIX.
Requirements
Node.js 18+ and npm for the npx-based CLI invocation, network access to download the package, and the VS Code code command for extension installation. No scripts are shipped; it is instructions only.

Install ATK

Install or update the M365 Agents Toolkit (ATK) CLI and/or VS Code extension.

Telemetry Tagging

Before running any atk CLI commands, set the session environment variable so all CLI invocations are tagged as skill-initiated:

bash
export ATK_CLI_SKILL=true

Run this once at the start of the session. All subsequent atk commands in the same terminal will inherit it.

Triggers

This skill activates when the user asks to:

  • Install or update ATK / Agents Toolkit / the toolkit
  • Install or update the ATK CLI
  • Install or update the ATK VS Code extension / VSIX
  • Set up ATK / get started with ATK

Behavior

ATK CLI commands use npx -y --package @microsoft/m365agentstoolkit-cli atk which automatically downloads and runs the latest version — no global installation is needed.

When triggered, determine what the user wants:

User intentAction
Install/update everything or just "ATK"Verify CLI works + install VSIX
Install/update CLI onlyVerify CLI works (npx handles it automatically)
Install/update extension / VSIX onlyInstall VSIX only
AmbiguousVerify CLI works + install VSIX

Commands

Step 1: Verify ATK CLI works

bash
npx -y --package @microsoft/m365agentstoolkit-cli atk --version
  • If this succeeds (prints a version): ATK CLI is available. The npx prefix automatically downloads the latest package on first use and caches it for subsequent runs.
  • If this fails: Check that Node.js 18+ and npm are installed. The npx command requires a working Node.js environment.

Step 2: ATK VS Code Extension (if requested)

bash
code --install-extension TeamsDevApp.ms-teams-vscode-extension

Execution

  1. Verify ATK CLI works by running npx -y --package @microsoft/m365agentstoolkit-cli atk --version
  2. Report the result (version number / failure)
  3. Install VS Code extension if requested
  4. Explain that all ATK commands use the npx -y --package @microsoft/m365agentstoolkit-cli atk prefix — no global install needed

Safety Rules

  • MUST NOT skip errors — report failures clearly to the user
  • MUST use the exact package names and extension IDs above — do not substitute with other names or links

Source and attribution

Source:microsoft/skillsin.github/plugins/microsoft-365-agents-toolkit/skills/install-atkat commit354361d

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal