cli-health
它能做什么
这项技能展示如何通过命令行检查 AI 网关服务器是否健康。适合需要快速状态检查、并实时查看问题的管理员。
适用场景
- ✓当用户询问服务器或网关是否健康的时候。
- ✓当用户想查看每个组件或提供商的状态的时候。
- ✓当用户想在监视问题时看到定时刷新的实时视图的时候。
技能链接
https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-health/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的 AI 网关健康吗?有没有提供商出了问题?”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能列出整体健康检查、组件列表、状态视图和实时监视模式的命令。实时监视会按你设定的间隔刷新。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Overview
Check server health, component status, and live metrics from the CLI. Run health, health components, and health watch for a real-time dashboard of circuit breakers and provider status.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
doctor
Flags:
--no-liveness--host <host>--liveness-url <url>
Example:
omniroute doctor
health
Flags:
-v, --verbose--json--alerts-only
Example:
omniroute health
health components
List health components and their status
Flags:
--alerts-only
Example:
omniroute health components
health watch
Live dashboard — refresh every N seconds
Flags:
--interval <s>
Example:
omniroute health watch
status
Show OmniRoute status dashboard
Flags:
-v, --verbose
Example:
omniroute status
常见问题
能只显示有问题的内容吗?
可以。health 和 components 命令都有仅显示警报的选项。
我能得到机器可读的输出吗?
可以。health 命令有 JSON 选项。
实时视图多久刷新一次?
你可以用 interval 选项以秒为单位设置刷新间隔。
详情
作者的原始描述
Check server health, component status, and live metrics from the CLI. Run `health`, `health components`, and `health watch` for a real-time dashboard of circuit breakers and provider status.
热度
- GitHub 星标
- 84k
- 排名
- #1404
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …