返回顶部
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
安全检测
已通过
96
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

process-output

过程输出(中间进度)

此技能定义了默认回复格式:你必须在助手文本流中使用围栏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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部