microsoft avatar

Azure Aigateway

This wraps Azure API Management around your AI models to add governance policies like semantic caching, token limits, and content safety filters. You'd use it when you need to control costs (caching can cut bills 60-80%), prevent jailbreaks, or rate-limit your MCP tools before they hit production. It generates the APIM policies, sets up managed identity auth to Azure OpenAI, and gives you the curl commands to test everything. The policy examples are solid and it covers the tricky bits like proper policy ordering. Honestly feels like something Microsoft should have built into the Azure portal by now, but this gets you there with CLI commands.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
9
skills.sh installs
657.6K
GitHub stars
1.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add microsoft/azure-skills --skill azure-aigateway --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

When to Use This Skill

CategoryTriggers
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

Sponsors

Details

Repository
github.com/microsoft/azure-skills
Categories
Backend & APIs, Testing & QA, AI & Agent Building, Cloud & Infrastructure, Web3 & Blockchain
First seen
Apr 16, 2026

More from microsoft/azure-skills

All 39
1microsoft avatarazure-messagingmicrosoft/azure-skillsTroubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing 649.3Kskills.sh installs
2microsoft avatarazure-computemicrosoft/azure-skillsAzure VM/VMSS router. WHEN: create / provision / deploy / spin-up VM, recommend VM size, compare VM pricing, VMSS, scale set, autoscale, burstable, lightweight 614.1Kskills.sh installs
3google avatargoogle-agents-cli-deploygoogle/agents-cliThis skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or 560Kskills.sh installs
4sleekdotdesign avatarsleek-design-mobile-appssleekdotdesign/agent-skillsAI-powered mobile app design tool with REST API for creating projects, describing designs in plain language, and rendering screens.548.8Kskills.sh installs
5microsoft avatarazure-kubernetesmicrosoft/azure-skillsPlan, create, and configure production-ready Azure Kubernetes Service (AKS) clusters. Covers Day-0 checklist, SKU selection (Automatic vs Standard), networking 527.5Kskills.sh installs
6xixu-me avataropenclaw-secure-linux-cloudxixu-me/skillsUse when self-hosting OpenClaw on a cloud server, hardening a remote OpenClaw gateway, choosing between SSH tunneling, Tailscale, or reverse-proxy exposure, or 520.7Kskills.sh installs