Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Backend & APIs
microsoft avatar

Azure Aigateway

microsoft/github-copilot-for-azureOfficial

Azure-aigateway enables developers and platform engineers to configure Azure API Management as a governance layer for AI models, MCP tools, and agents. The skill provides policies and commands for implementing semantic caching, token limits, content safety filters, load balancing, rate limiting, and jailbreak detection to control costs, ensure compliance, and protect AI workloads. It solves the problem of managing multiple AI backends and tools through a single controlled gateway with observability and cost control mechanisms.

installs
103K
GitHub stars
217
last updated
Jun 11, 2026
View on GitHubSave

Install

$ npx -y skills add microsoft/github-copilot-for-azure --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

PolicyPurposeDetails
azure-openai-token-limitCost controlModel Policies
azure-openai-semantic-cache-lookup/store60-80% cost savingsModel Policies
azure-openai-emit-token-metricObservabilityModel Policies
llm-content-safetySafety & complianceAgent Policies
rate-limit-by-keyMCP/tool protectionTool Policies

Get Gateway Details

# 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> \
  --query "[].{id:name, url:url}" -o table

# Get subscription key
az apim subscription keys list \
  --service-name <apim-name> --resource-group <rg> --subscription-id <sub-id>

Test AI Endpoint

GATEWAY_URL=$(az apim show --name <apim-name> --resource-group <rg> --query "gatewayUrl" -o tsv)

curl -X POST "${GATEWAY_URL}/openai/deployments/<deployment>/chat/completions?api-version=2024-02-01" \
  -H "Content-Type: application/json" \
  -H "Ocp-Apim-Subscription-Key: <key>" \
  -d '{"messages": [{"role": "user", "content": "Hello"}], "max_tokens": 100}'

Common Tasks

Add AI Backend

See references/patterns.md for full steps.

# Discover AI resources
az cognitiveservices account list --query "[?kind=='OpenAI']" -o table

# Create backend
az apim backend create --service-name <apim> --resource-group <rg> \
  --backend-id openai-backend --protocol http --url "https://<aoai>.openai.azure.com/openai"

# Grant access (managed identity)
az role assignment create --assignee <apim-principal-id> \
  --role "Cognitive Services User" --scope <aoai-resource-id>

Apply AI Governance Policy

Recommended policy order in <inbound>:

  1. Authentication - Managed identity to backend
  2. Semantic Cache Lookup - Check cache before calling AI
  3. Token Limits - Cost control
  4. Content Safety - Filter harmful content
  5. Backend Selection - Load balancing
  6. Metrics - Token usage tracking

See references/policies.md for complete example.


Troubleshooting

IssueSolution
Token limit 429Increase tokens-per-minute or add load balancing
No cache hitsLower score-threshold to 0.7
Content false positivesIncrease category thresholds (5-6)
Backend auth 401Grant APIM "Cognitive Services User" role

See references/troubleshooting.md for details.


References

  • Detailed Policies - Full policy examples
  • Configuration Patterns - Step-by-step patterns
  • Troubleshooting - Common issues
  • AI-Gateway Samples
  • GenAI Gateway Docs

SDK Quick References

  • Content Safety: Python | TypeScript
  • API Management: Python | .NET
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/microsoft/github-copilot-for-azure
Categories
Backend & APIs, Testing & QA, Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure, Web3 & Blockchain

More from microsoft/github-copilot-for-azure

All 40
  • Azure Compliance103K
  • Azure Kusto103K
  • Azure Prepare103K
  • Azure Rbac103K
  • Azure Resource Lookup103K
  • Azure Resource Visualizer103K
  • Azure Validate103K
  • Entra App Registration103K
  • Azure Observability102.2K
  • Azure Messaging92.4K
  • Azure Hosted Copilot Sdk75.7K
  • Azure Compute47.5K
  • Azure Postgres34.8K
  • Markdown Token Optimizer1.1K
  • Sensei1K
  • Skill Authoring1K
  • File Test Bug978
  • Analyze Test Run847
  • Airunway Aks Setup
  • Analyze Skill Issues
  • Azure Cloud Migrate
  • Azure Cost
  • Azure Enterprise Infra Planner
  • Azure Kubernetes

Recommended

More Backend & APIs
1microsoft avatarazure-preparemicrosoft/github-copilot-for-azurePrepare Azure apps for deployment (infra Bicep/Terraform, azure.yaml, Dockerfiles). Use for create/modernize or create+deploy; not cross-cloud migration (use az103Kinstalls
2microsoft avatarentra-app-registrationmicrosoft/github-copilot-for-azureGuides Microsoft Entra ID app registration, OAuth 2.0 authentication, and MSAL integration. USE FOR: create app registration, register Azure AD app, configure O103Kinstalls
3currents-dev avatarplaywright-best-practicescurrents-dev/playwright-best-practices-skillUse when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking AP98.8Kinstalls
4cloudflare avatarcloudflare-onecloudflare/skillsGuides Cloudflare One Zero Trust and SASE work across Access, Gateway, WARP, Tunnel, Cloudflare WAN, DLP, CASB, device posture, and identity. Use when designing94Kinstalls
5cloudflare avatarturnstile-spincloudflare/skillsSet up Cloudflare Turnstile end-to-end in a project. Scan the codebase, create the widget via the Cloudflare API, embed it where user requests need bot verifica93.9Kinstalls
6microsoft avatarazure-messagingmicrosoft/github-copilot-for-azureTroubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing 92.4Kinstalls