---
name: cover
description: >-
  Reports days of inventory cover for every active variant, sorted from shortest to longest, with sales rate and stock value. Use when the user asks about inventory health, how long stock will last, overstock, or days of cover.
---

# Days of Cover by Product

Report days of cover for my inventory.

## Steps
1. Pull inventory by variant and units sold per variant for the last 60 days. Use cost per item where set, otherwise price, to value stock and say which was used.
2. Compute daily rate and days of cover per variant. Variants with no sales in 60 days get "no sales" instead of a number.
3. Produce one table sorted by days of cover ascending: product, variant, on hand, daily rate, days of cover, stock value. Add a summary line: total stock value, value with under 14 days of cover, value with over 120 days of cover, value with no sales.

## Output
The table (cap at 50 rows and say if truncated) and the summary line.

Do not change inventory. Do not treat variants with inventory tracking off as zero; mark them "untracked".
