All skills
microsoft avatar

/azure-compute

@b3c238e
by microsoftmicrosoft/skills3.1k stars
351

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.

Use this Skill: https://skilld.dev/gh/microsoft/skills/azure-compute

This session only. Nothing lands on disk.

workflowsvm-creatorreferencesdelivery-optionssave-local.md

≈512 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Mode B — Save to a local folder

Step 1 — Suggest a path

Detect the user's current working context (in priority order; pick the first that succeeds):

Signal Suggested path
Host session has an --add-dir workspace containing a .git directory <workspace>/infra/{vm-name}/
User mentioned a repo path earlier in the conversation <that-path>/infra/{vm-name}/
pwd is inside a git repo <repo-root>/infra/{vm-name}/
None of the above ~/Desktop/{vm-name}-infra/

Present the suggestion and let the user override:

"I'll save to ~/Desktop/dev-vm-infra/ (no repo detected). Use that, or pick another path?"

If the path already exists with files, always show the diff and ask before overwriting. Never silently clobber.

Step 2 — Choose the filename(s)

Format Files written
bash create-vm.sh (chmod +x)
Bicep main.bicep, README.md
Terraform main.tf, variables.tf, outputs.tf, terraform.tfvars.example, README.md

The README.md contains:

  • The full Plan Card markdown (so the next reader knows what this deploys)
  • Deploy section with exact commands (az deployment group create ... / terraform init && apply ... / bash create-vm.sh)
  • Verify section: az vm show / az vm list-ip-addresses
  • Cleanup section: az group delete --name <rg> --yes --no-wait

Step 3 — Write and confirm

After writing, echo back absolute paths and the single command the user runs next:

✅ Wrote 2 files:

  • ~/source/my-infra/infra/dev-vm/main.bicep
  • ~/source/my-infra/infra/dev-vm/README.md

Next step:

cd ~/source/my-infra/infra/dev-vm
az deployment group create --resource-group dev-vm-rg --template-file main.bicep \
  --parameters vmName=dev-vm adminUsername=azureuser \
               adminPublicKey="$(cat ~/.ssh/id_rsa.pub)"

Tool implementation

Use the Write tool (or the host's equivalent) for each file. For shell scripts: write, then chmod +x via Bash.

Source: SKILL.md on GitHub

1 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill provides a comprehensive and secure workflow for provisioning Azure Virtual Machines and Scale Sets. It follows security best practices by recommending SSH keys over passwords, restricting network access to the user's public IP, and ensuring secrets are handled as parameters rather than hardcoded values.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

Signed by skilld at b3c238e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "2.5.1"
}

README badge

README badge for microsoft/skills/azure-compute