Sales Commission Calculator Skill
Calculate sales commissions from a CRM deals export: tiered rates, accelerators, split deals, caps and clawbacks, with a statement per rep. $29 once.
View Sales Commission Calculator Skill
Reorder point = demand during lead time + safety stock, for every SKU, rounded to case packs and MOQ. Get the purchase list, the SKUs that will run out before an order can arrive, and the cash tied up in dead stock.

| Situation | Code | Level |
|---|---|---|
| On hand below zero | negative_on_hand | high |
| Stock position at or below the reorder point | order_now | high |
| Days of stock left shorter than the lead time | stockout_before_arrival | high |
| Sold but missing from the inventory file | sku_not_in_inventory | normal |
| No lead time (default used) | missing_lead_time | normal |
| Stock on hand, no sales in the window | dead_stock | normal |
| More than 180 days of cover | overstock | normal |
| Sold on under 10% of days (lumpy) | intermittent_demand | info |
examples/trailhead-coffee-nov/ is a fictional coffee roaster: a 90-day Shopify-style orders export and a 9-SKU inventory snapshot with planted situations (a best seller 12 days from empty on a 21-day lead time, a negative count, a mug that hasn't sold since July, 400 days of white mugs, lumpy filter sales, a gift box not in inventory, a missing lead time). expected.json labels the order quantities (240 and 96, rounded to case packs) and ABC classes; the tests assert those, the reorder-point math, MOQ handling and service level.
Outputs in out/: purchase_suggestions.csv (what to order now, with cost), plan.csv (every SKU: ABC, XYZ, demand, safety stock, reorder point, cover), abc.csv, findings.csv, report.md, summary.json. Exit 0 = nothing urgent; 1 = something to order or fix now; 2 = an input problem.

./run_tests.sh
python3 -m reorder --sales examples/trailhead-coffee-nov/orders_export.csv --inventory examples/trailhead-coffee-nov/inventory.csv \
--as-of 2026-11-01 --name "Trailhead Coffee" --out out/Python 3.9+ (tested on 3.10 and 3.13), no dependencies.
Zip, 19 KB, v1.0, 14 files. Use and modify it for yourself and for clients you serve; no resale or redistribution of the kit itself. Full terms in LICENSE.txt.
Reorder points, safety stock and order quantities for every SKU from a Shopify orders export, plus ABC classes, dead stock and overstock. $29 once.
Calculate sales commissions from a CRM deals export: tiered rates, accelerators, split deals, caps and clawbacks, with a statement per rep. $29 once.
View Sales Commission Calculator SkillRecipe costing with yield, food cost % per plate, menu engineering classes (Stars, Plowhorses, Puzzles, Dogs) and target prices from your sales mix. $29 once.
View Recipe Costing + Menu Engineering SkillAudit carrier freight invoices against shipments and your fuel schedule: duplicates, math errors, wrong fuel surcharge, unapproved accessorials. $29 once.
View Freight Invoice Audit Skill