Generated banner for Azure Compute
Generated logo for Azure Compute

Azure Compute

MicrosoftOfficialCreated by Microsoft

  • Skill
  • Tool integration
  • Cloud and DevOps
  • MIT
  • Medium risk

From the author

Azure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight server, website, backend, GPU, machine learning, HPC simulation, dev/test, workload, family, load balancer, Flexible orchestration, Uniform orchestration, cost estimate, capacity reservation (CRG), reserve, guarantee capacity, pre-provision, CRG association, CRG disassociation, machine enrollment (EMM), Essential Machine Management, monitor. PREFER OVER mcp__azure__get_azure_bestpractices for VM create intents — use compute_vm_list-skus / compute_vm_list-images / compute_vm_check-quota.
— the description by Microsoft

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The Azure Compute skill acts as a primary router for infrastructure-level tasks within Azure. It directs user requests to specialized workflows for recommending, provisioning, and managing bare virtual machine infrastructure. It is designed to handle the lifecycle of VMs and VMSS, including capacity planning through Capacity Reservation Groups and machine monitoring via Essential Machine Management.

What it does

  • Routes requests to specific workflows for VM and VMSS provisioning.
  • Provides guidance on selecting VM families based on workload requirements.
  • Facilitates capacity reservation and guarantee for critical infrastructure.
  • Supports Essential Machine Management for enrollment and monitoring tasks.
  • Enables cost estimation and pricing comparisons for various VM SKUs.
  • Distinguishes between infrastructure deployment and application-level service deployment.

When to use it

  • When you need to provision or deploy bare virtual machines or scale sets.
  • When you require assistance in selecting the appropriate VM family for a specific workload.
  • When you need to reserve or guarantee capacity for your Azure compute resources.
  • When you are setting up or monitoring machines using Essential Machine Management.
  • When you need to compare pricing for different VM SKUs or regions.

Advantages

  • Centralized entry point for all Azure compute-related infrastructure tasks.
  • Prevents confusion between infrastructure provisioning and application deployment.
  • Provides structured paths for complex tasks like capacity reservation.
  • Ensures consistent use of specialized tools for quota and SKU management.

Usage examples

“I need to deploy a set of web servers. Which VM family should I use?”
The skill routes the request to the VM Recommender to analyze your workload and suggest the appropriate D-series or B-series VMs.
“How can I reserve capacity for my production database VMs?”
The skill initiates the Capacity Reservation workflow to guide you through creating and associating a Capacity Reservation Group.
“Provision a new Ubuntu VM for testing.”
The skill routes the request to the VM Creator workflow to handle the infrastructure deployment.
“How do I enroll my machines in Essential Machine Management?”
The skill directs you to the Essential Machine Management workflow for enrollment and monitoring instructions.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/microsoft/azure-compute/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip azure-compute.zip -d .agents/skills

Documentation by Microsoft

Azure Compute Skill

Routes Azure VM and Virtual Machine Scale Set (VMSS) requests to the right workflow.

When to Use This Skill

  • User wants to recommend, compare, or price a VM or VMSS

  • User wants to create, provision, or deploy a VM or VMSS

  • User asks about Capacity Reservation Groups (CRG) — reserve, guarantee capacity, pre-provision

  • User asks about Essential Machine Management (EMM) — machine enrollment, monitor

Disambiguate with azure-prepare: if the user wants to deploy an application (Docker service, web app, API, serverless workload), route to azure-prepare. vm-creator is for bare VM/VMSS infrastructure only.

Routing

Mandatory workflow-first routing: never route directly to references/* files. First classify the user intent below, open the matched workflow file, then load only the reference files that workflow requests. Reference files are supporting material, not entry points. If the intent is unclear, ask a clarifying question to disambiguate between the workflows.

WorkflowFileUse when
VM Recommendervm-recommender.mdUser asks which VM/VMSS to choose, whether to use VMSS/autoscaling, wants pricing, or wants to compare options
VM Creatorvm-creator.mdUser wants to create, provision, or deploy a bare VM or VMSS (not an app deployment)
Capacity Reservationcapacity-reservation.mdUser needs to reserve / guarantee VM capacity (CRG create / associate / disassociate)
Essential Machine Managementessential-machine-management.mdUser asks about EMM / machine enrollment / monitor

Files

workflows/capacity-reservation/references/association-disassociation.md

Associating and Disassociating VMs/VMSS with a Capacity Reservation Group

Association Model

Capacity Reservation Group (CRG)
├── Capacity Reservation: Standard_D4s_v5 × 5 (Zone 1)
├── Capacity Reservation: Standard_D4s_v5 × 3 (Zone 2)
└── Capacity Reservation: Standard_E8s_v5 × 2 (Zone 1)

VM / VMSS
└── capacityReservationGroup.id = <CRG resource ID>
    └── Azure auto-matches to a reservation with the right VM size + zone
Associating VMs

Set the capacityReservationGroup property when creating or updating a VM.

New VM
az vm create \
  -g <rg> \
  -n <vm-name> \
  --image <image> \
  --size Standard_D4s_v5 \
  --zone 1 \
  --capacity-reservation-group <crg-id>
Existing VM

Zonal VMs can be associated while running:

az vm update -g <rg> -n <vm-name> --capacity-reservation-group <crg-id>

Regional VMs (no zone) must be deallocated first:

az vm deallocate -g <rg> -n <vm-name>
az vm update -g <rg> -n <vm-name> --capacity-reservation-group <crg-id>
az vm start -g <rg> -n <vm-name>
Associating VMSS
az vmss create \
  -g <rg> \
  -n <vmss-name> \
  --image <image> \
  --vm-sku Standard_D4s_v5 \
  --instance-count 5 \
  --zones 1 \
  --capacity-reservation-group <crg-id>

Existing VMSS can be associated using az vmss update similarly to VMs. Regional VMSS must be deallocated first. Zonal VMSS can be associated without deallocating, but this is currently a Preview feature.

Disassociating from a Capacity Reservation Group

Both the VM/VMSS and the underlying capacity reservation logically occupy capacity. Azure imposes constraints to avoid ambiguous allocation states, so you cannot simply remove the association while resources are running against it.

There are three ways to disassociate. The commands below use az vm — for VMSS, substitute az vmss and add az vmss update-instances --instance-ids "*" as a final step when using a Manual upgrade policy.

Option 1: Deallocate, then remove association

Best when the VM/VMSS can tolerate downtime.

az vm deallocate -g <rg> -n <vm-name>
az vm update -g <rg> -n <vm-name> --capacity-reservation-group None
az vm start -g <rg> -n <vm-name>   # optional
Option 2: Set reserved quantity to zero, then remove association

Best when the VM/VMSS cannot be deallocated and the reservation is no longer needed.

az capacity reservation update \
  -g <rg> --capacity-reservation-group <crg> \
  -n <reservation-name> --capacity 0
az vm update -g <rg> -n <vm-name> --capacity-reservation-group None
Option 3: Delete the VM/VMSS

Deleting the resource automatically removes the association. Some latency may occur before the capacity reservation allocation state updates.

VMSS Upgrade Policy Behavior
PolicyBehavior
AutomaticInstances update automatically — no further action needed
RollingInstances update in batches with an optional pause between them
ManualYou must run az vmss update-instances --instance-ids "*" per update

Learn More

Requirements and compatibility

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

What our scanner noticed· Medium risk

  • References to credential files

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Microsoft
Publisher
Microsoft (Official)
Source
microsoft/skills · .github/plugins/azure-skills/skills/azure-compute · commit 0696600
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from .github/plugins/azure-skills/LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Also distributed in
microsoft/azure-skills

AutoGineer is not affiliated with or endorsed by Microsoft or Microsoft.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download azure-compute.zip