Globales Ranking · von 600 Skills
azure-cost-optimization AI Agent Skill
Quellcode ansehen: microsoft/azure-skills
SafeInstallation
npx skills add microsoft/azure-skills --skill azure-cost-optimization 149.8K
Installationen
Azure Skills Plugin
Azure work is not just a code problem. It is a decision problem: which service fits this app, what needs to be validated before deployment, which tools should run, and what guardrails matter. The Azure Skills Plugin packages Azure expertise and MCP-backed execution together so compatible coding agents can do real Azure work instead of giving generic cloud advice.
One install, three layers of capability
Azure skills: the brain
This plugin ships 20 curated Azure skills that teach an agent how Azure work gets done. They provide workflows, decision trees, and guardrails for scenarios such as:
- Build and deploy with
azure-prepare,azure-validate, andazure-deploy - Troubleshoot and operate with
azure-diagnostics,azure-observability, andazure-compliance - Optimize and design with
azure-cost-optimization,azure-compute, andazure-resource-visualizer - Work across data, AI, and platform services with
azure-ai,azure-aigateway,azure-storage,azure-kusto,azure-rbac,azure-cloud-migrate,entra-app-registration, andmicrosoft-foundry
Azure MCP Server: the hands
The plugin wires in the Azure MCP Server, which gives your agent 200+ structured tools across 40+ Azure services. That is the execution layer for listing resources, checking prices, querying logs, diagnosing issues, and driving real Azure workflows.
Foundry MCP: the AI specialist
The plugin also includes Foundry MCP for Microsoft Foundry scenarios such as model discovery, model deployment, and agent workflows.
Why this plugin is different
This is not a prompt pack. It is a packaged Azure capability layer:
- Skills teach the agent when to use Azure workflows and what to avoid.
- MCP tools let the agent act on live Azure and Foundry resources.
- The plugin keeps the guidance layer and execution layer aligned in one install.
- Multi-host support lets you use the same Azure capability across environments such as GitHub Copilot in VS Code, Copilot CLI, Claude Code, and other compatible hosts.
What you get
| Component | What it adds | Examples |
|---|---|---|
| Azure skills | Azure expertise, workflows, and guardrails | Prepare, validate, deploy, diagnostics, cost, AI, RBAC |
| Azure MCP Server | Live Azure tooling | Resource inventory, monitoring, pricing, storage, databases, messaging |
| Foundry MCP | Microsoft Foundry workflows | Model catalog, deployments, agents, evaluations |
The plugin payload lives in .github/plugins/azure-skills/, and the included MCP configuration shows how Azure and Foundry connectivity are wired for compatible hosts.
Install in 60 seconds
Prerequisites
Before you install, make sure you have:
- An Azure account or subscription
- Node.js 18+ available on your PATH (
npxis used to start the MCP servers) - Azure CLI installed and authenticated with
az login - Azure Developer CLI installed and authenticated with
azd auth loginif you plan to use deployment workflows
GitHub Copilot CLI
Add the marketplace (first time only):
/plugin marketplace add microsoft/azure-skillsInstall the plugin:
/plugin install azure@azure-skillsUpdate the plugin:
/plugin update azure@azure-skillsVS Code
Install the Azure MCP extension from the Visual Studio Marketplace:
The Azure MCP extension will also install a companion extension that brings the Azure skills into VS Code. Together they configure the Azure MCP Server, Foundry MCP, and the full skills layer automatically.
Note: The skills extension requires Git CLI to be installed on your machine. If you don't have it, ask Copilot to help you install Git for your OS.
Claude Code
Add the marketplace (first time only):
/plugin marketplace add microsoft/azure-skillsInstall the plugin:
/plugin install azure@azure-skillsUpdate:
/plugin marketplace update azure-skillsGemini CLI
Install the extension:
gemini extensions install https://github.com/microsoft/azure-skillsIntelliJ IDEA
Prerequisites
Before installing Azure skills in IntelliJ IDEA, ensure you have:
- Node.js 18+ installed on your system with
npxavailable on your PATH - Git installed and accessible from the command line
You can verify these prerequisites by running:
npx --version
git --versionStep 1: Install GitHub Copilot Plugin
- Open IntelliJ IDEA
- Go to File > Settings (on Windows/Linux) or IntelliJ IDEA > Preferences (on macOS)
- Navigate to Plugins in the left sidebar
- Search for "GitHub Copilot" in the Marketplace tab
- Install the GitHub Copilot plugin (requires version 1.5.64-242 or higher)
- Restart IntelliJ IDEA when prompted
Step 2: Enable Skills for GitHub Copilot
- Open IntelliJ IDEA settings/preferences again
- Navigate to Tools > GitHub Copilot > Chat
- Check the "Enable Skills" checkbox
- Click Apply and OK
Step 3: Install Azure Skills
Open a terminal or command prompt
Run the following command to install Azure skills globally for GitHub Copilot:
npx skills add https://github.com/microsoft/azure-skills/tree/main/.github/plugins/azure-skills/skills -a github-copilot -g -yCommand explanation:
npx skills add- Uses the skills CLI to add a new skills package- The GitHub URL points to the Azure skills directory in this repository
-a github-copilot- Specifies the skills are for GitHub Copilot-g- Installs the skills globally (available across all projects)-y- Automatically accepts prompts during installation
Wait for the installation to complete. You should see confirmation that the Azure skills have been successfully added.
Sovereign Cloud Configuration
By default, the Azure MCP server connects to the Azure Public Cloud. If you use a sovereign cloud (Azure China Cloud or Azure US Government), you need to configure the MCP server to use the appropriate cloud environment.
Copilot CLI
After installing the plugin, Azure MCP server should be configured for copilot as well. You can list the configured MCP servers by running /mcp show

Edit the Azure MCP server named azure from plugin:azure to add the --cloud argument. Execute /mcp edit azure. Navigate to the Command section to add the --cloud argument, use AzureChinaCloud to access Azure China Cloud, and use AzureUSGovernment to access Azure US Government Cloud.

Before starting the MCP server, ensure your local CLI tools are authenticated against the correct cloud:
| Cloud | Azure CLI | Azure PowerShell | Azure Developer CLI |
|---|---|---|---|
| China | az cloud set --name AzureChinaCloud && az login |
Connect-AzAccount -Environment AzureChinaCloud |
azd config set cloud.name AzureChinaCloud && azd auth login |
| US Government | az cloud set --name AzureUSGovernment && az login |
Connect-AzAccount -Environment AzureUSGovernment |
azd config set cloud.name AzureUSGovernment && azd auth login |
For more details, see Connect to sovereign clouds in the Azure MCP Server documentation.
Verify the installation
After install, try three quick checks.
1. Verify the skills layer
Ask:
What Azure services would I need to deploy this project?
You should get structured Azure guidance, not just a generic cloud answer.
2. Verify Azure MCP
Ask:
List my Azure resource groups.
You should see a real tool-backed response from your Azure account.
3. Verify Foundry MCP
Ask:
What AI models are available in Microsoft Foundry?
You should get a Foundry-backed response rather than a generic summary.
Authentication
The recommended authentication path is Azure CLI:
az loginIf you plan to deploy with azd, also run:
azd auth loginYou can also authenticate with service principal credentials:
Bash/Zsh
export AZURE_TENANT_ID="your-tenant-id"
export AZURE_CLIENT_ID="your-client-id"
export AZURE_CLIENT_SECRET="your-client-secret"PowerShell
$env:AZURE_TENANT_ID = "your-tenant-id"
$env:AZURE_CLIENT_ID = "your-client-id"
$env:AZURE_CLIENT_SECRET = "your-client-secret"When the agent runs inside Azure, the Azure MCP Server can also use managed identity.
Prompts to try
Once the plugin is installed, try prompts like these:
Prepare this app for Azure.Validate my Azure deployment files before I run azd up.Deploy this project to Azure Container Apps.List my Azure storage accounts.Find cost savings across my Azure subscription.Troubleshoot why my container app is failing health probes.What role should I assign to let this managed identity read blobs?What AI models are available in Microsoft Foundry?
Repository layout
If you are exploring or customizing the plugin source, the key pieces are:
.github/plugins/azure-skills/skills/- the Azure skill definitions.github/plugins/azure-skills/.mcp.json- included MCP configuration for Azure and FoundryREADME.md- high-level overview and install guide for the plugin
Troubleshooting
The agent is not using Azure skills
- Make sure the plugin installed successfully in your host
- Confirm the Azure skills directory is present
- Reload or restart your host so it re-indexes plugins and MCP configuration
MCP tools are not showing up
- Verify Node.js is installed and
npxworks - Check that the Azure and Foundry MCP entries were added for your host
- Restart MCP servers or reload the host after configuration changes
Azure commands fail with auth errors
- Re-run
az login - Re-run
azd auth loginfor deployment scenarios - Make sure the correct Azure subscription is selected
Learn more
Telemetry
To disable Azure MCP telemetry collection, set:
export AZURE_MCP_COLLECT_TELEMETRY=falseContribution
This repository is automatically sync'ed from https://github.com/microsoft/GitHub-Copilot-for-Azure. If you would like to contribute to Azure skills, please open PR's there. Thank you!
Installationen
Sicherheitsprüfung
Quellcode ansehen
microsoft/azure-skills
Mehr aus dieser Quelle
Power your AI Agents with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
So verwenden Sie diesen Skill
Install azure-cost-optimization by running npx skills add microsoft/azure-skills --skill azure-cost-optimization in your project directory. Führen Sie den obigen Installationsbefehl in Ihrem Projektverzeichnis aus. Die Skill-Datei wird von GitHub heruntergeladen und in Ihrem Projekt platziert.
Keine Konfiguration erforderlich. Ihr KI-Agent (Claude Code, Cursor, Windsurf usw.) erkennt installierte Skills automatisch und nutzt sie als Kontext bei der Code-Generierung.
Der Skill verbessert das Verständnis Ihres Agenten für azure-cost-optimization, und hilft ihm, etablierte Muster zu befolgen, häufige Fehler zu vermeiden und produktionsreifen Code zu erzeugen.
Was Sie erhalten
Skills sind Klartext-Anweisungsdateien — kein ausführbarer Code. Sie kodieren Expertenwissen über Frameworks, Sprachen oder Tools, das Ihr KI-Agent liest, um seine Ausgabe zu verbessern. Das bedeutet null Laufzeit-Overhead, keine Abhängigkeitskonflikte und volle Transparenz: Sie können jede Anweisung vor der Installation lesen und prüfen.
Kompatibilität
Dieser Skill funktioniert mit jedem KI-Coding-Agenten, der das skills.sh-Format unterstützt, einschließlich Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider und anderen Tools, die projektbezogene Kontextdateien lesen. Skills sind auf Transportebene framework-agnostisch — der Inhalt bestimmt, für welche Sprache oder welches Framework er gilt.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.