Agent skill · Testing & QA

azure-aigateway

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.

Microsoft293,217★ · +1,988/wk · 14 repos on radarProfile →
claude-codeMIT
Install
npx skills add microsoft/azure-skills --skill azure-aigateway --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 5 KB
Bundled scripts: none
Version: 3.2.1
Declared author: Microsoft
Requires: Requires Azure CLI (az) for configuration and testing
Path: skills/azure-aigateway/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,353
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Azure AI Gateway Configure Azure API Management (APIM) as an AI Gateway for governing AI models, MCP tools, and agents. > **To deploy APIM**, use the **azure-prepare** skill. See [APIM deployment guide](https://learn.microsoft.com/azure/api-management/get-started-create-service-instance). ## When to Use This Skill | Category | Triggers | |----------|----------| | **Model Governance** | "semantic caching", "token limits", "load balance AI", "track token usage" | | **Tool Governance** | "rate limit MCP", "protect my tools", "configure my tool", "convert API to MCP" | | **Agent Governance** | "content safety", "jailbreak detection", "filter harmful content" | | **Configuration** | "add Azure OpenAI backend", "configure my model", "add AI Foundry model" | | **Testing** | "test AI gateway", "call OpenAI through gateway" | --- ## Quick Reference | Policy | Purpose | Details | |--------|---------|---------| | `azure-openai-token-limit` | Cost control | [Model Policies](references/policies.md#token-rate-limiting) | | `azure-openai-semantic-cache-lookup/store` | 60-80% cost savings | [Model Policies](references/policies.md#semantic-caching) | | `azure-openai-emit-token-metric` | Observabi

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Quick Reference
  3. Get Gateway Details
  4. Test AI Endpoint
  5. Common Tasks
  6. Add AI Backend
  7. Apply AI Governance Policy
  8. Troubleshooting
  9. References
  10. SDK Quick References
Ships with 8 files
  • references/auth-best-practices.md
  • references/patterns.md
  • references/policies.md
  • references/sdk/azure-ai-contentsafety-py.md
  • references/sdk/azure-ai-contentsafety-ts.md
  • references/sdk/azure-mgmt-apimanagement-dotnet.md
  • references/sdk/azure-mgmt-apimanagement-py.md
  • references/troubleshooting.md
Commands it runs
Get gateway URL
az apim show --name <apim-name> --resource-group <rg> --query "gatewayUrl" -o tsv
List backends (AI models)
az apim backend list --service-name <apim-name> --resource-group <rg> \
Get subscription key
az apim subscription keys list \
curl -X POST "${GATEWAY_URL}/openai/deployments/<deployment>/chat/completions?api-version=2024-02-01" \
Discover AI resources
az cognitiveservices account list --query "[?kind=='OpenAI']" -o table
Create backend
More from azure-skills
All skills →
About this skill
What does the azure-aigateway skill do?

Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.

How do I install it?

Run `npx skills add microsoft/azure-skills --skill azure-aigateway --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From microsoft/azure-skills, a repository with 1,353 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going