- Home
- Skills
- E-commerce
- Inventory Reorder Planner from Sales and Stock CSVs
Works with the AI Agents you already use
Inventory Reorder Planner from Sales and Stock CSVs
by Saizul Amin
Calculates reorder points, safety stock, and purchase quantities from Shopify/WooCommerce CSV exports.
$3
Inventory Reorder Planner from Sales and Stock CSVs
Example session with this skill installed
Using my last 90 days of sales and current stock, tell me what to reorder now, how much, and which products are dead stock.
- Read your context and instructions
- Compiled the inventory reorder planner
I ran the bundled script from the inventory-reorder skill and reviewed its findings.
Demo data: this is the real, unedited output of the skill's script on the test fixture that ships with its source repo.
Script output
As of 2026-11-20 (90-day window, service level 95%): 6 SKUs | stockout 1, reorder 1, new 1, ok 1, overstock 1, dead 1
SKU status on hand avg/day ROP DoS order
MUG-1 stockout 0 1.99 47 0 108
TEE-M reorder 40 4.98 77 8 190
NEWBAG new 100 3.00 30 33 0
CAP ok 60 1.00 13 60 0
BOARD overstock 400 1.00 39 400 0
SPOON dead 25 0.00 0 - 0
Suggested purchase value: 1559.00
Sold but missing from stock file: GHOST
Next steps
- Place purchase orders for stockout and reorder SKUs first.
- Run a discount or bundle for overstock and dead SKUs.
- Add missing SKUs (like GHOST) to the stock file, then re-run weekly.
Connects securely to your tools. The creator never sees your data.
About this skill
Inventory management often relies on gut feeling or static "low stock" alerts that fail to account for lead times and demand volatility. This skill calculates precise reorder points and suggested purchase quantities using your actual sales history.
What it does
- Calculates Demand Metrics: Derives average daily demand and demand variability from CSV order exports.
- Determines Safety Stock: Uses service level targets (e.g., 95%) and lead times to calculate the buffer needed to prevent stockouts.
- Predicts Stockout Dates: Estimates the exact date each SKU will run out based on current on-hand inventory.
- Optimizes Purchasing: Suggests order quantities rounded to case packs and MOQs, with optional budget-based prioritization.
- Classifies Inventory: Flags items as stockout, reorder, new, ok, overstock, or dead stock.
How it works
- Input Data: Provide a sales history CSV (order lines with SKU and date) and a current stock CSV (SKU and on-hand count).
- Set Parameters: Define lead times, target service levels, and the desired days of stock coverage.
- Execution: The script processes the files to compute reorder points (ROP) and safety stock levels for every SKU.
- Analysis: Review the generated report or purchase-order CSV to identify which items require immediate funding.
Frameworks & tools
Python 3.8+ standard library. Works with CSV exports from WooCommerce, Shopify, or custom ERP systems.
Why this beats prompting it yourself
Standard LLM prompts struggle with the multi-step math required for demand variability and service level z-scores. This skill uses a dedicated Python script to ensure calculations for safety stock and lead-time demand are mathematically accurate and reproducible.
Use cases
- Generate a weekly purchase order list prioritized by stockout urgency.
- Calculate custom low-stock thresholds to sync back to Shopify or WooCommerce.
- Identify dead stock and overstock items to liquidate for better cash flow.
- Allocate a limited procurement budget to the SKUs most likely to lose sales first.
Known limitations
Does not account for seasonality or planned promotions. Requires at least 60 to 90 days of sales history for meaningful accuracy. Not intended for multi-warehouse environments.
Open source: saizul/ecommerce-store-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.
Requires 60-90 days of sales history. No native support for seasonality or multi-warehouse logic. Requires Python 3.8+.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+