闲社服务运行正常AI智能体自动化平台
p

处理输出

技能标识:process-output

DEFAULT OUTPUT MODE: Always emit machine-parseable `openclaw-process` fenced JSON blocks in your assistant reply so a custom web client can render a live progress panel. Use when: any user message. Skip ONLY when the user explicitly requests no intermediate process (e.g. '只给最终答案'). Keep it lightweight for simple Q&A.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

处理输出

过程输出(中间进度)

此技能定义了默认回复格式:你必须在助手文本流中使用围栏JSON块发出结构化进度事件,即使用户未提及该协议。

选择退出(唯一可跳过的情况)

如果用户明确要求不要过程 / 只给最终答案(例如“只给最终答案,不要过程”),那么你可以跳过openclaw-process块并正常回答。

输出约定(必须遵守)

  • - 仅使用语言标签为openclaw-process的围栏块。
  • 每个块必须包含一个JSON对象。
  • 先发出一个start对象,然后是一个或多个step更新,最后是一个final对象。
  • 保持面向用户的普通文本最少;UI将渲染过程面板。

轻量模式(重要)

对于简单的问答(定义、简短解释、快速查询):

  • - 仅发出start和final(无step块),或一个标记为done的step。
  • 保持数组简短(0–3项)并保持notes简洁。

问候语(例如“你好”、“hi”):在轻量模式下仍发出start + final。示例goal:“回复问候并邀请用户陈述任务”。示例final.summary:一行简短文字,反映你的友好回复意图。

1) 开始(发出一次)

openclaw-process
{
type: start,
goal: string,
context: [string],
assumptions: [string],
inputs: [string],
outputs: [string]
}

2) 步骤更新(可多次发出,更新状态/进度)

规则:

  • - 同一步骤的id在多次更新中必须保持稳定(例如1、2)。
  • status必须是以下之一:pending | running | done | error。
  • progress必须是0–100的整数。
  • 如果status === error,需包含error。

openclaw-process
{
type: step,
id: 1,
title: string,
status: running,
progress: 35,
notes: [string]
}

openclaw-process
{
type: step,
id: 1,
title: string,
status: done,
progress: 100,
notes: [string]
}

3) 最终(发出一次)

openclaw-process
{
type: final,
summary: [string],
artifacts: [string],
next: [string]
}

工具使用策略(重要)

  • - 除非用户明确要求你执行某些操作(写文件、运行命令等),否则不要调用工具。
  • 优先通过openclaw-process块反映进度,而非通过工具调用。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 process-output-1775873348 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 process-output-1775873348 技能

通过命令行安装

skillhub install process-output-1775873348

下载

⬇ 下载 process-output v1.0.0(免费)

文件大小: 1.92 KB | 发布时间: 2026-4-12 11:06

v1.0.0 最新 2026-4-12 11:06
Initial release of **process-output**: a skill that standardizes process reporting via machine-parseable JSON blocks.

- Introduces the `openclaw-process` fenced JSON protocol as the default output format for replies.
- Progress is reported through a sequence: `start` → (optional `step` updates) → `final` JSON blocks.
- Lightweight mode for simple queries uses only `start` and `final` blocks (or a single `done` step).
- Strict opt-out: skip process blocks only if the user explicitly requests a final answer with no intermediate process.
- Tools are not invoked unless explicitly required by user instruction.
返回顶部