agentleFS
jonathan-vellajonathan-vella/apex/.github/skills/apex-azure-compute/SKILL.md

apex-azure-compute

Skill216 starsChanged 2 months agoMITView on GitHub

**ANALYSIS SKILL** — Recommend Azure VM sizes and VMSS for workload, performance, and budget. Uses public docs and the Azure Retail Prices API. WHEN: "recommend VM size", "choose Azure VM", "GPU VM", "compare VM sizes", "VMSS vs VM", "autoscale VMs". DO NOT USE FOR: provisioning VMs (apex-azure-prepare), VM pricing for budgets (ARM MCP).

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default to General Purpose D-series: when workload type is unclear

    line 32
  2. Distinctive:

    Default to single VM: when scaling needs are unclear.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Compute Skill

Recommend Azure VM sizes, VM Scale Sets (VMSS), and configurations by analyzing workload type, performance requirements, scaling needs, and budget. No Azure subscription required — all data comes from public Microsoft documentation and the unauthenticated Retail Prices API.

When to Use This Skill

  • User asks which Azure VM or VMSS to choose for a workload
  • User needs VM size recommendations for web, database, ML, batch, HPC, or other workloads
  • User wants to compare VM families, sizes, or pricing tiers
  • User asks about trade-offs between VM options (cost vs performance)
  • User needs a cost estimate for Azure VMs without an Azure account
  • User asks whether to use a single VM or a scale set
  • User needs autoscaling, high availability, or load-balanced VM recommendations
  • User asks about VMSS orchestration modes (Flexible vs Uniform)

Rules

  • Always verify against live docs — call web_fetch against learn.microsoft.com before finalizing recommendations; warn the user when web_fetch fails. web_fetch means any available page-fetch tool; prefer mcp_azure-mcp_documentation (microsoft_docs_fetch) for Learn pages
  • Availability and quota — before recommending a size for a deployment, confirm SKU availability and quota headroom with apex-azure-quotas (SKU availability); neither guarantees allocation capacity
  • Default to General Purpose D-series when workload type is unclear
  • Default region follows the canonical declaration in copilot-instructions.md; prices vary by region
  • Default to single VM when scaling needs are unclear; recommend VMSS only when autoscale, fleet, or mixed-size requirements are explicit
  • VMSS pricing = VM pricing × instance count (no extra VMSS charge)
  • Reservation pricing is recommended for long-lived production VMs (1y/3y commitments)
  • No deployment — this skill recommends sizes; for provisioning use apex-azure-prepare

Steps

The full 6-step procedure (with all decision tables, dichotomy tree, and web_fetch URLs) lives in references/recommendation-workflow.md. Load it on demand. Summary:

  1. Gather requirements — workload type, vCPU/RAM, GPU, storage, budget, OS, region, instance count, scaling, HA, load balancing
  2. Determine VM vs VMSS — VMSS for autoscale / fleet / mixed sizes (Flexible orchestration); VM for single long-lived servers, jumpboxes, AD DCs. Default to single VM when unsure
  3. Select VM family — pick 2–3 candidates from vm-families.md, then verify specs via web_fetch against learn.microsoft.com
  4. Look up pricing — Azure Retail Prices API per retail-prices-api.md; for VMSS multiply by instance count
  5. Present 2–3 recommendations — include hosting model, VM size, vCPU/RAM, instance count, $/hr, fit, trade-off
  6. Offer next steps — reservation pricing, Azure Pricing Calculator, VMSS autoscale + networking docs

Critical: always verify recommendations against live learn.microsoft.com docs via web_fetch. If web_fetch fails, proceed with reference-file guidance and warn the user data may be stale.

Error Handling

ScenarioAction
API returns empty resultsBroaden filters — check armRegionName, serviceName, armSkuName spelling
User unsure of workload typeAsk clarifying questions; default to General Purpose D-series
Region not specifiedUse the canonical default from copilot-instructions.md; prices vary by region
Unclear if VM or VMSS neededAsk about scaling and instance count; default to single VM if unsure
User asks VMSS pricing directlyUse same VM pricing API — VMSS has no extra charge; multiply by instance count

Reference Index

Load only the reference needed for the current decision; these links are the source catalog, not a requirement to load every file.

  • Recommendation Workflow — Full 6-step procedure with decision tables and web_fetch URLs
  • VM Family Guide — Family-to-workload mapping and selection
  • Retail Prices API Guide — Query patterns, filters, and examples
  • VMSS Guide — When to use VMSS, orchestration modes, and autoscale patterns

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.