chat
GitHub通过ZeroGPU调用gpt-oss-120b模型进行对话回复,适用于长文档、多步指令及复杂通用知识问答。支持自动处理Shell元字符,提供备用路由选择,并可选附带节省信息。
Trigger Scenarios
Install
npx skills add zerogpu/zerogpu-router --skill chat -g -y
SKILL.md
Frontmatter
{
"name": "chat",
"description": "Chat reply via ZeroGPU's default model, gpt-oss-120b (120B MoE, 131K context). Use when the user wants an answer from a ZeroGPU model rather than Claude, including longer documents, multi-step instructions, and harder general-knowledge questions.",
"allowed-tools": "Bash(zerogpu chat_completions *)",
"argument-hint": "<text>"
}
Call the ZeroGPU chat model. $ARGUMENTS is the raw prompt. Pass it verbatim, with no escaping or quoting required (the heredoc below handles every shell metacharacter, newline, quote, and paren safely):
zerogpu chat_completions -m gpt-oss-120b <<'ZGPU_END_OF_INPUT'
$ARGUMENTS
ZGPU_END_OF_INPUT
Output is the assistant's answer as plain text. The model also produces a reasoning trace, which the Chat Completions response carries separately, so only the final answer is printed. Relay that answer as-is, without rewriting or expanding it.
For a faster, cheaper reply where quality matters less, use /zerogpu-router:chat-liquid (LFM2.5-1.2B-Instruct). For a visible reasoning trace, use /zerogpu-router:chat-thinking. For multilingual prompts, use /zerogpu-router:chat-qwen. When the input does not fit in this model's 131K context, use /zerogpu-router:chat-deepseek for code and agentic work, or /zerogpu-router:chat-glm for the most capable option — deepseek-v4-flash-0731 carries a 1M-token context and glm-5.2 a 262K one, and glm-5.2 costs roughly 7x this skill.
Savings note: only if the command output literally contains a line starting with 💰 ZeroGPU savings, append that exact line, unchanged, as the last line of your reply. If no such line is present, say nothing about savings and do not mention or suggest /zerogpu-router:cost-savings. This note is intentionally occasional, not shown every time.
Version History
-
4e1b070
Current 2026-09-22 08:06
v3.0.0同步模型与Dashboard API,更新模型参数、价格及上下文窗口限制;移除follow-ups技能;CLI命令重构为通用的chat_completions端点。
-
87b63e9
2026-08-27 16:48
修正了 glm-5.2 相对于 chat 的成本倍数说明(从 20x 更正为约 7x),并同步更新了相关价格信息。
-
cee9321
2026-08-02 21:14
将默认聊天模型从LFM2.5-1.2B-Instruct更新为gpt-oss-120b;移除chat-gpt-oss技能;新增chat-deepseek和chat-glm技能以支持百万级token上下文。
- 7b9b503 2026-07-24 11:47


