All skills
microsoft avatar

/prepare

@b8a1c66
by microsoftmicrosoft/skills3.1k stars
351

Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents

  • 13 files
  • 71.3 KB
  • Updated last week
  • GitHub

Use this Skill: https://skilld.dev/gh/microsoft/skills/prepare

This session only. Nothing lands on disk.

referencessubagent-pricing.md

โ‰ˆ640 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Subagent Template โ€” Cost Estimation (Step 6)

Estimate monthly costs for planned Azure services using Azure Retail Prices API.

References to Read Internally

Read BOTH before making any pricing calls:

Input (provided by caller)

Field Required
services[] with service type and selected SKU per service YES
region โ€” deployment region YES
Budget tier (free / balanced / performance) YES

Output

Return JSON (โ‰ค500 tokens):

{
  "costEstimate": {
    "monthlyTotal": 42.50,
    "currency": "USD",
    "breakdown": [
      { "service": "App Service", "sku": "B1", "monthlyUsd": 13.14, "formula": "retailPrice ร— 730" },
      { "service": "PostgreSQL Flexible Server", "sku": "Standard_B1ms", "monthlyUsd": 24.82, "formula": "compute + storage" }
    ],
    "freeGrants": [
      { "service": "Container Apps", "grant": "180K vCPU-sec + 360K GiB-sec", "monthlySavings": 0 }
    ],
    "assumptions": [],
    "disclaimer": "Estimate based on Azure Retail Prices API. Verify at azure.com/pricing."
  }
}

Rules

  • โ›” Do NOT invoke ANY skills โ€” no {"skill": "azure-validate"}, {"skill": "azure-prepare"}, or any other skill call. You are a pricing subagent only. Use direct HTTP to https://prices.azure.com/api/retail/prices for price queries (MCP pricing was already attempted inline by the caller).
  • โ›” Check free-tier shortcut FIRST โ€” if ALL services use free SKUs, return $0 with disclaimer
  • โ›” armSkuName is case-sensitive โ€” use B1 not b1
  • โ›” For services with empty armSkuName (Container Apps, Functions Consumption, ACR, Storage, Cosmos, Key Vault): use filter/meterName matching โ€” a sku filter returns []
  • โ›” Monthly multiplier = each meter's unitOfMeasure (1 Hourโ†’ร—730, 1/Dayโ†’ร—30 [ACR/registry, SQL DTU], 1 GB/Monthโ†’ร—GB, 1 Secondโ†’usage) โ€” NEVER blanket ร—730; applying ร—730 to a 1/Day meter overstates ~24ร—
  • โ›” Use direct HTTP to https://prices.azure.com/api/retail/prices for all price lookups. Do NOT use mcp_azure_mcp_pricing โ€” it was already tried inline and failed.
  • โ›” Never hardcode dollar amounts โ€” always query live prices
  • โ›” If pricing API returns 400: verify --sku included. Free tiers: skip API

Token Budget

โ‰ค500 tokens for cost estimate report.

Source: SKILL.md on GitHub

No third-party reports yet.

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

Last checked against GitHub 20 hours ago.

Activeupdated last week

README badge

README badge for microsoft/skills/prepare