Xpersona
I

Inventory Forecast

CLAWHUB · Unverified

Project inventory needs based on historical order velocity, seasonality, supplier lead times, and planned promotions so you reorder before stockouts hurt ran... Skill: Inventory Forecast Owner: leooooooow Summary: Project inventory needs based on historical order velocity, seasonality, supplier lead times, and planned promotions so you reorder before stockouts hurt ran... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-06-11T14:20:36.772Z | user v1.1.0: Expanded from instruction-only skill to full toolkit — added Quick Reference decision table, 7-step workflow, two worked

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17974h9acjg4h7h5djv1hg51d83hcca:inventory-forecast
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-leooooooow-inventory-forecast/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

35,732 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: inventory-forecast
description: Project inventory needs based on historical order velocity, seasonality, supplier lead times, and planned promotions so you reorder before stockouts hurt rankings. Use when calculating reorder points, planning promo stock, building reorder calendars, or comparing sell-through across SKUs.
---

# Inventory Forecast

Running out of stock is one of the most costly mistakes in ecommerce — it tanks your search rankings, hands sales to competitors, and can take weeks to recover from. This skill projects inventory needs by analyzing historical order velocity, seasonal demand patterns, supplier lead times, and upcoming promotional events so you can place reorders with confidence before stockouts damage your momentum.

## Quick Reference

| Decision | Strong | Acceptable | Weak |
|---|---|---|---|
| Velocity baseline | Trailing 90-day daily average, weighted toward recent 30 days, excluding promo spikes | Trailing 30-day simple average | Lifetime average or single best month |
| Safety stock | Statistical: z-score × demand std dev × √lead time | Fixed 20-30% buffer on lead-time demand | None, or "whatever is left over" |
| Lead time input | Full door-to-door: production + QC + freight + customs + receiving, with variance | Supplier's quoted production time + standard transit | Supplier's quoted production time alone |
| Promo demand lift | Modeled from your own past promo lift for the same SKU/category | Category benchmark (e.g., 2-4x for flash sales) | Guessing or ignoring the promo |
| Seasonality | Month-over-month index built from 12+ months of own data | Platform/category seasonal curve (e.g., Q4 lift) | Assuming flat demand year-round |
| Reorder trigger | Reorder point = (daily velocity × lead time) + safety stock, reviewed weekly | Fixed calendar reorders (e.g., monthly) sized by forecast | Reordering when stock "looks low" |
| Overstock handling | Flag SKUs with >90 days of cover and propose markdown/bundle plan | Note slow movers in the report | Treat all SKUs the same |

## Solves

1. Stockouts on fast-moving SKUs that destroy search ranking and Buy Box position, discovered only after inventory hits zero.
2. Promotional events (flash sales, 9.9/11.11 campaigns, Prime Day) that sell through prepared stock in hours because the demand lift was never modeled.
3. Long supplier lead times (30-90 days) that make "order when low" impossible — the reorder decision has to happen weeks before the shelf looks empty.
4. Cash trapped in overstocked slow movers while bestsellers starve for reorder budget.
5. No visibility into which SKUs need urgent action — everything is tracked in a spreadsheet nobody updates.
6. New warehouse or FBA allocation decisions made by gut feel rather than regional demand data.
7. Seasonal demand swings (holiday, back-to-school, summer) that catch the catalog under- or over-stocked every single year.

## Workflow

### Step 1 — Gather inputs
Collect from the user: (a) sales history per SKU 

_meta.json

{
  "ownerId": "kn70fv0ehp50emedet9tx3fekd82pw3b",
  "slug": "inventory-forecast",
  "version": "1.1.0",
  "publishedAt": 1781187636772
}

references/demand-forecasting-methods.md

# Demand Forecasting Methods

How to turn raw sales history into a usable forward demand number. Use the simplest method the data supports — more sophistication than the data quality warrants is false precision.

## 1. Velocity baselines

**Weighted trailing average (default).** Daily velocity = 0.5 × (last 30 days avg) + 0.3 × (days 31-60 avg) + 0.2 × (days 61-90 avg). Responds to growth/decline without overreacting to a single good week.

**Simple trailing 30-day.** Acceptable when the SKU is stable and mature. Dangerous for anything growing, declining, or seasonal.

**When history is short (<90 days):** use what exists, widen safety stock (z = 2.0+), and label the forecast low-confidence. For brand-new SKUs, anchor to the closest analog SKU's launch curve and say so.

## 2. Data cleaning before averaging

- **Stockout correction:** a day at zero inventory is missing data, not zero demand. Replace stockout-day demand with the average of the 14 days before the stockout. If a stockout lasted >25% of your lookback window, shorten the window to clean days only.
- **Promo-spike exclusion:** exclude promo days (and 2 halo days each side) from the baseline; model promos separately (section 4). Otherwise a single flash sale inflates the baseline for 90 days.
- **Outlier days:** a single day >4x median daily sales with no known cause — verify (viral video? bulk B2B order?) before including. One-off bulk orders should be excluded from velocity.
- **Channel mixing:** if the user sells on multiple platforms, forecast per channel when lead-time-critical, because platform algorithms make demand non-transferable.

## 3. Seasonality

**Own-data index (12+ months of history):** index_month = (that month's sales) ÷ (average monthly sales). Apply the index of the months the forecast window covers. Smooth with adjacent months if any single month was distorted by a stockout or promo.

**Category curves (fallback):** typical patterns when own data is insufficient — state clearly the curve is a benchmark:
- Q4 gifting categories (toys, beauty sets, electronics accessories): Oct 1.1x, Nov 1.6x, Dec 1.8x, Jan 0.6x
- SEA marketplace double-days (9.9, 10.10, 11.11, 12.12): each event month +20-40% on top of baseline month
- Summer seasonal (fans, coolers, outdoor): ramp from 1.2x to 1.8x across the 3 peak months, 0.4-0.6x off-season
- Back-to-school (stationery, bags, dorm goods): 1.5-2x in the 6 weeks before term start

**Trend adjustment:** trend factor = (trailing 30-day velocity) ÷ (trailing 90-day velocity). Cap applied trend at ±30% per forecast cycle unless there is a structural reason (new ad campaign, listing rank jump) — extrapolating a hot streak is how overstock happens.

## 4. Promotional lift modeling

**Own-history multiplier (preferred).** lift = (units sold during past promo) ÷ (baseline daily velocity at that time × promo days). Use the same SKU; same-category promo is second best. Adjust for discount depth: lift scales roughly linearly with discount be

references/lead-time-and-safety-stock.md

# Lead Time & Safety Stock Reference

The reorder decision lives or dies on two numbers: how long replenishment really takes, and how much buffer absorbs the variance. Both are routinely underestimated.

## 1. Lead time decomposition

Always build door-to-door lead time from components. Ask the user for each; fill gaps with these defaults and flag them:

| Component | Typical range | Notes |
|---|---|---|
| Production / manufacturing | 15-45 days | Supplier quote; add 20% if the supplier has missed dates before |
| Pre-shipment QC / inspection | 2-5 days | Often forgotten; longer if third-party inspection is booked |
| Export handling + origin port | 2-4 days | Consolidation adds time for LCL shipments |
| Ocean freight (Asia → US West) | 14-20 days | East coast +10-14 days; port congestion can double this |
| Ocean freight (intra-SEA) | 3-8 days | |
| Air freight (door-to-door) | 5-12 days | Includes customs; 3-5x ocean cost |
| Customs clearance | 1-5 days | Holds/exams can add 1-3 weeks — this is the variance driver |
| Inbound receiving (3PL/FBA) | 2-14 days | FBA check-in during Q4 can hit 3+ weeks |

**Rule:** lead time for the reorder formula = sum of components at their *expected* values; lead time *variance* feeds safety stock. Track quoted vs. actual on every PO and recalibrate.

**Seasonal inflation:** add 15-30% to freight and receiving components for September-December POs (peak season congestion) and around Chinese New Year (factories close 2-4 weeks; queue effects last 6+ weeks).

## 2. Safety stock formulas

**Statistical (use for A-SKUs):**

Safety stock = z × σ_d × √L

- z = service-level factor: 1.28 (90%), 1.65 (95%), 2.05 (98%), 2.33 (99%)
- σ_d = standard deviation of daily demand (compute from the same cleaned data as velocity)
- L = lead time in days

**With lead-time variance (when supplier reliability is poor):**

Safety stock = z × √(L × σ_d² + d̄² × σ_L²)

where d̄ = mean daily demand and σ_L = std dev of lead time in days. Use this form whenever actual lead times have varied by more than ±1 week.

**Heuristic (acceptable for B/C-SKUs):** safety stock = 20-30% × (daily velocity × lead time). Simple, slightly generous at short lead times, slightly thin at long ones.

**Service level assignment:** A-SKUs (top 80% of revenue) → 95-98%. B-SKUs → 90-95%. C-SKUs → 85-90% or made-to-order. Pushing everything to 99% roughly doubles inventory cost versus 95% for a 4-point availability gain.

## 3. Reorder point and order quantity

**Reorder point (ROP):** ROP = (forecast daily demand × L) + safety stock. When on-hand + inbound ≤ ROP, order now.

**Order quantity (order-up-to method, default):**
Q = forecast demand over (L + R) − on-hand − inbound + safety stock
where R = review period (how often the user checks/places orders). Round up to MOQ and case pack; if rounding adds >30 days of extra cover, surface the carrying-cost tradeoff instead of silently ordering.

**Last safe order date:** projected stockout date − L. This singl

references/output-template.md

# Inventory Forecast — Output Template

Use this structure for every forecast deliverable. Omit sections that do not apply, but never omit Assumptions or Urgent Actions.

---

## 1. Executive Summary

- **Forecast window:** [start date] → [end date]
- **SKUs analyzed:** [n]
- **Urgent reorders (order this week):** [n SKUs, total estimated PO cost]
- **Scheduled reorders (next 90 days):** [n SKUs, total estimated PO cost]
- **Overstock flags:** [n SKUs, estimated cash tied up]
- **Biggest risk:** [one sentence — e.g., "SKU-A stocks out July 2, 13 days before the flash sale, unless PO is placed by June 9."]

## 2. Velocity & Demand Table

| SKU | Daily velocity (weighted) | Trend | Seasonal index (window) | Promo lift applied | Forecast daily demand |
|---|---|---|---|---|---|
| | | ↑/→/↓ | | | |

Notes: state the weighting scheme used, any stockout corrections (SKU, dates, corrected velocity), and any promo-spike exclusions.

## 3. Reorder Table

| SKU | On hand | Inbound | Days of cover | Reorder point | Status | Order qty (after MOQ/case rounding) | Last safe order date | Est. PO cost |
|---|---|---|---|---|---|---|---|---|
| | | | | | URGENT / Scheduled / Skip | | | |

Status rules: URGENT = already at/past reorder point. Scheduled = will cross reorder point within the forecast window. Skip = adequate cover or overstocked.

## 4. Reorder Calendar (rolling 90 days)

| Week of | POs to place | Units | Est. cash outlay | Notes |
|---|---|---|---|---|
| | | | | |

Include promo dates and inbound arrival dates as calendar rows so collisions are visible.

## 5. Promotion Stock Plan (if promotions planned)

For each event: event name/date, forecast event units (with multiplier source — own history vs. benchmark), stock position going in, shortfall/surplus, and the contingency option (air freight bridge, unit cap, split shipment) with cost.

## 6. Overstock & Slow-Mover Actions

| SKU | Days of cover | Cash tied up | Recommended action | Expected cash freed |
|---|---|---|---|---|
| | | | markdown / bundle / pause reorder / liquidate | |

## 7. Assumptions & Data Gaps

Numbered list. Every substituted benchmark, every estimate, every missing input. Example: "3. No promo history for SKU-C; applied 2.5x category flash-sale benchmark instead of own-data lift."

## 8. Review Cadence & Triggers

- Re-run forecast: [weekly / biweekly]
- Immediate re-run triggers: velocity shift >25% week-over-week, supplier lead time change, new promo confirmed, stockout event, large inbound delay.

---

### Formatting rules

- Round units to whole numbers; round currency to the user's currency, no decimals above 100.
- Sort all tables with URGENT items first, then by days of cover ascending.
- Use the user's SKU names/codes exactly as given.
- Keep the executive summary under 120 words; put detail in the tables.
- If delivering as a spreadsheet, one tab per section 2-6, summary as the first tab.

Sponsored

Ads related to Inventory Forecast and adjacent AI workflows.