技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
inventory-optimizer【数据与研究】Inventory management optimization skill with safety stock calculation, reorder point determination, and ABC analysis
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: inventory-optimizer description: Inventory management optimization skill with safety stock calculation, reorder point determination, and ABC analysis allowed-tools:
The Inventory Optimizer skill provides comprehensive capabilities for optimizing inventory management. It supports ABC/XYZ classification, safety stock calculation, reorder point optimization, and service level optimization.
skill: inventory-optimizer
inputs:
items:
- sku: "PART-001"
annual_demand: 12000
unit_cost: 25
lead_time: 5 # days
demand_variability: 0.15 # coefficient of variation
holding_cost_rate: 0.25 # annual
order_cost: 50
- sku: "PART-002"
annual_demand: 500
unit_cost: 500
lead_time: 20
demand_variability: 0.30
holding_cost_rate: 0.25
order_cost: 75
service_level_target: 0.95
analysis_type: "comprehensive"
outputs:
- abc_xyz_classification
- safety_stock_recommendations
- reorder_points
- eoq_calculations
- inventory_investment
- service_level_analysis
| Class | % of Items | % of Value | Management |
|---|---|---|---|
| A | 10-20% | 70-80% | Tight control |
| B | 20-30% | 15-20% | Moderate control |
| C | 50-70% | 5-10% | Simple control |
| Class | CV Range | Predictability | Approach |
|---|---|---|---|
| X | 0-0.5 | High | Statistical |
| Y | 0.5-1.0 | Medium | Mixed |
| Z | >1.0 | Low | Manual |
Safety Stock = Z x Standard Deviation x Square Root(Lead Time)
Where:
- Z = Service level factor (1.65 for 95%)
- Standard Deviation = Demand variability
- Lead Time = Replenishment time
Example:
- Daily demand: 100 units
- Daily std dev: 15 units
- Lead time: 5 days
- Service level: 95% (Z = 1.65)
Safety Stock = 1.65 x 15 x sqrt(5) = 55 units
EOQ = Square Root((2 x Annual Demand x Order Cost) / Holding Cost)
Example:
- Annual demand: 12,000 units
- Order cost: $50
- Unit cost: $25
- Holding rate: 25%
Holding cost = $25 x 0.25 = $6.25
EOQ = sqrt((2 x 12,000 x 50) / 6.25) = 438 units
Reorder Point = (Average Daily Demand x Lead Time) + Safety Stock
Example:
- Daily demand: 100 units
- Lead time: 5 days
- Safety stock: 55 units
Reorder Point = (100 x 5) + 55 = 555 units
| Metric | Formula | Target |
|---|---|---|
| Inventory Turns | COGS / Average Inventory | Industry benchmark |
| Days of Supply | Inventory / Daily Usage | Per policy |
| Fill Rate | Orders filled from stock | >95% |
| Carrying Cost | Average Inventory x Rate | Minimize |