库存补货规划器

根据包含现有库存、补货点和安全库存的库存备注,计算补货数量。

wxt-ai
2026年10月8日
0 收藏
373 下载

安装与下载

1 ClawHub CLI

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

npx clawhub@latest install inventory-reorder-quantity-identifier

2 手动安装

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

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

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

3 提示词安装

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

请帮我使用 Clawhub 安装 skill-inventory-reorder-quantity-identifier。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

更倾向于下载?

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

下载技能 (.zip)

基本信息

名称 库存补货规划器
Slug inventory-reorder-quantity-identifier
创建者 wxt-ai
创建时间 2026-10-08 05:40:00
更新时间 2026-10-08 05:40:00
收藏数 0
使用量 373
浏览量 11

安装指南

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

什么是

库存补货规划器是一款用于日常库存规划的 Openclaw Skills 工具。提供包含 on_hand、reorder_point 和 safety_stock 的库存备注后,它会在请求的 quantity 输出字段中返回简洁的整数数量。
此技能仅处理当前请求中提供的信息。它不需要凭据或访问私有文件,不会进行外部通信,也不会持久化业务资料——因此,这是处理补货数量请求的一种专注且可复现的方式。

应用场景

在日常库存审核期间选择补货数量。
将库存备注或补货请求转换为整数
quantity
结果。
运行内置示例,以验证预期的请求格式和执行流程。
在不连接外部服务或共享私有文件的情况下进行库存规划。

工作原理

将 inventory_note 输入字段设为一个包含 on_hand、reorder_point 和 safety_stock 的对象。
此操作使用软件包的验证逻辑验证所提供的输入。
此技能根据当前请求计算所需的补货结果。
它在 quantity 输出字段中以整数形式返回结果。
报告实际命令输出以及(如有)其效果回执;非零退出状态表示失败。

配置指南

安装或访问技能软件包,然后使用 Python 3.10 或更高版本。将实际请求保存为包含已声明 inventory_note 输入字段的 JSON,并将文件路径传递给内置运行器。此软件包仅使用 Python 标准库依赖项。
python --version
python scripts/run.py --input examples/request.json
内置请求展示了预期的输入格式。运行自己的库存规划任务时,请将其替换为包含当前请求的 JSON 文件。

数据架构

此技能接受请求数据并返回结果;它不会持久化业务资料。
字段 角色 预期内容
inventory_note 输入 包含 on_hand、reorder_point 和 safety_stock 的对象
quantity 输出 整数补货数量
软件包文件包括用于执行操作的 scripts/operation.py、用于输入/输出验证的 scripts/validation.py、用于角色配置的 scripts/config.json,以及作为内置示例的 examples/request.json。内置示例值和已配置的本地记录有助于确保可复现性。

高级特性

仅执行其声明的操作,不进行外部通信或持久化。
通过分离操作、验证和角色配置文件,采用清晰的软件包结构。
包含内置示例和已配置的本地记录,以便复现运行结果。
无需第三方 Python 依赖项;使用 Python 3.10+ 标准库即可。
报告命令输出和任何可用的效果回执;非零退出代码表示失败。


name: inventory-reorder-quantity-identifier description: Select a replenishment quantity. version: 1.1.1 metadata: openclaw: skillKey: inventory-reorder-quantity-identifier

Stock Replenishment Planner

Use this skill for routine inventory planning work when the user asks to select a replenishment quantity.

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_note

Inventory review, stock note, or replenishment request.

Accepted value: object with on_hand, reorder_point, safety_stock.

Output

Field: quantity

Return a concise quantity for the user's current request in the requested output field. The returned value is a integer.

Example Request

Use the supplied inventory_note to select a replenishment quantity.
Return the result in quantity.

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.

优先级排序
容量台账工作台