/open-horizons-platform:azure-apim-ai-gateway what to front, for example token-limited load balancing across two model deployments with semantic cachefrom open-horizons-platform
Designs Azure API Management as an AI gateway for model and tool traffic, with token-per-minute controls, quotas, load-balanced backend pools, circuit breakers, semantic caching, token metrics, managed identity, and content safety.
Ships in open-horizons-platform. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Design Azure API Management as the runtime gateway between agents, applications, model deployments, and tool APIs so traffic is governed, resilient, cached, metered, and secured without changing every caller.
Use $ARGUMENTS as the runtime gateway scenario: what callers invoke, which model or tool backends exist, tenant or feature dimensions, token budget goals, cache needs, and network/security constraints. If details are missing, state assumptions before designing.
publicNetworkAccess=Disabled; create it enabled and harden later if that tier is required.azure-aigateway skill for deep policy examples when available; this skill defines the primitive design shape.| Capability | Policy area | Why it matters |
|---|---|---|
| Token rate limiting | token limit per key or subscription | Protect budgets and prevent runaway spend. |
| Token quotas | renewable token quota | Enforce per-tenant, per-user, or per-feature ceilings. |
| Load balancing | backend pool with weights and priority | Spread traffic across model deployments, models, and regions. |
| Resilience | circuit breaker on backends | Bypass throttled, unhealthy, or down deployments. |
| Semantic caching | semantic cache lookup and store | Reuse answers for similar prompts through a cache backend such as Azure Managed Redis. |
| Cost attribution | emit token metric | Track usage by model, tenant, feature, and caller in Azure Monitor. |
| Identity | managed identity to backend | Remove backend keys from application code and use AAD where supported. |
| Safety | content safety integration | Screen requests and responses at the edge. |
Agents / GitHub Copilot / apps
|
Azure API Management (AI gateway)
- authN (managed identity, subscription keys for callers)
- token limit + quota
- semantic cache lookup --> hit returns cached response
- load balance + circuit breaker
| |
Model deployment A Model deployment B (multi-region, multi-model)
|
emit token metric --> Azure Monitor (cost attribution)
| Boundary | Decision rule |
|---|---|
| Governance vs runtime | azure-api-center catalogs APIs, tools, and MCP servers; APIM enforces and routes calls at runtime. |
| Caching | Gateway semantic caching is the lowest-change option; app-level caching belongs in azure-managed-redis-cache. |
| Routing | Centralizing model calls behind APIM makes routing tiers from agentic-architecture-patterns enforceable in one place. |
| Tool calls | Treat governed tool APIs like any other backend: authenticate callers, enforce quotas, monitor errors, and document ownership. |
| Name | Type | Use it when |
|---|---|---|
azure-aigateway | skill | You need exact APIM AI policy syntax or current Microsoft Learn examples. |
azure-api-center | skill | You need catalog, governance, discovery, or linter rules rather than runtime enforcement. |
azure-managed-redis-cache | skill | You need the cache backend design behind semantic caching. |
agentic-architecture-patterns | skill | You need agent routing and tool-use architecture decisions. |
open-horizons-orchestration (skill).## APIM AI gateway design
**Scenario:** <what is fronted>
**Gateway role:** runtime enforcement for model traffic | tool traffic | both
| Concern | Design decision | Policy or service area | Validation |
| --- | --- | --- | --- |
| Token budget | <limit/quota dimensions> | token limit, token quota | <test> |
| Routing | <backend pool, weights, priority> | backends | <failover test> |
| Cache | <lookup/store and threshold> | semantic cache | <hit/miss test> |
| Identity | <caller and backend auth> | managed identity, subscription keys, AAD | <auth test> |
| Cost | <dimensions> | emit token metric, Azure Monitor | <dashboard or query> |
### Risks and mitigations
- <risk>: <mitigation>
publicNetworkAccess=Disabled limitation is considered when relevant.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
117 skills in this plugin
/agent-framework-pythonApplies Microsoft Agent Framework Python monorepo conventions to the imported example tree. Use when changing its public API exports, package metadata, tests, or Python implementation./agentsApplies current repository conventions for custom-agent metadata, tool scope, body structure, runtime boundaries, and validation. Use when creating or updating an agent./agent-safetyUse when editing Open Horizons agent runtimes, tools, orchestration, or policy code that requires safety and governance controls./agent-skillsApplies current portable Agent Skill conventions for discovery metadata, progressive disclosure, bundled resources, safety, and validation. Use when creating or updating SKILL.md./azure-agentic-architecture-patternsProvides a decision framework for production multi-agent and AI-native systems on GitHub and Azure AI Foundry. Use this skill when designing model routing, prompt caching, semantic caching, memory, context curation, RAG, tools, MCP, identity, guardrails, evaluation, observability, or cost controls./azure-api-centerDesign Azure API Center as the enterprise inventory and governance plane for APIs, agent tools, OpenAPI definitions, environments, deployments, metadata, linting, and MCP server discovery. Use when building an API or tool catalog, enforcing API standards, registering MCP servers, or making approved tools discoverable to agent builders.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin open-horizons-platformOther plugins' skills for the same job