Use install-atk to install or update the ATK CLI and VS Code extension; report any failure clearly, and ask for my confirmation before changing the VS Code extension.
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: install-atkdescription: > 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"
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:
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.
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.