360 Secure SkillHub
360 安全技能中心

cli-chat

该 Skill 通过 omniroute CLI 提供聊天补全、流式响应和交互式 REPL,支持系统提示词、模型或组合路由、文件或标准输入、历史控制及保存输出;不包含模型服务或提供商凭据。

分类:效率
cheaper-inference
热度 0.00
最近更新 2026-11-06 05:37:06

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add cheaper-inference/omniroute/cli-chat
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
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]