安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install metric-stakeholder-digest-workbench
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-metric-stakeholder-digest-workbench。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
metric-stakeholder-digest-workbench
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install metric-stakeholder-digest-workbench - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 metric-stakeholder-digest-workbench。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
利益相关方指标摘要是用于常规分析报告的 Openclaw Skills 工具。提供包含标识符、初始值、最新值、变化量、平均值和趋势方向的指标摘要;该技能会返回包含 HTML 报告的简洁摘要文件。
它会处理当前请求中提供的信息,无需凭证,也无需访问私有文件。默认情况下,它会在本地保存业务文件;只有配置了发送目标时,才会进行外部发送。
应用场景
为业务利益相关方准备定期指标更新。
在可分享的摘要中概述指标的初始值、最新值、变化量、平均值和趋势方向。
根据结构化分析摘要生成本地 HTML 报告文件。
配置获授权的发送目标后,发送或提交生成的业务文件。
工作原理
提供包含 metric_id、first、latest、delta、mean 和 direction 的 metric_digest 输入对象。
软件包会验证请求并运行其声明的指标摘要操作。
该操作会在明确提供的输出目录下创建或更新本地业务文件。
结果会在 digest_artifact 中返回,其中包含 digest_id、metric_id 和 html。
如果配置了发送设置,该操作会执行声明的发送、登记或提交操作,并返回发送回执;否则不会联系任何外部服务。
配置指南
使用 Python 3.10 或更高版本。在已安装的软件包目录中,将请求保存为包含已声明 metric_digest 输入字段的 JSON 文件,然后将其路径传递给运行器并选择输出目录:
python scripts/run.py --input examples/request.json --output-dir ./workspace
附带的示例展示了输入格式。无需安装第三方 Python 依赖项。仅在需要外部发送或提交时配置发送方式:发送消息时设置 CLAWHUB_SMTP_HOST、CLAWHUB_SMTP_PORT 和 CLAWHUB_MAIL_FROM;进行登记和提交操作时设置 CLAWHUB_DELIVERY_ENDPOINT;或者提供明确指定的 --delivery-config JSON 文件。检查命令输出和任何发送回执;非零退出代码表示失败。
数据架构
该技能接受结构化指标摘要,并返回摘要文件。
字段 用途
输入:metric_digest.metric_id 标识该指标。
输入:metric_digest.first 指标初始值。
输入:metric_digest.latest 指标最新值。
输入:metric_digest.delta 数值之间的变化量。
输入:metric_digest.mean 指标平均值。
输入:metric_digest.direction 指标趋势方向。
输出:digest_artifact.digest_id 标识生成的摘要。
输出:digest_artifact.metric_id 将文件与其指标关联起来。
输出:digest_artifact.html 包含面向利益相关方的 HTML 摘要。
运行器会在指定的 --output-dir 目录下写入或更新本地业务文件。附带的示例值和已配置的本地记录有助于确保结果可复现。软件包的实现在 scripts/operation.py 中,输入和输出验证在 scripts/validation.py 中,角色配置在 scripts/config.json 中。
高级特性
运行范围明确声明的
local_metric_digest_render
操作,无需访问私有文件或外部分析系统。
仅使用 Python 标准库依赖项,提供轻量级本地执行方式。
支持通过已配置的 SMTP 设置、发送端点或明确指定的发送配置文件进行可选的实际发送。
执行已配置的发送操作时返回发送回执;未配置发送方式时,会在本地记录文件,且不会联系任何外部服务。
报告实际命令输出;非零退出状态表示操作失败。
name: metric-stakeholder-digest-workbench description: Build a stakeholder metric digest. version: 1.1.1 metadata: openclaw: skillKey: metric-stakeholder-digest-workbench
Stakeholder Metric Digest
Use this skill for routine analytics reporting work when the user asks to build a stakeholder metric digest.
It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.
Input
Field: metric_digest
Structured metric summary prepared for stakeholder reporting.
Accepted value: object with metric_id, first, latest, delta, mean, direction.
Output
Field: digest_artifact
Return a concise digest artifact for the user's current request in the requested output field. The returned value is a object with digest_id, metric_id, html.
Example Request
Use the supplied metric_digest to build a stakeholder metric digest.
Return the result in digest_artifact.
Bundled execution
Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.
python scripts/run.py --input examples/request.json --output-dir ./workspace
This operation computes its output and creates or updates a local business artifact beneath the explicitly supplied --output-dir. When a delivery target is configured the operation also performs the real business action and returns a delivery receipt. Effect: local_metric_digest_render.
Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.
The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. Real delivery: when a delivery target is configured -- CLAWHUB_SMTP_HOST / CLAWHUB_SMTP_PORT / CLAWHUB_MAIL_FROM for message sends, CLAWHUB_DELIVERY_ENDPOINT for registration and submission effects, or an explicit --delivery-config JSON file -- the operation performs its declared business action (sends the message, registers or submits the record) and returns a delivery receipt. Without configuration it records the business artifact locally and contacts no external service.
批次分配规划器