chat
GitHub调用ZeroGPU的gpt-oss-120b模型进行高质量聊天回复,支持长上下文和复杂指令。适用于需要比本地模型更强能力的场景,自动处理输入转义并输出纯文本答案。
Trigger Scenarios
Install
npx skills add zerogpu/zerogpu-router --skill chat -g -y
SKILL.md
Frontmatter
{
"name": "chat",
"metadata": {
"openclaw": {
"install": [
{
"bins": [
"zerogpu"
],
"kind": "node",
"package": "zerogpu-cli"
}
],
"requires": {
"bins": [
"zerogpu"
]
}
}
},
"description": "Chat reply via ZeroGPU's default model, gpt-oss-120b (117B MoE, 131K context). Use when the user wants an answer from a ZeroGPU model rather than the host model, including longer documents, multi-step instructions, and harder general-knowledge questions. Optional system instructions via -i.",
"allowed-tools": "Bash(zerogpu chat *)",
"argument-hint": "<text> [-i <instructions>]"
}
Sends your input to ZeroGPU's hosted API for inference. This is not local processing. Don't pass secrets, credentials, or regulated data you aren't cleared to share with a third party. See the plugin README's "Data & privacy" section.
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):
ZGPU_TEXT=$(cat <<'ZGPU_END_OF_INPUT'
$ARGUMENTS
ZGPU_END_OF_INPUT
)
zerogpu chat "$ZGPU_TEXT" -m gpt-oss-120b
If the user supplied system instructions, append -i "<instructions>" after the model flag.
Output is the assistant's answer as plain text. The model also produces a reasoning trace; this skill omits the CLI's -r flag 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 the chat-liquid skill (LFM2.5-1.2B-Instruct). For a visible reasoning trace, use chat-thinking. For multilingual prompts, use chat-qwen. When the input does not fit in this model's 131K context, use chat-deepseek for code and agentic work, or chat-glm for the largest and most capable option — both carry a 1M-token context, and glm-5.2 costs roughly 20x 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 the cost-savings skill. This note is intentionally occasional, not shown every time.
Version History
-
cee9321
Current 2026-08-02 21:15
将默认模型更新为gpt-oss-120b,原边缘模型功能移至chat-liquid;新增chat-glm和chat-deepseek技能以支持百万级上下文窗口。
- 7b9b503 2026-07-24 11:48


