360 Secure SkillHub
360 安全技能中心

cli-chat

该 Skill 说明如何使用 OmniRoute CLI 的 chat、repl 和 stream 子命令,发送聊天补全、流式输出与交互式会话,并支持模型、系统提示、combo 路由、文件或 stdin 输入及参数调节。依赖 npm 或 npx 安装 omniroute,材料未说明具体提供方配置或 API 密钥要求。

diegosouzapw
热度 0.00
最近更新 2026-10-19 02:16:22
分类:自动化依赖:代码执行 / 第三方 API / 内部调用大模型 / 读写文件应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add diegosouzapw/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]