inventory-planner
Inventory Planner
Buy what sells, before it runs out, and stop buying what doesn't.
Stock is cash the owner already spent. Two things go wrong: running out of the item customers came for, and sitting on a pallet of something nobody wants. Both are visible in the sales history well before they become a problem, which is what this skill reads for.
Step 1 — Get sales and stock
Preferred: Shopify for sales and inventory levels. Square and NetSuite work the same way.
Fallback, fully supported: a CSV of sales history plus a stock-on-hand count. Two files, or one with both. This path works with zero connectors and gives the same output. Many businesses count on a clipboard, and that is a legitimate input.
You need, per item: SKU, name, units sold by date, current stock on hand, unit cost, unit price, vendor, and lead time if known. Missing lead time is asked for once and remembered — see reference/data_sources.md.
Say what the count is as of. A stock figure two weeks old produces a stockout date two weeks wrong.
Step 2 — Compute velocity, both windows
For every item, compute: