360 Secure SkillHub
360 安全技能中心

Stock Replenishment Planner

典型适用场景为日常库存规划中确定补货数量的工作,无需凭证或私有文件访问权限。输入为包含在手库存、再订货点、安全库存字段的inventory_note对象,经计算输出整数型补货数量。支持Python3.10+本地运行,无外部通信、不持久化数据,运行失败返回非零退出码。

wxt-ai
wxt-ai
热度 41.39
最近更新 2026-10-05 21:29:45
分类:数据依赖:代码执行应用场景:数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add inventory-reorder-quantity-identifier
Metadata
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.