安装与下载
1 ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install inventory-fulfillment-reservation-identifier
2 手动安装
将技能文件夹复制到以下位置之一
~/.openclaw/skills/
{'/skills/'}
优先级:工作区 › 全局 › 内置
3 提示词安装
将此提示词复制到 Openclaw 即可自动安装。
请帮我使用 Clawhub 安装 skill-inventory-fulfillment-reservation-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
基本信息
inventory-fulfillment-reservation-identifier
安装指南
- ClawHub CLI
从源直接安装技能的最快方式。
npx clawhub@latest install inventory-fulfillment-reservation-identifier - 手动安装
将技能文件夹复制到以下位置之一
全局模式
~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置 - 提示词安装
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 inventory-fulfillment-reservation-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
更倾向于下载?
获取包含原生技能文件的ZIP压缩包。
下载技能 (.zip)
什么是
批次分配规划器是一项用于日常履约规划的 Openclaw Skills 操作。它接受一个结构化的 inventory_lots_json 请求,其中包含请求标识符、请求数量和可用批次,然后在 allocation_plan 字段中返回结果。
此技能执行专注的计算,无需凭证、私人文件、外部通信或持久化业务存储。它适用于可重现的库存分配工作流程,当前请求会包含所有必需信息。
应用场景
使用提供的库存数据为履约请求规划批次分配。
确定如何将请求数量分配到可用库存批次。
识别分配规划后仍未满足的数量。
在本地运行可重复的履约操作,无需凭证或访问外部系统。
验证结构化库存规划请求,并返回机器可读的业务结果。
工作原理
接收当前请求,其中包含已声明的 inventory_lots_json 输入字段。
验证输入是否为包含 request_id、requested_quantity 和 lots 的对象。
根据请求的履约数量处理提供的库存批次信息。
生成一个 allocation_plan 对象,其中包含请求标识符、分配结果和未满足的数量。
返回计算结果,不持久化业务产物,也不与外部服务通信。
通过随附的运行器执行时,报告命令输出和任何可用的效果回执;非零退出代码表示失败。
配置指南
无需凭证、私人文件、外部服务或第三方 Python 软件包。请从已安装的软件包目录使用 Python 3.10 或更高版本。
创建一个包含已声明 inventory_lots_json 字段的 JSON 请求,然后运行随附操作:
python scripts/run.py --input examples/request.json
实现位于 scripts/operation.py;输入和输出验证由 scripts/validation.py 处理;角色配置定义在 scripts/config.json 中。该软件包仅使用 Python 标准库依赖项。随附示例和已配置的本地记录支持可重现的执行。
数据架构
字段 类型 描述
inventory_lots_json 对象 为履约规划提供的库存批次和请求数量。
request_id 在输入对象中声明 标识当前履约规划请求。
requested_quantity 在输入对象中声明 请求履约的数量。
lots 在输入对象中声明 用于制定计划的库存批次数据。
字段 类型 描述
allocation_plan 对象 当前请求的计算结果。
request_id 在输出对象中声明 将请求标识符带入结果。
allocations 在输出对象中声明 计划的批次分配结果。
unfilled_quantity 在输出对象中声明 分配计划完成后剩余的数量。
此操作不会持久化业务产物。运行时实现、验证和角色配置分别位于 scripts/operation.py、scripts/validation.py 和 scripts/config.json。
高级特性
对已声明操作进行严格的输入和输出验证。
仅使用 Python 标准库依赖项进行本地、可重现的执行。
随附示例和已配置的本地记录,支持重复测试。
执行生成回执时报告效果回执。
不进行外部通信,不需要凭证,也不持久化业务产物。
软件包行为专注,仅执行已声明的履约分配操作,适用于受控的 Openclaw Skills 工作流程。
name: inventory-fulfillment-reservation-identifier description: Plan a lot allocation. version: 1.1.1 metadata: openclaw: skillKey: inventory-fulfillment-reservation-identifier
Lot Allocation Planner
Use this skill for routine fulfillment operations work when the user asks to plan a lot allocation.
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: inventory_lots_json
Inventory lots and requested quantity supplied for fulfillment planning.
Accepted value: object with request_id, requested_quantity, lots.
Output
Field: allocation_plan
Return a concise allocation plan for the user's current request in the requested output field. The returned value is a object with request_id, allocations, unfilled_quantity.
Example Request
Use the supplied inventory_lots_json to plan a lot allocation.
Return the result in allocation_plan.
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
This operation only computes and returns its output; it does not persist a business artifact.
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. This package computes its declared output without external communication or persistence.
工作区访问清单工作台
利益相关方指标摘要