All skills
microsoft avatar

/deploy-model

@54c2a28 official

Unified Azure OpenAI model deployment skill with intelligent intent-based routing. Handles quick preset deployments, fully customized deployments (version/SKU/capacity/RAI policy), and capacity discovery across regions and projects. USE FOR: deploy model, deploy gpt, create deployment, model deployment, deploy openai model, set up model, provision model, find capacity, check model availability, where can I deploy, best region for model, capacity analysis. DO NOT USE FOR: listing existing deployments (use foundry_models_deployments_list MCP tool), deleting deployments, agent creation (use agent/create), project creation (use project/create).

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/deploy-model

This session only. Nothing lands on disk.

TEST_PROMPTS.md

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

Deploy Model — Test Prompts

Test prompts for the unified deploy-model skill with router, preset, customize, and capacity sub-skills.

Preset Mode (Quick Deploy)

# Prompt Expected
1 Deploy gpt-4o Preset — confirm project, deploy with defaults
2 Set up o3-mini for me Preset — pick latest version automatically
3 I need a text-embedding-ada-002 deployment Preset — non-chat model
4 Deploy gpt-4o to the best region Preset — region scan, no capacity target

Customize Mode (Guided Flow)

# Prompt Expected
5 Deploy gpt-4o with custom settings Customize — walk through version → SKU → capacity → RAI
6 I want to choose the version and SKU for my o3-mini deployment Customize — explicit keywords
7 Set up a PTU deployment for gpt-4o Customize — PTU requires SKU selection
8 Deploy gpt-4o with a specific content filter Customize — RAI policy flow

Capacity Discovery

# Prompt Expected
9 Where can I deploy gpt-4o? Capacity — show regions, no deploy
10 Which regions have o3-mini available? Capacity — run script, show table
11 Check if I have enough quota for gpt-4o with 500K TPM Capacity — high target, some regions may not qualify

Chained (Capacity → Deploy)

# Prompt Expected
12 Find me the best region and project to deploy gpt-4o with 10K capacity Capacity → Preset
13 Deploy o3-mini with 200K TPM to whatever region has it Capacity → Preset
14 I want to deploy gpt-4o with 50K capacity and choose my own settings Capacity → Customize

Negative / Edge Cases

# Prompt Expected
15 Deploy unicorn-model-9000 Fail gracefully — model doesn't exist
16 Deploy gpt-4o with 999999K TPM Capacity shows no region qualifies
17 Deploy gpt-4o (with az login expired) Auth error caught early
18 Delete my gpt-4o deployment Should NOT trigger deploy-model
19 List my current deployments Should NOT trigger deploy-model
20 Deploy gpt-4o to mars-region-1 Fail gracefully — invalid region

Project Selection

# Prompt Expected
21 Deploy gpt-4o (with PROJECT_RESOURCE_ID set) Show current project, confirm before deploying
22 Deploy gpt-4o (no PROJECT_RESOURCE_ID) Ask user to pick a project
23 Deploy gpt-4o to project my-special-project Use named project directly

Ambiguous / Routing Stress

# Prompt Expected
24 Help me with model deployment Preset (default) — vague, no keywords
25 I need gpt-4o deployed fast with good capacity Preset — "fast" + vague capacity
26 Can you configure a deployment? Customize — "configure" keyword, should ask which model
27 What's the best way to deploy gpt-4o with 100K? Capacity → Preset

Automated Test Results (2026-02-09)

All 18 tests passed. Deployments created during testing were cleaned up.

Category Tests Result
Preset 3/3 ✅
Customize 2/2 ✅
Capacity 3/3 ✅
Chained 1/1 ✅
Negative 5/5 ✅
Ambiguous 4/4 ✅

Source: SKILL.md on GitHub

No alerts6mo3 checks · Risk SAFE
  • Gen Agent Trust Hub6mo

    This skill provides a unified workflow for deploying Azure OpenAI models using the Azure CLI. It includes intelligent routing, capacity discovery across regions, and support for both standard OpenAI models and Anthropic models on Azure while maintaining security best practices like mandatory project confirmation.

  • Socket6mo

    No alerts

  • Snyk6mo

    Risk: LOW · No issues

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

Last checked against GitHub 19 hours ago.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.0.0"
}
  • azure
  • openai
  • deployment
  • model
  • capacity
  • sku
  • foundry
  • azure-cli
  • provisioning

README badge

README badge for microsoft/github-copilot-for-azure/deploy-model

Deploys Azure OpenAI models with intent-based routing to preset deployment, customized configuration, or capacity discovery workflows. Routes user requests to the appropriate mode based on whether they want quick defaults, custom SKU/capacity/RAI settings, or to find available capacity across regions and projects.

Generated from the current SKILL.md.

Does this skill handle deployments in azd-managed Foundry projects?
No. For azd projects (those scaffolded from azd-ai-starter-basic or via azd ai agent init), declare deployments in azure.yaml instead — azd provision will create them through Bicep. Use this skill only for standalone Foundry projects or ad-hoc deployments outside the azd lifecycle.
What happens if I don't specify a project?
The skill checks the PROJECT_RESOURCE_ID environment variable first, then looks for clues in your prompt. If neither exists, it queries your projects and suggests the current one, with a confirmation step before deploying.
Can this skill list or delete existing deployments?
No. This skill creates deployments only. Use the foundry_models_deployments_list MCP tool to list existing deployments, or the Azure portal to delete them.
Does this skill validate quota and SKU support before deploying?
Yes. It queries the model catalog to confirm the model supports your chosen SKU, and checks your subscription's available quota via Azure CLI before presenting any deployment options.
What should I do if I hit a quota limit?
Defer to the quota skill (quota/quota.md) for quota increase requests, usage monitoring, and troubleshooting quota errors.

Generated from the current SKILL.md. These answers refresh after source changes.