Ecom inventory health

From charlieviettq/awesome-agent-skill · View interactive version

Ecom inventory health is an AI agent skill from the GitHub repository charlieviettq/awesome-agent-skill. \"Analyze inventory health using turnover ratios, ABC classification, safety stock calculations, and stockout vs overstock diagnostics. Use this skill when the user needs to optimize inventory levels, reduce carrying costs, prevent stockouts, or classify products by inventory priority — even if they

How to use this skill

Skill file

Inventory Health Analysis

Overview

Inventory health balances two risks: stockouts (lost sales, unhappy customers) and overstock (carrying costs, obsolescence). This skill provides tools to measure, classify, and optimize inventory levels.

Framework

IRON LAW: Not All SKUs Deserve Equal Attention

ABC classification shows that ~20% of SKUs drive ~80% of revenue.
Treat A-items (top 20% revenue) with tight control and frequent review.
C-items (bottom 50% revenue) get simple rules and less attention.
Equal treatment of all SKUs wastes resources on low-impact items.

Key Metrics

| Metric | Formula | Healthy Range |

|--------|---------|--------------|

| Inventory Turnover | COGS / Avg Inventory | 4-12x/year (industry-dependent) |

| Days of Inventory (DOI) | 365 / Inventory Turnover | 30-90 days |

| Stockout Rate | Stockout incidents / Total demand occasions | < 2-5% |

| Fill Rate | Orders filled completely / Total orders | > 95% |

| Carrying Cost | Avg Inventory × Carrying Cost % (typically 20-30%/year) | Minimize |

| Dead Stock % | Items with zero sales in 6+ months / Total SKUs | < 10% |

ABC Classification

| Class | Revenue % | SKU % | Strategy |

|-------|----------|-------|----------|

| A | ~80% | ~20% | Tight control, frequent review, safety stock optimized |

| B | ~15% | ~30% | Moderate control, periodic review |

| C | ~5% | ~50% | Simple rules, min/max levels, consider dropping |

Safety Stock Calculation

Safety Stock = Z × σ_d × √(Lead Time)

Where:
- Z = service level factor (1.65 for 95%, 2.33 for 99%)
- σ_d = standard deviation of daily demand
- Lead Time = supplier lead time in days

Reorder Point

Reorder Point = (Average Daily Demand × Lead Time) + Safety Stock

Diagnosis Steps

Phase 1: Overall Health Check

Phase 2: ABC Classification

Phase 3: Problem Identification

Phase 4: Optimization

Output Format

# Inventory Health Report: {Business}

## Summary
| Metric | Current | Target | Status |
|--------|---------|--------|--------|
| Turnover | {X}x | {X}x | 🟢/🟡/🔴 |
| DOI | {X} days | {X} days | 🟢/🟡/🔴 |
| Fill Rate | {X%} | >95% | 🟢/🟡/🔴 |
| Dead Stock | {X%} | <10% | 🟢/🟡/🔴 |

## ABC Distribution
| Class | SKUs | Revenue % | Avg DOI | Issue |
|-------|------|----------|---------|-------|
| A | {N} | {%} | {days} | {stockout risk?} |
| B | {N} | {%} | {days} | ... |
| C | {N} | {%} | {days} | {overstock?} |

## Top Issues
1. {issue with specific SKUs and data}

## Recommendations
1. {action with expected impact}

Gotchas

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.