Skip to content
Skillpedia
Analysis & spreadsheets33k Ā· #8864

abc-xyz-segmentation

What it does

This skill ranks your products by value (ABC) and by how steady their demand is (XYZ), then recommends how much planning effort each group deserves. It is for inventory and supply planners managing many items.

When to use it

  • āœ“When you want to know which products deserve the most forecasting effort.
  • āœ“When you need to narrow a long list of products down to the ones that matter most.
  • āœ“When you want inventory policies that match how steady each product's demand is.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/abc-xyz-segmentation/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/abc-xyz-segmentation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

ā€œSort my product list by sales value and demand steadiness, and tell me where to focus my planning time.ā€

5 new skills a week. 1 minute to read.

How it works

The agent ranks items by annual value, measures demand variability for each, places them in a nine-box grid, and attaches a planning policy to each cell along with the value share it covers.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

ABC-XYZ Segmentation

Value tells you where the money is. Variability tells you whether forecasting, buffering or restructuring can work. Never output a classification without the policy consequences.

Required data

Per-SKU demand history (sku, period, qty) covering 12+ periods, plus unit value (unit_price or cost). Without unit value, ABC degrades to a volume ranking - say so and ask for prices before presenting conclusions about money.

Workflow

  1. ABC on annual value. Rank by annual consumption value; cumulative 80% = A, next 15% = B, rest = C. Report the actual concentration found (e.g. "15 SKUs = 80%"), not the folklore 20/80.
  2. XYZ on variability. CV = std/mean of period demand per SKU. Defaults: X < 0.5, Y 0.5-1.0, Z >= 1.0. These are conventions - check the CV histogram for natural breaks and state the thresholds used. SKUs with structural zero periods (intermittent) belong in Z regardless of CV arithmetic; mean-based CV understates their risk.
  3. Build the 9-box with SKU counts AND value share per cell. Value share is what makes managers act.
  4. Attach the policy per cell (adapt wording to context):
    • A-X: tight forecasting pays; low buffer, frequent review, automate replenishment
    • A-Y: forecast + healthy buffer; investigate variability drivers
    • A-Z: do not chase forecasts - strategic buffer, lead-time negotiation, or make-to-order
    • B-X / C-X: min-max autopilot; withdraw planner attention
    • B-Z: buffer or longer promise dates; check if variability is self-inflicted (promotions, batching)
    • C-Z: rationalization shortlist - kill, consolidate, or on-demand sourcing
  5. Name the reallocation. The deliverable is planner-hours and buffer money moving between cells - state explicitly which cells gain and lose attention.
  6. Validate. Sum of cell value shares must equal 100%; spot-check two SKUs' classifications against their raw series before presenting.

Pitfalls to check explicitly

  • ABC computed on quantity while unit values vary 10x+ ranks the wrong items.
  • Self-inflicted variability (order batching, month-end pushes, promotions) shows up as Z; flag it as a process fix, not a demand fact.
  • Classifications rot - recommend re-running quarterly and tracking cell migrations.
  • A dominant "C-Z is 60% of SKUs" finding usually signals assortment bloat, not a planning problem.

Output format

  1. The 9-box (counts + value share per cell)
  2. Policy table per occupied cell
  3. Attention-reallocation paragraph (from where, to where)
  4. Rationalization shortlist (top C-Z items by holding cost or shelf age, if data allows)

Worked example including a safety-stock stress test: https://github.com/gulmezeren2-byte/abc-xyz-inventory


Source: industrial-engineering-ai-skills by Eren Gulmez (MIT). The full method pack - entry skill, role agents, data-hygiene rules and artifact templates - lives there.

FAQ

What data do I need?

Demand history per product over at least 12 periods, plus unit prices. Without prices, the result is only a volume ranking.

Are the thresholds fixed?

No. The skill uses default thresholds, checks the data for natural breaks, and states the ones it used.

Does it just give labels?

No. Each group comes with a policy, such as forecasting closely or building a buffer.

Details

Original description by the author

Segment a SKU portfolio on value (ABC) and demand variability (XYZ), produce the 9-box with a planning policy per cell, and reallocate planner attention accordingly. Use when the user mentions ABC analysis, inventory segmentation, SKU rationalization, stok segmentasyonu, envanter sınıflandırma, or asks which items deserve forecasting effort. Differentiator - ABC alone is treated as half an answer; policy lives in the value x variability combination.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8864
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills