microsoft/azure-skills/deploy-model
Claude Code and agent skill by microsoft/azure-skills
- vendor
Checking that the SKILL.md file is still in the repository.
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 deploy…
Install
npx vskill@latest install microsoft/azure-skills/deploy-modelSKILL.md
The same SKILL.md was published earlier as microsoft/skills/deploy-model.
Deploy Model
Scope — read this first. This skill creates model deployments out-of-band via Azure CLI / MCP / portal. For azd-managed Foundry projects (those scaffolded fromazd ai agent init), declare deployments inazure.yaml services.ai-project.deployments[]instead —azd ai agent initwrites the entry from the sample manifest andazd provisioncreates the deployment through Bicep. See foundry-agent/create/create-hosted.md for the Golden Path. Use this skill only for: (a) Foundry projects not managed by an azd project, (b) ad-hoc deployments outside the azd lifecycle.
Unified entry point for all Azure OpenAI model deployment workflows. Analyzes user intent and routes to the appropriate deployment mode.
Quick Reference
| Mode | When to Use | Sub-Skill | |
|---|---|---|---|
| Preset | Quick deployment, no customization needed | preset/SKILL.md | |
| Customize | Full control: version, SKU, capacity, RAI policy | customize/SKILL.md | |
| Capacity Discovery | Find where you can deploy with specific capacity | capacity/SKILL.md |
Intent Detection
Analyze the user's prompt and route to the correct mode:
Routing Rules
| Signal in Prompt | Route To | Reason | |
|---|---|---|---|
| Just model name, no options | Preset | User wants quick deployment | |
| "custom", "configure", "choose", "select" | Customize | User wants control | |
| "find", "check", "where", "which region", "available" | Capacity | User wants discovery | |
| Specific capacity number + "best region" | Capacity → Preset | Discover then deploy quickly | |
| Specific capacity number + "custom" keywords | Capacity → Customize | Discover then deploy with options | |
| "PTU", "provisioned throughput" | Customize | PTU requires SKU selection | |
| "optimal region", "best region" (no capacity target) | Preset | Region optimization is preset's specialty |
Multi-Mode Chaining
Some prompts require two modes in sequence:
Pattern: Capacity → Deploy When a user specifies a capacity requirement AND wants deployment:
- Run Capacity Discovery to find regions/projects with sufficient quota
- Present findings to user
- Ask: "Would you like to deploy with quick defaults or customize settings?"
- Route to Preset or Customize based on answer
💡 Tip: If unsure which mode the user wants, default to Preset (quick deployment). Users who want customization will typically use explicit keywords like "custom", "configure", or "with specific settings".
Project Selection (All Modes)
Before any deployment, resolve which project to deploy to. This applies to all modes (preset, customize, and after capacity discovery).
Resolution Order
- Check `PROJECT_RESOURCE_ID` env var — if set, use it as the default
- Check user prompt — if user named a specific project or region, use that
- If neither — query the user's projects and suggest the current one
Confirmation Step (Required)
Always confirm the target before deploying. Show the user what will be used and give them a chance to change it:
If user picks option 2, show top 5 projects in that region:
⚠️ Never deploy without showing the user which project will be used. This prevents accidental deployments to the wrong resource.
Pre-Deployment Validation (All Modes)
Before presenting any deployment options (SKU, capacity), always validate both of these:
- Model supports the SKU — query the model catalog to confirm the selected model+version supports the target SKU:
``bash az cognitiveservices model list --location <region> --subscription <sub-id> -o json ` Filter for the model, extract .model.skus[].name` to get supported SKUs.
- Subscription has available quota — check that the user's subscription has unallocated quota for the SKU+model combination:
``bash az cognitiveservices usage list --location <region> --subscription <sub-id> -o json ` Match by usage name pattern OpenAI.<SKU>.<model-name> (e.g., OpenAI.GlobalStandard.gpt-4o). Compute available = limit - currentValue`.
⚠️ Warning: Only present options that pass both checks. Do NOT show hardcoded SKU lists — always query dynamically. SKUs with 0 available quota should be shown as ❌ informational items, not selectable options.
💡 Quota management: For quota increase requests, usage monitoring, and troubleshooting quota errors, defer to the quota skill instead of duplicating that guidance inline.
Prerequisites
All deployment modes require:
- Azure CLI installed and authenticated (
az login) - Active Azure subscription with deployment permissions
- Microsoft Foundry project resource ID (or agent will help discover it via
PROJECT_RESOURCE_IDenv var)
Sub-Skills
- [preset/SKILL.md](preset/SKILL.md) — Quick deployment to optimal region with sensible defaults
- [customize/SKILL.md](customize/SKILL.md) — Interactive guided flow with full configuration control
- [capacity/SKILL.md](capacity/SKILL.md) — Discover available capacity across regions and projects
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 27 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/plugins/azure-skills/skills/microsoft-foundry/models/deploy-model/SKILL.md
Popularity
- Repository stars
- 1,259
- Repository forks
- 199
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/azure-skills/deploy-model)