跳到正文
Skillpedia
部署与云(DevOps)84k · #1404

cli-health

它能做什么

这项技能展示如何通过命令行检查 AI 网关服务器是否健康。适合需要快速状态检查、并实时查看问题的管理员。

适用场景

  • ✓当用户询问服务器或网关是否健康的时候。
  • ✓当用户想查看每个组件或提供商的状态的时候。
  • ✓当用户想在监视问题时看到定时刷新的实时视图的时候。

技能链接

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-health/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-health/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的 AI 网关健康吗?有没有提供商出了问题?”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能列出整体健康检查、组件列表、状态视图和实时监视模式的命令。实时监视会按你设定的间隔刷新。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

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.

repo: cheaper-inference/OmniRoute

热度

GitHub 星标
84k
排名
#1404
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能