install-atk

作者: microsoft

安裝或更新 M365 Agents Toolkit (ATK) CLI 及/或 VS Code 擴充功能。

npx skills add https://github.com/microsoft/work-iq --skill install-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.

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

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)

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

來自 microsoft 的更多技能

oss-growth
microsoft
開源增長駭客角色
agent-framework-azure-ai-py
microsoft
使用Microsoft Agent Framework Python SDK(agent-framework-azure-ai)构建Azure AI Foundry代理。适用于使用AzureAIAgentsProvider创建持久化代理、使用托管工具(代码解释器、文件搜索、网络搜索)、集成MCP服务器、管理对话线程或实现流式响应。涵盖函数工具、结构化输出和多工具代理。
development
airunway-aks-setup
microsoft
在AKS上設定AI Runway——從裸叢集到執行模型。涵蓋叢集驗證、控制器安裝、GPU評估、供應商設定及首次部署。時機:「設定AI Runway」、「上線AKS叢集」、「安裝AI Runway」、「airunway設定」、「部署模型至AKS」、「在AKS上進行GPU推論」、「在AKS上設定KAITO」、「在AKS上執行LLM」、「在AKS上使用vLLM」、「在AKS上設定模型服務」、「AI Runway控制器」。
devops
appinsights-instrumentation
microsoft
使用Azure Application Insights檢測Web應用程式的指南。提供遙測模式、SDK設定與組態參考。適用時機:如何檢測應用程式、App Insights SDK、遙測模式、什麼是App Insights、Application Insights指南、檢測範例、APM最佳實踐。
devops
applicationinsights-web-ts
microsoft
使用Application Insights JavaScript SDK(@microsoft/applicationinsights-web)為瀏覽器/Web應用程式進行檢測。適用於真實使用者監控(RUM)——頁面檢視、點擊、AJAX/fetch依賴、例外、自訂事件,以及與後端OpenTelemetry追蹤關聯的瀏覽器端GenAI代理追蹤。涵蓋SDK載入器指令碼與npm設定、框架擴充(React、React Native、Angular)、點擊分析、遙測初始化器,以及從瀏覽器發出的代理/工具/模型span的OTel GenAI語意慣例。
devops
azure-ai-anomalydetector-java
microsoft
使用適用於 Java 的 Azure AI 異常偵測器 SDK 建置異常偵測應用程式。在實作單變量/多變量異常偵測、時間序列分析或 AI 驅動監控時使用。
development
azure-ai-language-conversations-py
microsoft
使用 azure-ai-language-conversations Python SDK 實作對話語言理解(CLU)。當使用 ConversationAnalysisClient 分析對話意圖與實體、建置 NLP 功能,或將語言理解整合至應用程式時使用。
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python。用於機器學習工作區、作業、模型、資料集、計算資源與管線。 觸發詞:「azure-ai-ml」、「MLClient」、「workspace」、「model registry」、「training jobs」、「datasets」。
development