reorder-policy
Installation
SKILL.md
Reorder Policy
This skill encodes StockPilot's reorder rules. Use it whenever you need to decide whether to reorder a SKU and how many units to order.
Inputs you need
| Value | Where to get it |
|---|---|
on_hand |
Latest row for the SKU in /mnt/user/data/stock_levels.csv (sum across warehouses unless the task is warehouse-specific) |
reorder_point |
/mnt/user/data/products.csv |
avg_daily_sales |
Mean of units_sold over the last 14 days in /mnt/user/data/sales_history.csv |
lead_time_days |
From the chosen supplier (see the supplier-selection skill) |
forecast_qty, confidence, flags |
From the forecasting skill, only if the task looks forward more than 14 days or mentions a promo/season |