Xpersona
I

Inventory Reorder Calculator

CLAWHUB · Unverified

Estimate ecommerce reorder timing and quantity using demand, lead time, and safety stock assumptions so teams can set reorder points and reduce stockout risk... Skill: Inventory Reorder Calculator Owner: leooooooow Summary: Estimate ecommerce reorder timing and quantity using demand, lead time, and safety stock assumptions so teams can set reorder points and reduce stockout risk... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-03-30T11:16:52.109Z | user Major upgrade: Added 3 new reference files (safety-stock-guide, demand-analysis-guide, reorder-checklist). Expanded SKI

62
Rank
84
Safety
1.6k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/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-reorder-calculator
  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-reorder-calculator/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

42,253 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: inventory-reorder-calculator
description: Estimate ecommerce reorder timing and quantity using demand, lead time, and safety stock assumptions so teams can set reorder points and reduce stockout risk with less guesswork.
---

# Inventory Reorder Calculator

Estimate when to reorder and how much to buy before stock risk turns into lost revenue or excess inventory.

This skill goes beyond plugging numbers into a formula. It applies a structured inventory-planning workflow — demand analysis, lead-time modeling, safety stock calibration, and cash-vs-stockout tradeoff framing — to produce reorder recommendations operators can actually act on.

---

## Quick Reference

| Decision | Key Signal | Strong | Acceptable | Weak |
|---|---|---|---|---|
| Demand estimation | Historical vs assumed | Uses actual sales data + trend/seasonality | Reasonable assumption documented | Made-up round number |
| Safety stock | Risk calibration | Service-level-based (z-score × σ) | Days-of-cover heuristic | No safety stock or arbitrary buffer |
| Lead time | Supplier reliability | Avg + variability modeled | Single estimate documented | Ignored or assumed instant |
| Reorder point | Formula clarity | ROP = LT demand + safety stock, shown | Calculated but not explained | Just a number with no breakdown |
| Order quantity | Constraint-aware | Accounts for MOQ, carton multiples, cash | Basic EOQ or demand × days | Arbitrary round number |
| Risk framing | Actionable tradeoffs | Stockout cost vs carrying cost quantified | Risks named qualitatively | No risk discussion |

---

## Solves

Most ecommerce teams get reorder planning wrong not because they lack data, but because:

- **Gut-feel ordering** — buying "about the same as last time" without modeling demand changes
- **Ignoring lead-time variability** — treating supplier lead time as fixed when it fluctuates 20–50%
- **No safety stock logic** — either zero buffer (stockouts) or massive buffer (cash drag)
- **Formula without context** — calculating ROP without explaining what drives it or when it breaks
- **Missing constraints** — ignoring MOQs, carton multiples, storage limits, or cash flow
- **No risk framing** — presenting a single number without showing the stockout vs overstock tradeoff
- **Static calculations** — one-time number with no guidance on when to recalculate

Goal: **Produce a reorder recommendation that an ops lead, buyer, or founder can act on today — with the math shown, assumptions visible, and risks framed.**

---

## Use when

- You need a practical reorder point for a SKU or product group
- Demand is growing, volatile, or seasonal
- Lead time is long or unreliable
- You want to reduce stockouts without overbuying cash-intensive inventory
- A team needs to explain reorder logic to a buyer, founder, or ops lead
- You're setting up initial reorder rules for a new product or supplier
- Transitioning from gut-feel ordering to data-informed replenishment

## Do not use when

- You need a full suppl

_meta.json

{
  "ownerId": "kn70fv0ehp50emedet9tx3fekd82pw3b",
  "slug": "inventory-reorder-calculator",
  "version": "1.1.0",
  "publishedAt": 1774869412109
}

references/demand-analysis-guide.md

# Demand Analysis Guide for Reorder Planning

Methods for estimating demand when data quality varies — from strong historical data to sparse or noisy signals.

---

## Demand Estimation Methods

### Method 1: Simple moving average (SMA)

**Use when:** Demand is stable with no clear trend or seasonality.

```
Avg daily demand = sum of daily sales (last N days) ÷ N

Recommended windows:
- Fast-moving items (10+ units/day): 30 days
- Moderate movers (2–10/day): 60 days
- Slow movers (<2/day): 90 days
```

**Calculate variability:**
```
σd = √(Σ(daily sales − average)² ÷ (N − 1))
CV (coefficient of variation) = σd ÷ average

CV < 0.5: Low variability — averages are reliable
CV 0.5–1.0: Moderate — safety stock matters
CV > 1.0: High — lumpy demand, consider different approach
```

### Method 2: Trend-adjusted demand

**Use when:** Product is clearly growing or declining.

```
Step 1: Calculate trailing average (last 30 days vs prior 30 days)
Step 2: Growth rate = (recent avg − prior avg) ÷ prior avg
Step 3: Forward estimate = recent avg × (1 + monthly growth rate)^(months ahead)
```

**Example:**
```
Last 30 days avg: 42 units/day
Prior 30 days avg: 38 units/day
Growth rate: (42 − 38) ÷ 38 = 10.5% per month
Forward estimate (1 month): 42 × 1.105 = 46.4 units/day
Forward estimate (2 months): 42 × 1.105² = 51.3 units/day
```

**Warning:** Don't extrapolate growth beyond 2–3 months without additional validation. Growth rarely stays linear.

### Method 3: Seasonal adjustment

**Use when:** Demand has clear seasonal patterns (holiday, summer, back-to-school, etc.)

```
Step 1: Get same-period-last-year sales (SPLY)
Step 2: Calculate year-over-year growth factor
Step 3: Forward estimate = SPLY × YoY growth factor

Example:
Last June sales: 800 units
This vs last year overall growth: +25%
June forecast: 800 × 1.25 = 1,000 units → 33 units/day
```

**If no prior-year data:** Use industry seasonal indices or estimate peak-to-trough ratio from whatever data exists.

### Method 4: Sparse / new product estimation

**Use when:** <30 days of sales data, new product launch, or highly intermittent demand.

Options:
1. **Analog method:** Use sales data from a similar product as proxy
2. **Marketing-adjusted:** Pre-launch forecast × actual-vs-forecast ratio from previous launches
3. **Conservative start:** Use the lower bound of any estimate, set a short review cycle (weekly), and adjust rapidly
4. **Order-based:** If early orders are lumpy (wholesale/B2B), separate wholesale from DTC demand

**Rule: With weak data, shorten the review cycle. Don't compensate by adding massive safety stock — you'll tie up cash on an unproven product.**

---

## Adjusting for Data Quality Issues

### Stockout periods in historical data

If the product was out of stock during your measurement window, raw sales underestimate true demand.

```
Adjustment:
1. Identify stockout days (zero sales + zero inventory)
2. Remove stockout days from the average calculation
3. Or: estimate lost sales =

references/output-template.md

# Inventory Reorder Calculator Output Template

Structure every reorder recommendation with this format:

---

## Assumptions

| Variable | Value | Source | Confidence |
|---|---|---|---|
| Average daily demand | [X] units/day | [Sales data, last N days] | [High / Medium / Low] |
| Demand std deviation | [σd] units/day | [Calculated from data / estimated] | [High / Medium / Low] |
| Demand trend | [Growing / Stable / Declining at Y%] | [Data trend / assumption] | [High / Medium / Low] |
| Supplier lead time | [LT] days | [Historical POs / supplier quote] | [High / Medium / Low] |
| Lead time std deviation | [σLT] days | [Historical / estimated] | [High / Medium / Low] |
| Unit cost (landed) | $[X] | [Invoice / quote] | [High / Medium / Low] |
| Target service level | [X]% | [Business decision] | — |
| MOQ | [X] units | [Supplier terms] | [High / Medium / Low] |
| Carton multiple | [X] units | [Supplier / 3PL spec] | [High / Medium / Low] |
| Review cadence | [Daily / Weekly / Monthly] | [Current process] | — |

---

## Demand Model

```
Average daily demand: [X] units/day
Adjusted for trend: [Y] units/day (if applicable)
Demand σ: [σd] units/day
Coefficient of variation: [CV = σd/d] → [low (<0.5) / moderate (0.5–1.0) / high (>1.0)]
Data quality: [Strong / Moderate / Weak] — based on [X] days of history
Seasonality: [None / Peak in X months / Currently in peak]
```

⚠️ [Flag any demand-data concerns here]

---

## Lead Time Model

```
Average lead time: [LT] days
Lead time σ: [σLT] days
Best case: [X] days
Worst case: [Y] days
Source: [Historical POs (N orders) / Supplier quote / Assumption]
```

⚠️ [Flag any lead-time concerns here — e.g., supplier based in region with holiday shutdowns, port congestion, etc.]

---

## Safety Stock Calculation

**Method used:** [Service-level / Days-of-cover heuristic]

```
[Show formula and calculation step by step]

Service level: [X]% → z-score: [Z]
SS = z × √(LT × σd² + d² × σLT²)
SS = [Z] × √([LT] × [σd]² + [d]² × [σLT]²)
SS = [Z] × √([A] + [B])
SS = [Z] × [C]
SS = [result] units → rounded to [final] units
```

Plain English: "Keep [X] units as a buffer to maintain [Y]% chance of not stocking out during a replenishment cycle."

---

## Reorder Point

```
ROP = Lead Time Demand + Safety Stock
ROP = (d × LT) + SS
ROP = ([d] × [LT]) + [SS]
ROP = [LTD] + [SS]
ROP = [result] units
```

**Interpretation:** "When your inventory position (on-hand + in-transit − backorders) drops to **[ROP] units**, place a new purchase order."

### Current Status
```
On-hand: [X] units
In-transit: [Y] units (ETA: [date])
Inventory position: [X + Y] units
ROP: [Z] units
Status: [✅ Above ROP — no action needed / ⚠️ Below ROP — order now / 🚨 Critical — days to stockout: N]
```

---

## Reorder Quantity

```
Target coverage: [X] days post-receipt
Raw quantity: [d] × [coverage days] = [Q] units
```

**Constraint adjustments:**
| Constraint | Adjustment | Result |
|---|---|---|
| MOQ ([X] units) | [Above / rounded up] | [Q'] units |
| Ca

references/safety-stock-guide.md

# Safety Stock Guide

Framework for calculating safety stock based on service level targets, demand variability, and lead time uncertainty.

---

## Service Level and Z-Score Table

The service level represents the probability of NOT stocking out during a replenishment cycle.

| Service Level | Z-Score | When to Use |
|---|---|---|
| 85% | 1.04 | Low-value items, easy to substitute, minimal stockout cost |
| 90% | 1.28 | Standard items, moderate substitution risk |
| 95% | 1.65 | Important SKUs, meaningful revenue impact from stockout |
| 97.5% | 1.96 | High-value items, significant customer impact |
| 98% | 2.05 | Key products, brand-critical items |
| 99% | 2.33 | Mission-critical, no acceptable substitute, hero SKUs |
| 99.5% | 2.58 | Life-safety or contractual obligation items |
| 99.9% | 3.09 | Extreme — rarely justified in ecommerce |

### How to choose a service level

Ask these questions:

1. **What happens if this product stocks out?**
   - Customer buys from competitor → higher service level (97%+)
   - Customer waits or substitutes → moderate (90–95%)
   - No significant impact → lower (85–90%)

2. **What's the margin on this product?**
   - High margin → can afford more safety stock
   - Low margin → excess inventory cost matters more

3. **How long is the lead time?**
   - Long lead time → higher service level to compensate
   - Short lead time (< 7 days) → lower service level acceptable

4. **Is demand predictable?**
   - Stable, predictable → lower service level works
   - Volatile or seasonal → need higher service level

---

## Safety Stock Formulas

### Method 1: Combined demand and lead-time variability (preferred)

Use when you have data on both demand variability AND lead-time variability:

```
SS = z × √(LT × σd² + d² × σLT²)

Where:
z = z-score from service level table
LT = average lead time (days)
σd = standard deviation of daily demand
d = average daily demand
σLT = standard deviation of lead time (days)
```

**Example:**
```
z = 1.65 (95% service level)
LT = 14 days
σd = 5 units/day
d = 30 units/day
σLT = 3 days

SS = 1.65 × √(14 × 25 + 900 × 9)
SS = 1.65 × √(350 + 8100)
SS = 1.65 × √8450
SS = 1.65 × 91.9
SS = 152 units
```

### Method 2: Demand variability only

Use when lead time is reliable (σLT ≈ 0):

```
SS = z × σd × √LT
```

**Example:**
```
z = 1.65, σd = 5, LT = 14
SS = 1.65 × 5 × √14 = 1.65 × 5 × 3.74 = 31 units
```

Note: This gives MUCH less safety stock than Method 1. Only use if supplier lead time is truly consistent.

### Method 3: Days-of-cover heuristic

Use when you don't have good variability data:

```
SS = average daily demand × safety days
```

| Situation | Safety Days | Rationale |
|---|---|---|
| Short, reliable lead time (<7d) | 3–5 days | Low risk, quick recovery |
| Moderate lead time (7–21d) | 7–10 days | Standard buffer |
| Long lead time (21–45d) | 10–14 days | Significant exposure |
| Long + unreliable lead time | 14–21 days | High risk, slow recovery |
| Seasonal peak approaching | Add 5–

Sponsored

Ads related to Inventory Reorder Calculator and adjacent AI workflows.