ai-router-architect

Community

Centralize AI calls, costs, and safety.

Authornguyenpv1980-wq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of scattered AI provider calls by defining a single routing layer where every model request goes through one controlled interface. It helps teams avoid client-side key exposure, inconsistent retry behavior, and ungoverned model usage.

Core Features & Use Cases

  • Single routing choke point: Consolidates all model calls behind one internal gateway so credentials, model selection, cost limits, and failure handling are enforced consistently.
  • Server-side credential custody: Ensures provider keys stay off the client bundle and are managed through secure server-side handling with rotation support.
  • Deterministic routing and resilience: Selects models by task, cost, latency, and availability while supporting bounded retries, provider fallback, degraded responses, circuit breakers, and a kill switch.
  • Telemetry at the call level: Defines per-request metrics such as model, token counts, estimated cost, latency, correlation id, and fallback usage for observability and chargeback.
  • Use case: Use this Skill when replacing direct OpenAI and Anthropic calls with one governed AI gateway that enforces budgets and survives provider outages.

Quick Start

Ask the AI to design a server-side model routing layer that centralizes provider calls, keeps credentials out of the client, enforces budgets at one choke point, and includes fallback, telemetry, and a kill switch.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ai-router-architect
Download link: https://github.com/nguyenpv1980-wq/Project-Aegis/archive/main.zip#ai-router-architect

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.