Azure Resource Manager Mysql Dotnet
microsoft/skills
Azure MySQL Flexible Server SDK for .NET. An agent skill from microsoft/skills.
LiteLLM-RS Routing Architecture. An agent skill from majiayu000/litellm-rs.
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install majiayu000/litellm-rs routing-architecture --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/routing-architecture .claude/skills/routing-architecture && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .claude/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architectureType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install majiayu000/litellm-rs routing-architecture --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/routing-architecture .agents/skills/routing-architecture && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .agents/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install majiayu000/litellm-rs routing-architecture --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/routing-architecture .cursor/skills/routing-architecture && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .cursor/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/majiayu000/litellm-rs.git --path .claude/skills/routing-architecture--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install majiayu000/litellm-rs routing-architecture --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/routing-architecture .gemini/skills/routing-architecture && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .gemini/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install majiayu000/litellm-rs routing-architectureInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/routing-architecture .github/skills/routing-architecture && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .github/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/litellm-rs --skill routing-architecture -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install majiayu000/litellm-rs routing-architecture --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/litellm-rs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/routing-architecture .opencode/skills/routing-architecture && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "routing-architecture" agent skill from https://github.com/majiayu000/litellm-rs/tree/main/.claude/skills/routing-architecture into .opencode/skills/routing-architecture/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "routing-architecture", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
routing-architectureLiteLLM-RS Routing Architecture. An agent skill from majiayu000/litellm-rs.
Routing Architecture is an agent skill from majiayu000/litellm-rs. LiteLLM-RS Routing Architecture. Covers 7 routing strategies over immutable routing snapshots (ArcSwap) with atomic/DashMap state, health-aware deployment selection with cooldown circuit breaker, model-keyed fallback chains, and load balancing. Use when selecting or tuning a routing strategy, or configuring failover, health checks, and load balancing.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `reference/health-and-fallbacks.md`, `reference/performance-and-practices.md` and `reference/router-configuration.md`).
It sits in DevOps & Cloud, covering Cloud networking, Model routing and gateways and Backup and disaster recovery. It works with OpenAI and Rust. The repository describes itself as: Self-hosted Rust LLM gateway with OpenAI-compatible APIs, load balancing, failover, and a reusable Rust kernel. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ed3f4d9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Routing Architecture loads about 1.9k tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 638 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from majiayu000/litellm-rs at commit ed3f4d9, republished under its MIT licence (© majiayu000). 638 words, ~1,853 tokens.
.claude/skills/routing-architecture/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.The router (src/core/router/) selects among deployments — concrete provider+model
pairs registered via Router::add_deployment / Router::set_model_list — using one of
7 strategies. There is no per-strategy router struct, no Router trait, and no
create_router factory: strategy dispatch is a match on the RoutingStrategy enum
calling free functions in src/core/router/strategy_impl.rs.
RoutingSnapshot, published through ArcSwap (src/core/router/unified.rs:61,308).
Readers load one generation lock-free; writers clone-modify-store under a
parking_lot::Mutex that only serializes writers (unified.rs:312,379-398).DeploymentState) is plain
atomics with Relaxed ordering (deployment.rs:210-252); RoundRobin uses a
DashMap<String, AtomicUsize> of per-model counters (unified.rs:321).General
fallback list after retries are exhausted. Typed context-window, content-policy, and
rate-limit lists require explicit caller lookup/wiring today.Entry point Router::select_deployment_lease (selection.rs:95) delegates to
select_deployment_matching (selection.rs:226). The real flow:
resolve_model_name
(max MAX_ALIAS_HOPS = 16 hops, unified.rs:26).snapshot.model_index to get candidate DeploymentIds.Vec<RoutingContext> (strategy_impl.rs:17), skipping
deployments that are in cooldown (is_in_cooldown), unhealthy (is_healthy), at their
max_parallel_requests limit, or at their rpm_limit / tpm_limit
(selection.rs:287-344). Each context copies weight, priority,
active_requests, tpm_current/tpm_limit, rpm_current/rpm_limit, avg_latency_us.Router::select_from_routing_contexts dispatches on the configured strategy
(selection.rs:195-224):match strategy {
RoutingStrategy::SimpleShuffle => strategy_impl::weighted_random_from_context(routing_contexts),
RoutingStrategy::LeastBusy => strategy_impl::least_busy_from_context(routing_contexts),
RoutingStrategy::UsageBased => strategy_impl::lowest_usage_from_context(routing_contexts),
RoutingStrategy::LatencyBased => strategy_impl::lowest_latency_from_context(routing_contexts),
RoutingStrategy::PriorityBased => strategy_impl::lowest_priority_from_context(routing_contexts),
RoutingStrategy::RateLimitAware => strategy_impl::rate_limit_aware_from_context(routing_contexts),
RoutingStrategy::RoundRobin => strategy_impl::round_robin_from_context(
model_name, routing_contexts, round_robin_counters),
}try_reserve_deployment — an atomic increment of
active_requests (CAS loop when max_parallel_requests is set). If another caller
wins the last slot, that candidate is removed from the contexts and selection retries
(selection.rs:378-415).DeploymentLease; dropping it decrements active_requests (RAII release,
selection.rs:64-70). The deprecated ID-returning select_deployment still exists
but converts the lease to an ID without release-on-drop.Enum RoutingStrategy (src/core/router/config.rs:22-39) serializes as snake_case
(simple_shuffle, round_robin, least_busy, latency_based, priority_based,
usage_based, rate_limit_aware); PriorityBased also accepts the serde alias
"cost_based".
Weighted random selection: draws a point in 0..total_weight and walks candidates until
the cumulative weight covers it; uniform random when total weight is 0
(weighted_random_from_context, strategy_impl.rs:56-85). Weights come from
DeploymentConfig.weight (default 1).
Use when: general traffic where deployments have different capacity.
Per-model counter in round_robin_counters: DashMap<String, AtomicUsize> cycles through
candidate order (round_robin_from_context, strategy_impl.rs:247-274). Note the
defaults diverge: GatewayRouterConfig defaults to round_robin
(src/config/models/router.rs:48-50) while runtime RouterConfig defaults to SimpleShuffle.
Use when: predictable distribution needed, debugging provider issues.
Single pass for the fewest active_requests; ties are broken randomly with reservoir
sampling so equal-load deployments share traffic (least_busy_from_context,
strategy_impl.rs:88-116).
Use when: high concurrency, need to prevent deployment overload.
Lowest avg_latency_us wins. Deployments reporting 0 latency (no success yet) inherit
the average of non-zero latencies in the pool, so new deployments neither always win nor
starve (lowest_latency_from_context, strategy_impl.rs:145-182). Latency is recorded
per request via record_success into DeploymentState.avg_latency_us.
Use when: response time is critical, deployments have varying latencies.
Lowest priority value wins (lower = higher priority; u32, default 0). This is tier
ordering, not cost — despite the legacy "cost_based" serde alias
(lowest_priority_from_context, strategy_impl.rs:185-203).
Use when: primary/backup tiering, e.g. production vs backup deployments
(see gateway.yaml.example provider priority).
Lowest TPM usage percentage wins: (tpm_current * 100) / tpm_limit; deployments with no
limit count as 0% usage (lowest_usage_from_context, strategy_impl.rs:119-142).
Use when: spreading load relative to token budgets, avoiding TPM exhaustion.
Requires tpm to be configured on deployments to be meaningful.
Picks the deployment furthest from its rate limits: score is the minimum of remaining
TPM fraction and remaining RPM fraction; unlimited axes score 1.0
(rate_limit_aware_from_context, strategy_impl.rs:206-241).
Use when: high request volume against deployments with strict TPM/RPM limits.
router: YAML keys, gateway-to-runtime config mapping, and per-provider routing knobs© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files in .claude/skills/routing-architecture of majiayu000/litellm-rs.
Open the folder on GitHubat commit ed3f4d9
Routing Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Routing Architecture this skillmajiayu000/litellm-rs | 118 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Azure Resource Manager Mysql Dotnetmicrosoft/skills | 3.1k | 5 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Azure Resource Manager Postgresql Dotnetmicrosoft/skills | 3.1k | 5 repos | ~4k | Automated safety check: Pass | MIT | |
| LLM Gatewaysickn33/agentic-awesome-skills | 47k | 1 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Openrouter Fallback Configjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~2.4k | Automated safety check: Pass | MIT | |
| LLM GatewayBagelHole/DevOps-Security-Agent-Skills | 1.2k | — | ~2k | Automated safety check: Pass | MIT |
microsoft/skills
Azure MySQL Flexible Server SDK for .NET. An agent skill from microsoft/skills.
microsoft/skills
Azure PostgreSQL Flexible Server SDK for .NET. An agent skill from microsoft/skills.
sickn33/agentic-awesome-skills
Deploy an API gateway for LLM traffic with load balancing, rate limiting, key management, semantic caching, fallback routing, and cost tracking.
jeremylongshore/tons-of-skills-marketplace
Configure automatic model fallbacks for high availability on OpenRouter.
BagelHole/DevOps-Security-Agent-Skills
Deploy an API gateway for LLM traffic with load balancing, rate limiting, key management, semantic caching, fallback routing, and cost tracking.
GreptimeTeam/greptimedb
Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.
majiayu000/litellm-rs
LiteLLM-RS Authentication Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS Configuration Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS Error Handling Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS Observability Architecture. An agent skill from majiayu000/litellm-rs.
majiayu000/litellm-rs
LiteLLM-RS provider system in two tiers - data-driven OpenAI-compatible catalog entries auto-routed through OpenAILikeProvider, plus code-based provider modules implementing the LLMProvider trait…
Categories
LiteLLM-RS Routing Architecture. An agent skill from majiayu000/litellm-rs. Routing Architecture is an agent skill from majiayu000/litellm-rs. LiteLLM-RS Routing Architecture.
Routing Architecture fits situations like: tuning a routing strategy; configuring failover.
Run `npx skills add majiayu000/litellm-rs --skill routing-architecture -a claude-code`. Or copy the skill folder (.claude/skills/routing-architecture in majiayu000/litellm-rs) into .claude/skills/routing-architecture in your project. Claude Code loads it when a task matches its description.
Run `npx skills add majiayu000/litellm-rs --skill routing-architecture -a codex`. Or copy the skill folder (.claude/skills/routing-architecture in majiayu000/litellm-rs) into .agents/skills/routing-architecture in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/litellm-rs --skill routing-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/routing-architecture, .gemini/skills/routing-architecture, .github/skills/routing-architecture and .opencode/skills/routing-architecture in your project.
SKILL.md names no scripts, command-line tools or credentials: Routing Architecture is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Routing Architecture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Routing Architecture: Azure Resource Manager Mysql Dotnet (microsoft/skills, 3.1k stars), Azure Resource Manager Postgresql Dotnet (microsoft/skills, 3.1k stars), LLM Gateway (sickn33/agentic-awesome-skills, 47k stars) and Openrouter Fallback Config (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
majiayu000 (a GitHub user) maintains it in majiayu000/litellm-rs, which has 118 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 11, 2026.
Source: majiayu000/litellm-rs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.