Install
openclaw skills install yufluentcn-inventory-pilot库存驾驭助手:销量预测、补货建议、滞销预警、资金占用分析。 基于卖家提供的销量/库存数据,经 Yufluent 云端 Harness 输出结构化 JSON。 Use for 补货、库存预测、滞销、清仓、资金占用、库存管理.
openclaw skills install yufluentcn-inventory-pilot基于卖家提供的 销量/库存数据 做预测、补货建议、滞销预警与资金占用分析。ClawHub / OpenClaw 云端模式 — Harness inventory_forecast 输出结构化 JSON;本机只需 TOKENAPI_KEY(tk-*)与 requests。
不直连 ERP、不自动下单、不连接平台 API。
还没注册?前往 https://claw.changzhiai.com/login 免费获取密钥。
OpenClaw 对话与技能调用共用同一 tk-*。接入见 https://claw.changzhiai.com/app/openclaw。
| 层 | 走哪里 | 干什么 |
|---|---|---|
| OpenClaw 对话 | Yufluent /v1/chat/completions(同一 tk-*) | 收集销量/库存数据、选模式、调 run.py、解读 JSON |
| 分析正式输出 | POST /v1/skills/inventory-pilot/run(同一 tk-*) | Harness → 预测/补货/滞销 JSON |
Agent 硬性规则:
python scripts/run.py ... 获取输出TOKENAPI_KEY,不要另配厂商 Keyreplenish;"预测销量" → forecast。--message(必填):本轮问题--mode:forecast | replenish | clearance | capital--sales-data:历史销量 CSV 或文件路径--current-stock:当前库存(如 SKU-A:120, SKU-B:45)--inventory-data:库存明细(含库龄)--lead-time:供应商交期(天)--transit-days:头程时效(天)python scripts/run.py \
--mode replenish \
-m "帮我算要不要补货" \
--sales-data sales.csv \
--current-stock "SKU-A:120, SKU-B:45" \
--lead-time 21 \
--transit-days 14 \
--lang zh
| mode | 用途 | 必填数据 |
|---|---|---|
forecast | 销量预测 | sales_data |
replenish | 补货建议 | sales_data, current_stock |
clearance | 滞销预警与清仓建议 | inventory_data |
capital | 资金占用分析 | inventory_data |
| 需求 | 技能 |
|---|---|
| 清仓促销 Listing | yufluentcn-ecommerce-listing |
| 竞品变化 → 补货节奏调整 | yufluentcn-comp-track |
| 变量 | 必填 | 说明 |
|---|---|---|
TOKENAPI_KEY | 是 | tk-*,Yufluent 控制台 获取 |
TOKENAPI_BASE_URL | 否 | 默认 http://localhost:8080/v1 |
补货建议
python scripts/run.py \
--mode replenish \
-m "SKU-A 日均卖15件,当前库存120,要不要补?" \
--sales-data sales.csv \
--current-stock "SKU-A:120, SKU-B:45" \
--lead-time 21 \
--transit-days 14 \
--lang zh
滞销预警
python scripts/run.py \
--mode clearance \
-m "哪些 SKU 超过90天没动销?" \
--inventory-data inventory.csv \
--age-threshold "90" \
--lang zh
销量预测
python scripts/run.py \
--mode forecast \
-m "预测未来30天销量" \
--sales-data sales.csv \
--lang zh
| 版本 | 日期 | 变更 |
|---|---|---|
| v1.1.0 | 2026-06-14 | SKILL.md added quickstart registration guide; 401/402 error messages now in Chinese with register links |
| v1.0.0 | 2026-06-13 | 规范 SKILL.md:补充 Agent 规则、Instructions、触发词、示例、环境变量、合规、版本记录 |
| v0.1.0 | — | 初始库存驾驭技能 |