Inventory & Ops · from a Blog post, Jan 29, 2026 · Added
Inventory Analyst Built in Claude Code
Get reorder dates for every SKU across several Amazon brands that account for seasonality, stockouts, 3PL stock and Chinese New Year
The first projections were 'very bad': it assumed peak sales 2-3x higher when the real number was more like 5-15x, and it kept ignoring notes.
Per source Self-reported by the source, not independently verified.
Copy-paste prompt
/inventory for [brand]: 1) If the local sales and inventory data is older than 5 days, pull fresh data from Amazon. 2) Read the context notes for [brand]. 3) Show trailing-12-month sales by SKU and by month. 4) List the adjustments you will make (stockouts, price changes, growth since acquisition) before projecting. 5) Project the next 12 months by SKU and month in Python and show stock left at each month end. 6) Recommend a reorder date per SKU using supplier lead times and Chinese New Year.
The source didn't publish its exact prompt. We wrote this starter so you can try the same workflow. Replace anything in [brackets].
What they did
Alex Willen, who runs about 10 Amazon brands, had vibe coded an inventory management app but stopped using it because of edge cases: Chinese holidays, 3PL stock, seasonality and stockouts in last year's sales. Instead he spent half a day giving Claude Code (Opus 4.5) Amazon credentials for each brand, had it build scripts to pull inventory and sales data, and saved each brand's context (acquisition dates, 3PL inventory, supplier lead times and locations) in a file it reads before projecting. A /inventory slash command runs fixed steps: refresh data older than 5 days, read the brand notes, show trailing-twelve-month sales by SKU and month, state its adjustments, project the next 12 months in Python, and recommend reorder dates around Chinese New Year and other holidays.
How it went
The first projections were 'very bad': it assumed peak sales 2-3x higher when the real number was more like 5-15x, and it kept ignoring notes. A day-long cycle of fixes and step-by-step instructions got it right. He says that since he set up the slash command he has 'not once used a spreadsheet for this task.' Told about a leather supplier's 30-day lead time, it now tracks prepared leather, and it asked on its own whether an inbound shipment came from his 3PL.
We only report what the source says. Results are self-reported unless noted.
Worth knowing
First-hand newsletter post (January 29, 2026). The fix that mattered was forcing a fixed order of steps and doing the math in Python; notes alone didn't stop it falling back to lazy seasonality guesses.