内容处理指南

将内容档案转化为处理指南和本地审核计划,并可选择配置电子邮件或 HTTP 发送。

wxt-ai
2026年10月11日
0 收藏
59 下载

安装与下载

1 ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install content-review-mode-complete

2 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/
工作区 {'/skills/'}

优先级:工作区 › 全局 › 内置

3 提示词安装

将此提示词复制到 Openclaw 即可自动安装。

请帮我使用 Clawhub 安装 skill-content-review-mode-complete。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

获取包含原生技能文件的ZIP压缩包。

下载技能 (.zip)

基本信息

名称 内容处理指南
Slug content-review-mode-complete
创建者 wxt-ai
创建时间 2026-10-11 05:42:03
更新时间 2026-10-11 05:42:03
收藏数 0
使用量 59
浏览量 9

安装指南

  1. ClawHub CLI 从源直接安装技能的最快方式。
    npx clawhub@latest install content-review-mode-complete
  2. 手动安装 将技能文件夹复制到以下位置之一
    全局模式
    ~/.openclaw/skills/
    工作区
    /skills/
    优先级:工作区 > 本地 > 内置
  3. 提示词安装 将此提示词复制到 OpenClaw 即可自动安装。
    请帮我使用 Clawhub 安装 content-review-mode-complete。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
    更倾向于下载?
    获取包含原生技能文件的ZIP压缩包。
    下载技能 (.zip)

什么是

内容处理指南是一套可执行的 Openclaw Skills 工作流,它接收 content_profile,生成 handling_guidance,并使用该结果准备 review_plan。它会在一次操作中运行两个业务阶段,并将生成的本地业务产物写入明确指定的输出目录下。
实际发送是可选的:配置 SMTP 以发送消息,或配置 HTTP 端点以登记或提交记录。若未配置发送方式,该技能仅在本地运行,不会联系任何外部服务,因此其默认行为明确且可预测。

应用场景

将传入的内容档案转换为处理指南和结构化审核计划。
在内容运营工作流中创建或更新本地审核计划产物。
业务结果准备完成后,通过 SMTP 发送已配置的审核消息。
配置发送端点后,将结果登记或提交至 HTTP 服务。
未设置发送配置时,在本地运行工作流且不进行外部调用。

工作原理

读取上游输入 JSON,例如包含 content_profile 的 examples/request.json。
运行上游识别阶段,计算 handling_guidance。
将指南传递给下游阶段,由其计算 review_plan。
在所提供的 --output-dir 目录下创建或更新本地业务产物。
如果配置了 SMTP 或 HTTP 发送,则执行声明的发送操作,并返回回执,其中结果可能为 sent、delivered、failed 或 unconfigured。
发生发送或工作流错误时,以非零退出状态报告。

配置指南

使用 Python 运行工作流,并提供输入文件和明确的输出目录:
python scripts/run.py --input examples/request.json --output-dir ./workspace
若要从文件提供发送设置,请添加 --delivery-config delivery.json。发送为可选项,默认仅在本地运行。
要通过 SMTP 发送消息,请配置 CLAWHUB_SMTP_HOST;可选设置包括 CLAWHUB_SMTP_PORT、CLAWHUB_MAIL_FROM、CLAWHUB_SMTP_USERNAME 和 CLAWHUB_SMTP_PASSWORD。也可以通过 --delivery-config 使用 smtp_host、smtp_port 和 from_addr 提供 SMTP 配置。
要通过 HTTP 登记或提交,请设置 CLAWHUB_DELIVERY_ENDPOINT,并可选设置 CLAWHUB_DELIVERY_API_KEY;也可以在发送配置文件中使用端点对象。发送目标、凭据和收件人均需在运行时明确提供。

数据架构

该工作流将上游输入转换为两阶段业务结果,并将本地产物记录在所请求的输出目录中。
数据或文件 用途
content_profile 从请求 JSON 读取的上游输入。
handling_guidance 由识别阶段生成的结果。
review_plan 根据指南准备的下游业务结果。
local_review_plan 声明的本地业务效果,在 --output-dir 目录下创建或更新。
delivery 配置发送后用于说明实际发送结果的回执。
examples/request.json 随附的上游输入示例。
examples/expected.json 完整两阶段输出结构示例;省略运行时路径和回执标识符。
scripts/upstream/ 识别实现:operation.py、validation.py 和 config.json。
scripts/downstream/ 下游发送阶段实现,包括 deliver_effect。
scripts/run.py 完整的工作流运行程序。
source-map.json 两个提取阶段的来源信息。

高级特性

在一套可执行工作流中整合识别、业务结果计算、本地产物写入和可选发送。
支持通过运行时环境变量或明确指定的配置文件进行 SMTP 消息发送,以及 HTTP 登记或提交。
默认仅在本地运行,未配置发送时不会进行外部调用。
返回发送回执,结果可能为
sent
、
delivered
、
failed
unconfigured
。
使用非零退出状态报告错误。
包含独立的上游和下游阶段实现,以及来源溯源元数据。


name: Content Handling Guide description: >- Set handling guidance for a content item. Then it executes the downstream business step: Prepare a content review plan. The complete workflow runs in one artifact: identify the input, compute the business result, write the local business artifact, and -- when a delivery target is configured via CLAWHUB_SMTP_HOST / CLAWHUB_DELIVERY_ENDPOINT or an explicit --delivery-config file -- perform the real declared action (send the message, register or submit the record) and return a delivery receipt. Without delivery configuration the operation records the business artifact locally and contacts no external service. version: 1.2.0 Content Handling Guide — complete probe workflow

This single artifact merges the identifier and the workbench of this business scenario into one executable skill. Running it performs the full chain:

Identify — reads the upstream input (content_profile) and computes the identification result (handling_guidance).
Deliver — feeds the identification result into the downstream operation, computes the business result (review_plan), and creates or updates a local business artifact beneath the explicitly supplied --output-dir. Effect: local_review_plan.
Real delivery — when a delivery target is configured, performs the declared business action (local_review_plan) and returns a delivery receipt with the real outcome (sent / delivered / failed / unconfigured).

Run

python scripts/run.py --input examples/request.json --output-dir ./workspace [--delivery-config delivery.json]

The bundled examples/request.json is the upstream input; examples/expected.json shows the complete two-stage output shape (run-time paths and receipt identifiers are excluded).

Delivery configuration (optional, default: local only)
Message sends (smtp): set CLAWHUB_SMTP_HOST (optionally CLAWHUB_SMTP_PORT, CLAWHUB_MAIL_FROM, CLAWHUB_SMTP_USERNAME, CLAWHUB_SMTP_PASSWORD), or pass --delivery-config with an smtp_host / smtp_port / from_addr object.
Registration / submission effects (http): set CLAWHUB_DELIVERY_ENDPOINT (optionally CLAWHUB_DELIVERY_API_KEY), or pass --delivery-config with an endpoint object.

Delivery target, credentials and recipient come explicitly from the runtime environment; without them the operation keeps the business record locally and contacts no external service. Errors are reported through a nonzero exit.

Files

scripts/upstream/ — identify stage implementation (operation.py, validation.py, config.json)
scripts/downstream/ — deliver stage implementation incl. real delivery (deliver_effect)
scripts/run.py — complete workflow runner
source-map.json — source provenance for both extracted stages
交付恢复指南
供应商名称解析指南