安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install referral-handoff-packet-workbench
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-referral-handoff-packet-workbench。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
referral-handoff-packet-workbench
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install referral-handoff-packet-workbench - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 referral-handoff-packet-workbench。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
Referral Packet Desk 可为常规护理协调创建转诊交接资料包。提供包含转诊 ID、专科、紧急程度等级和所需时间范围的 referral_digest;此技能会返回一个包含资料包 ID、路由通道和字段的 referral_packet_id 对象。
作为 Openclaw Skills 之一,它会处理当前请求中提供的信息,不需要凭据或访问私有文件。默认情况下,它会创建或更新本地业务产物;明确配置交付方式后,它也可以执行指定的交付操作并返回回执。
应用场景
根据排程和协调详情准备转诊交接资料包。
将转诊摘要转换为资料包 ID、路由通道和结构化字段。
未配置交付服务时,创建本地转诊产物。
配置适当的交付目标后,发送、登记或提交转诊记录。
工作原理
准备一个包含 referral_id、specialty、urgency_band 和 requested_window 的 referral_digest 对象。
将请求保存为包含指定输入字段的 JSON,并使用 --input 提供其路径。
软件包会验证请求并执行转诊资料包操作。
操作会返回一个包含 packet_id、routing_lane 和 fields 的 referral_packet_id 对象,并在指定输出目录下创建或更新本地产物。
如果配置了交付目标,操作会执行指定的业务操作并返回交付回执;否则,不会联系任何外部服务。
检查命令结果:非零退出代码表示失败。
配置指南
使用 Python 3.10 或更高版本。从已安装的软件包目录运行操作;依赖仅限 Python 标准库。
将请求保存为 JSON,其中包含 referral_digest 输入字段,然后运行:
python scripts/run.py --input examples/request.json --output-dir ./workspace
将示例输入路径替换为实际请求的路径。操作会在明确指定的输出目录下写入本地业务产物。
如需实际交付,请配置相关交付目标:发送消息时设置 CLAWHUB_SMTP_HOST、CLAWHUB_SMTP_PORT 和 CLAWHUB_MAIL_FROM;执行登记或提交操作时设置 CLAWHUB_DELIVERY_ENDPOINT;或者传入明确的交付配置 JSON 文件。未配置交付方式时,此技能会在本地记录产物,不会联系任何外部服务。
数据架构
字段 预期值
referral_digest 包含 referral_id、specialty、urgency_band 和 requested_window 的对象
字段 返回值
referral_packet_id 包含 packet_id、routing_lane 和 fields 的对象
软件包会在提供的 --output-dir 目录下创建或更新本地业务产物。其实现位于 scripts/operation.py;输入和输出验证由 scripts/validation.py 处理;角色配置位于 scripts/config.json。随附的示例值和配置的本地记录有助于确保可复现性。配置的交付操作也可能返回交付回执。
高级特性
可选的实际交付:配置 SMTP 设置可发送消息,配置交付端点可执行登记或提交操作。
可通过 JSON 文件提供明确的交付配置。
配置的目标执行业务操作后,会返回交付回执。
未配置交付目标时,默认仅在本地运行;不会联系外部服务。
操作、验证和角色配置文件彼此独立,便于检查软件包工作流程。
仅使用 Python 标准库依赖,并提供随附示例以便可复现地执行。
name: referral-handoff-packet-workbench description: Create a referral handoff packet. version: 1.1.1 metadata: openclaw: skillKey: referral-handoff-packet-workbench
Referral Packet Desk
Use this skill for routine care coordination work when the user asks to create a referral handoff packet.
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: referral_digest
Referral digest prepared for scheduling and coordination.
Accepted value: object with referral_id, specialty, urgency_band, requested_window.
Output
Field: referral_packet_id
Return a concise referral packet id for the user's current request in the requested output field. The returned value is a object with packet_id, routing_lane, fields.
Example Request
Use the supplied referral_digest to create a referral handoff packet.
Return the result in referral_packet_id.
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_referral_packet_create.
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.
现场路线排序器
采购草稿工作台