Higress is a cloud-native API gateway built on Istio and Envoy that routes and manages APIs and can be extended with WebAssembly plugins. It is used to manage APIs for AI models and MCP servers as well as general services, and the catalogue entries provide agent workflows and integrations for operating it.
Borrowing it
Nothing to install: this file belongs to higress-group/higress. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/higress-group/higress/main/.agents/skills/higress-auto-router/SKILL.mdgit clone --depth 1 https://github.com/higress-group/higressWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/higress-group/higress/higress-auto-router)<a href="https://agentmods.dev/skills/higress-group/higress/higress-auto-router"><img src="https://agentmods.dev/badge/skills/higress-group/higress/higress-auto-router/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/higress-group/higress/higress-auto-router"><img src="https://agentmods.dev/badge/skills/higress-group/higress/higress-auto-router.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.01082 |
| Opus 5 | $0.00044 | $0.00541 |
| Sonnet 5 | $0.00018 | $0.00216 |
| Haiku 4.5 | $0.00009 | $0.00108 |
Grade A, and why
higress-auto-router scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Higress Auto Router
Configure automatic model routing using the get-ai-gateway.sh CLI tool for intelligent model selection based on message content triggers.
Prerequisites
- Higress AI Gateway running (container name:
higress-ai-gateway) - get-ai-gateway.sh script downloaded
CLI Commands
Add a Routing Rule
./get-ai-gateway.sh route add --model <model-name> --trigger "<trigger-phrases>"
Options:
--model MODEL(required): Target model to route to--trigger PHRASE: Trigger phrase(s), separated by|(e.g.,"深入思考|deep thinking")--pattern REGEX: Custom regex pattern (alternative to--trigger)
Examples:
# Route complex reasoning to Claude
./get-ai-gateway.sh route add \
--model claude-opus-4.5 \
--trigger "深入思考|deep thinking"
# Route coding tasks to Qwen Coder
./get-ai-gateway.sh route add \
--model qwen-coder \
--trigger "写代码|code:|coding:"
# Route creative writing
./get-ai-gateway.sh route add \
--model gpt-4o \
--trigger "创意写作|creative:"
# Use custom regex pattern
./get-ai-gateway.sh route add \
--model deepseek-chat \
--pattern "(?i)^(数学题|math:)"
List Routing Rules
./get-ai-gateway.sh route list
Output:
Default model: qwen-turbo
ID Pattern Model
----------------------------------------------------------------------
0 (?i)^(深入思考|deep thinking) claude-opus-4.5
1 (?i)^(写代码|code:|coding:) qwen-coder
Remove a Routing Rule
./get-ai-gateway.sh route remove --rule-id <id>
Example:
# Remove rule with ID 0
./get-ai-gateway.sh route remove --rule-id 0
Common Trigger Mappings
| Scenario | Suggested Triggers | Recommended Model |
|---|---|---|
| Complex reasoning | 深入思考|deep thinking |
claude-opus-4.5, o1 |
| Coding tasks | 写代码|code:|coding: |
qwen-coder, deepseek-coder |
| Creative writing | 创意写作|creative: |
gpt-4o, claude-sonnet |
| Translation | 翻译:|translate: |
gpt-4o, qwen-max |
| Math problems | 数学题|math: |
deepseek-r1, o1-mini |
| Quick answers | 快速回答|quick: |
qwen-turbo, gpt-4o-mini |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 140 lines · 88 tokens per session scan A 771ed634fa08
higress-auto-router is a skill published in the GitHub repository higress-group/higress (9,365 stars, last pushed yesterday), licensed Apache-2.0. It adds 88 tokens to every session and 1,082 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
omni-inference
The core OpenAI-compatible inference endpoints: chat completions, embeddings, images, audio (TTS/STT), moderations, rerank, and the Responses API. The primary integration surface for AI agents.
omni-compression
Configure RTK (command output), Caveman (prose), and stacked compression modes. Manage language packs, custom rules, and test prompt compression reducing tokens by 60–90%.
cli-eval
Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.
cli-batches
Submit and monitor batch inference jobs from the CLI. Upload and manage files for batch processing, retrieve results, and integrate batch pipelines with CI/CD workflows.
omni-cache
Manage the LLM response cache. View cache statistics, clear entries, configure TTL policies, and control semantic-similarity caching thresholds.
omni-models
Query available AI models across all configured providers. List models, resolve model aliases, and browse the full model catalog including provider-specific variants.