/install amazon-inventory-forecast
Amazon Inventory Forecast
FBA inventory intelligence — know exactly when to reorder and how much to order before you stock out or overstock.
Provide your sales data, lead time, and current stock levels. The agent calculates reorder points, EOQ, stockout risk windows, and storage fee exposure.
Commands
forecast add \x3Csku> # add a SKU to track with sales and lead time data
forecast check # run forecast update on all tracked SKUs
forecast reorder point # calculate reorder point for each SKU
forecast eoq # calculate economic order quantity
forecast stockout risk # identify SKUs at risk of stocking out
forecast overstock risk # identify SKUs at risk of long-term storage fees
forecast report # full inventory health report
forecast save # save all SKU data and forecasts to workspace
What Data to Provide
The agent works with:
- SKU + sales data — "SKU: B-RED-LG, sold 240 units last 30 days, currently 180 units on hand"
- Lead time — "supplier takes 25 days to ship, FBA check-in adds 5 days"
- Storage cost — monthly FBA storage fee rate (standard or oversized)
- Unit cost — your landed cost per unit (for EOQ calculation)
- Seasonal notes — "Q4 demand doubles, Prime Day adds ~3x spike"
No integrations needed. Paste your data directly.
Workspace
Creates ~/amazon-inventory/ containing:
skus.md— tracked SKUs with sales history and parametersforecasts/— generated forecast reports per SKUalerts.md— stockout and overstock alert logreorder-log.md— history of reorder recommendations made
Analysis Framework
1. Sales Velocity Calculation
- Compute average daily sales from 30-day, 60-day, and 90-day windows
- Weight recent data more heavily: 30-day gets 50%, 60-day gets 30%, 90-day gets 20%
- Weighted daily sales = (30d avg × 0.5) + (60d avg × 0.3) + (90d avg × 0.2)
- Flag: high variance between windows — demand is trending up or down
- Flag: 30d velocity >20% above 90d average — demand acceleration detected
2. Lead Time Buffer Calculation
- Total lead time = supplier processing + shipping transit + FBA check-in buffer
- Default FBA check-in buffer: 7 days (use 10 days during Oct–Dec peak season)
- Safety stock formula: Safety Stock = Z-score × σ(daily demand) × √(lead time)
- Conservative Z-score = 1.65 (95% service level); aggressive = 1.28 (90%)
- Minimum safety stock: 14 days of average daily sales
3. Reorder Point Formula
- Reorder Point = (Average Daily Sales × Total Lead Time) + Safety Stock
- Example: 8 units/day × 30 days lead time + 56 units safety stock = 296 units
- Express reorder point both in units and in days-of-stock-remaining
- Show the calculation explicitly so sellers can verify inputs
4. EOQ Formula (Economic Order Quantity)
- EOQ = √(2DS / H)
- D = annual demand (units/year)
- S = order cost per purchase order (shipping + prep + admin, typically $50–$200)
- H = annual holding cost per unit (FBA storage fee × 12 + opportunity cost)
- Round EOQ up to nearest full case pack quantity
- Show sensitivity analysis: EOQ at ±20% demand change
5. Storage Fee Avoidance
- FBA long-term storage fee triggers: units stored >365 days
- Q4 surcharge period: Oct 1 – Dec 31 (higher monthly rates)
- Q4 inventory removal deadline: recommend sending final Q4 shipment no later than Sept 15
- Overstock flag: current inventory > 180 days of supply at current velocity
- Compute projected months-of-supply: Current Stock / (Daily Sales × 30)
6. Demand Seasonality Adjustments
- Apply seasonal multipliers when user provides them
- Common multipliers: Q4 holiday = 1.5–3x, Prime Day = 2–4x (48-hour window), Back-to-school = 1.2–1.5x
- Adjusted forecast = base velocity × seasonal multiplier
- For Q4 planning: build to cover Oct 1 – Dec 31 + post-holiday return buffer
- Flag: if current stock will not cover a known seasonal spike, surface reorder urgency
Reorder Decision Output
Every forecast check shows per SKU:
| SKU | Daily Sales | Days of Stock | Reorder Point | EOQ | Status |
|---|---|---|---|---|---|
| ... | ... | ... | ... | ... | OK / REORDER NOW / URGENT |
Status levels:
- OK — days of stock > reorder point days
- REORDER SOON — within 14 days of reorder point
- REORDER NOW — at or below reorder point
- URGENT — less than lead time days of stock remaining (stockout imminent)
Rules
- Always collect lead time before computing reorder points — the formula is useless without it
- Never recommend a reorder quantity below one full case pack — partial cases create receiving complications at FBA
- Flag all assumptions explicitly — if the user has not provided 90-day sales data, state which averages were used
- Apply Q4 seasonality adjustments automatically for any forecast that spans October–December
- Show the full math for every EOQ and reorder point calculation — sellers need to verify with their own numbers
- Distinguish between units currently at FBA and units in transit — both count toward days-of-supply
- Save updated forecasts to
~/amazon-inventory/forecasts/on everyforecast savecall
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install amazon-inventory-forecast - 安装完成后,直接呼叫该 Skill 的名称或使用
/amazon-inventory-forecast触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Amazon Inventory Forecast 是什么?
Amazon inventory forecasting agent. Calculates optimal reorder points and quantities from sales velocity, lead time, and storage costs — tells sellers exactl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 460 次。
如何安装 Amazon Inventory Forecast?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install amazon-inventory-forecast」即可一键安装,无需额外配置。
Amazon Inventory Forecast 是免费的吗?
是的,Amazon Inventory Forecast 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Amazon Inventory Forecast 支持哪些平台?
Amazon Inventory Forecast 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Amazon Inventory Forecast?
由 mguozhen(@mguozhen)开发并维护,当前版本 v1.0.0。