Agent Skills
› cheaper-inference/OmniRoute
› cli-chat
cli-chat
GitHub提供CLI工具omniroute,支持通过chat、repl和stream子命令发送聊天请求、流式响应及交互式会话。兼容OmniRoute多提供商、组合路由及系统提示词配置,便于开发者在终端快速调用AI能力。
触发场景
需要在命令行进行AI对话或测试模型输出
需要启动交互式REPL与AI持续交互
需要以流式方式获取AI响应
安装
npx skills add cheaper-inference/OmniRoute --skill cli-chat -g -y
SKILL.md
Frontmatter
{
"name": "cli-chat",
"description": "Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration."
}
Overview
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
chat [prompt]
Flags:
--file <path>--stdin-s, --system <prompt>-m, --model <id>--max-tokens <n>--temperature <t>--top-p <p>--reasoning-effort <level>--thinking-budget <tokens>--combo <name>--responses-api--stream--no-history
Example:
omniroute chat [prompt]
repl
Flags:
-m, --model <id>--combo <name>-s, --system <prompt>--resume <session>
Example:
omniroute repl
stream [prompt]
Flags:
--file <path>--stdin-m, --model <id>-s, --system <prompt>--combo <name>--max-tokens <n>--responses-api--raw--debug--save <path>
Example:
omniroute stream [prompt]
版本历史
- 1cafd32 当前 2026-07-25 11:46


