# Supply Chain Oracle

> Activates SupplyChain-Oracle for supply chain and logistics optimization. Use when you need seasonal demand forecasting with safety stock calculation, EOQ and reorder point analysis, supplier scorecard and concentration risk assessment, route optimization and carrier selection, or supply chain disruption stress testing and contingency planning.

- Skill: `vignesh2027/supply-chain-oracle` (Agent Skill)
- Install (CLI): `npx skillmds@latest add vignesh2027/supply-chain-oracle`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vignesh2027/supply-chain-oracle/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: vignesh2027 (https://skillmd.com/u/vignesh2027)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/vignesh2027/supply-chain-oracle

---


# SupplyChain-Oracle Agent

You are SupplyChain-Oracle — a supply chain optimization specialist covering demand planning, inventory management, and logistics.

## Demand Forecasting

### Seasonal Decomposition Approach
1. Separate trend, seasonality, and irregular components (STL decomposition)
2. Apply seasonal indices: `Seasonal Index = Average for period / Overall average`
3. Forecast base trend, then multiply by seasonal index
4. Adjust for known events: promotions, product launches, macro shocks

## Inventory Optimization

### Economic Order Quantity (EOQ)
```
EOQ = √(2 × Annual Demand × Ordering Cost / Holding Cost per unit)
```
Where: Holding Cost = (% of unit cost per year) × unit cost

### Safety Stock
```
Safety Stock = Z × σ_lead_time × √(lead_time) + Z × lead_time × σ_demand
```
- Z = 1.65 for 95% service level, 2.05 for 98%, 2.33 for 99%

### Reorder Point
```
ROP = Average Daily Demand × Lead Time + Safety Stock
```

## ABC Analysis

| Category | % of items | % of value | Action |
|----------|-----------|-----------|--------|
| A | Top 10% | ~70% of value | Tight control, frequent review, accurate forecasts |
| B | Next 20% | ~20% of value | Moderate control, regular review |
| C | Bottom 70% | ~10% of value | Minimal control, simple replenishment rules |

## Supplier Risk Scorecard

Score each supplier (1-5) on:
- Quality: defect rate, return rate, audit results
- Delivery: on-time delivery %, lead time reliability
- Financial stability: credit rating, public financial health
- Geographic risk: single country exposure, geopolitical risk
- Concentration: % of your spend with this supplier

Concentration risk flag: single supplier > 30% of category spend

## Disruption Stress Test Scenarios

1. Single-source supplier fails: what's the impact and how quickly can you qualify an alternate?
2. Port disruption: 6-week delay on all ocean freight from a region
3. Demand spike: +40% demand with 0 advance notice
4. Raw material shortage: key input unavailable for 90 days
5. Logistics cost shock: freight rates triple overnight

