warehouse-optimization
E-commerce warehouse and inventory optimization advisor. Analyzes inventory health, calculates safety stock and reorder points, performs ABC analysis, evaluates fulfillment costs, and provides actionable recommendations for improving efficiency.
Install / Use
npx skills add nexscope-ai/eCommerce-Skills --skill warehouse-optimizationInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of warehouse-optimization
warehouse-optimization scores 93/100 on our quality scale, 264th of 947 AI & Machine Learning skills we index (top 28%).
Its SKILL.md is 13 KB long, well organised into 44 sections with 20 code examples: a thorough specification that gives an agent plenty to work with.
It has 983 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so warehouse-optimization is actively maintained.
- Our last check on 2026-10-27 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-04. Automated pattern scan on 2026-10-04. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
warehouse-optimization compared with similar skills
All 4 of these similar skills score higher than warehouse-optimization; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| warehouse-optimization (this skill)by nexscope-ai | 93 | 983 | 3mo ago | SKILL.md |
| claude-memby thedotmack | 100 | 117.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 112.3k | 8d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 92.8k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install warehouse-optimization?
- Run
npx skills add nexscope-ai/eCommerce-Skills --skill warehouse-optimization. The install tabs above show the steps for each supported agent. - Which AI agents does warehouse-optimization work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is warehouse-optimization safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is warehouse-optimization still maintained?
- The repository was last updated about 3 months ago, so warehouse-optimization is actively maintained.
Skill content
View source on GitHubname: warehouse-optimization description: "E-commerce warehouse and inventory optimization advisor. Analyzes inventory health, calculates safety stock and reorder points, performs ABC analysis, evaluates fulfillment costs, and provides actionable recommendations for improving efficiency. Supports all major fulfillment models: Self-fulfillment, Amazon FBA/FBM, Walmart WFS, 3PL, Shopify Fulfillment, TikTok Shop, Dropshipping, and Hybrid setups. No API key required. Use when: (1) reducing stockouts or overstock, (2) calculating safety stock levels, (3) optimizing warehouse costs, (4) improving Amazon IPI score, (5) analyzing inventory KPIs." metadata: {"nexscope":{"emoji":"🏭","category":"ecommerce"}}
Warehouse & Inventory Optimization 🏭
Diagnose and optimize your warehouse operations: analyze inventory health, calculate safety stock, reduce costs, and improve efficiency. No API key required.
Installation
npx skills add nexscope-ai/eCommerce-Skills --skill warehouse-optimization -g
Supported Fulfillment Models
| Model | Platform | Optimization Focus | |-------|----------|-------------------| | Self-Fulfillment | Any | Warehouse layout, staffing, pick/pack efficiency, storage costs | | Amazon FBA | Amazon | IPI score, storage fees, aged inventory, restock limits | | Amazon FBM | Amazon | Shipping speed, Prime eligibility, cost vs FBA | | Walmart WFS | Walmart | Fulfillment fees, storage limits, Pro Seller status | | 3PL | Multi-channel | Provider costs, SLAs, contract optimization, hidden fees | | Shopify Fulfillment Network | Shopify | Distributed inventory, delivery speed, cost analysis | | TikTok Shop Fulfillment | TikTok | TikTok-specific requirements, shipping SLAs | | Dropshipping | Any | Supplier reliability, lead times, stockout prevention | | Hybrid | Multi-channel | Inventory allocation, channel balancing, split strategy |
Usage Examples
Audit my warehouse operations. I'm self-fulfilling from a 2,000 sq ft warehouse.
500 SKUs, 3,000 orders/month. Main issues: frequent stockouts on top sellers,
high storage costs on slow movers. Help me optimize.
I use FBA for my Amazon store. IPI score dropped to 350. I have excess inventory
warnings on 40 SKUs. How do I fix this before I get storage limits?
Running FBM for my oversized products and FBA for standard. 200 orders/day total.
Which SKUs should I move to FBA vs keep FBM? Help me optimize the split.
Using ShipBob as my 3PL. Monthly bill is $8,500 for 2,000 orders. Is this competitive?
What should I negotiate or consider switching?
First Interaction
When user first asks about warehouse optimization, inventory management, or fulfillment efficiency, greet them with:
🏭 Warehouse Optimization ready!
I'll help you diagnose issues and optimize your inventory operations.
**Tell me about your setup:**
- Fulfillment model (FBA, FBM, 3PL, self-fulfill, hybrid?)
- Approximate SKU count
- Monthly order volume
- Main pain points (stockouts, high costs, slow shipping, IPI issues?)
Or just describe your situation and I'll guide you from there.
Handling Incomplete Input
To optimize your warehouse operations, I need:
**Required:**
- Fulfillment model: Self / FBA / FBM / WFS / 3PL / Dropship / Hybrid
- Approximate SKU count
- Monthly order volume
- Main pain points (stockouts, high costs, slow shipping, etc.)
**Recommended (deeper analysis):**
- Top 10 SKUs by sales volume (or % of total sales)
- Current inventory turnover rate (if known)
- Average days of inventory on hand
- Monthly storage/fulfillment costs
- For FBA: Current IPI score, aged inventory alerts
- For 3PL: Current provider and monthly costs
Audit Workflow
Step 1: Collect Current State Data
| Data Point | Why It Matters | |------------|----------------| | Fulfillment model | Determines optimization approach | | SKU count | Complexity indicator | | Monthly orders | Scale of operations | | Top SKUs (% of sales) | For ABC analysis | | Current turnover rate | Inventory health indicator | | Days of inventory | Over/understock signal | | Stockout frequency | Lost sales indicator | | Storage costs | Cost optimization potential | | Pick/pack accuracy | Quality indicator |
Step 2: Calculate Key Metrics
Inventory Turnover Rate:
Inventory Turnover = Cost of Goods Sold (COGS) / Average Inventory Value
- Benchmark: 4-6x/year for most e-commerce (higher = better)
- Low turnover (<4): Excess inventory, capital tied up
- High turnover (>8): Risk of stockouts, tight supply chain
Days of Inventory (DOI):
DOI = (Average Inventory / COGS) × 365
- Target: 30-60 days for most products
- Too high (>90 days): Overstock, storage cost drain
- Too low (<14 days): Stockout risk
Stockout Rate:
Stockout Rate = (Days Out of Stock / Total Days) × 100
- Target: <2%
- Impact: Each 1% stockout ≈ 1% lost revenue
Perfect Order Rate:
Perfect Order Rate = (Orders Shipped Complete, On-Time, Undamaged / Total Orders) × 100
- Target: >95%
Step 3: Perform ABC Analysis
Classify SKUs by revenue contribution:
| Class | % of SKUs | % of Revenue | Inventory Strategy | |-------|-----------|--------------|-------------------| | A | ~20% | ~80% | High priority, never stockout, frequent replenishment | | B | ~30% | ~15% | Moderate priority, standard replenishment | | C | ~50% | ~5% | Low priority, review for discontinuation |
Recommendations by class:
- A items: Safety stock = 2-4 weeks, reorder frequently, prime warehouse locations
- B items: Safety stock = 2-3 weeks, standard locations
- C items: Minimal safety stock, consider dropship or discontinue slow movers
Step 4: Calculate Safety Stock & Reorder Points
Safety Stock Formula:
Safety Stock = Z × σd × √L
Where:
- Z = Service level factor (1.65 for 95%, 2.33 for 99%)
- σd = Standard deviation of daily demand
- L = Lead time in days
Simplified Safety Stock (if limited data):
Safety Stock = (Max Daily Sales - Avg Daily Sales) × Lead Time
Reorder Point Formula:
Reorder Point = (Avg Daily Sales × Lead Time) + Safety Stock
Example calculation:
Product: Widget A
- Average daily sales: 10 units
- Max daily sales: 18 units
- Lead time: 14 days
Safety Stock = (18 - 10) × 14 = 112 units
Reorder Point = (10 × 14) + 112 = 252 units
→ Reorder when inventory hits 252 units
→ Keep 112 units as buffer
Step 5: Analyze Costs
Fulfillment Cost Benchmarks:
| Cost Component | Self-Fulfill | 3PL | FBA | |----------------|--------------|-----|-----| | Storage | $0.30-0.50/cu ft | $0.45-0.75/cu ft | $0.87-2.40/cu ft | | Pick & Pack | Labor-based | $1.50-3.00/order | Included in fee | | Shipping | Carrier rates | Discounted rates | Prime rates | | Returns | Labor + space | $3-8/return | Free for buyers |
Cost Per Order (CPO):
CPO = (Storage + Labor + Packaging + Shipping) / Total Orders
Inventory Carrying Cost:
Carrying Cost = Average Inventory Value × Carrying Rate (typically 20-30%/year)
Includes: Storage, insurance, obsolescence, opportunity cost
Step 6: Platform-Specific Analysis
Amazon FBA:
- IPI Score factors: Excess inventory %, sell-through rate, stranded inventory, in-stock rate
- Storage fee triggers: Aged inventory (181+ days), low IPI (<400)
- Restock limits: Based on IPI and sales velocity
Amazon FBM:
- Prime eligibility: Seller Fulfilled Prime requirements
- Shipping performance: On-time delivery, valid tracking rate
- Cost comparison: When FBM beats FBA (oversized, slow movers)
Walmart WFS:
- Pro Seller badge: Fulfillment performance requirements
- Storage fees: Generally lower than FBA
- Limitations: Product restrictions, geographic coverage
3PL Providers:
- Contract terms: Minimum commitments, peak surcharges
- Hidden costs: Receiving fees, special handling, return processing
- Performance SLAs: Shipping accuracy, turnaround time
Step 7: Generate Recommendations
Prioritize by impact and effort:
## Recommendations
### 🔴 Critical (Do Now)
| Issue | Impact | Action | Expected Result |
|-------|--------|--------|-----------------|
### 🟡 Important (This Month)
| Issue | Impact | Action | Expected Result |
|-------|--------|--------|-----------------|
### 🟢 Optimization (This Quarter)
| Issue | Impact | Action | Expected Result |
|-------|--------|--------|-----------------|
FBA-Specific Optimization
IPI Score Improvement
| Factor | Target | Actions | |--------|--------|---------| | Excess inventory | <5% | Create removal orders, run promotions, liquidate | | Sell-through rate | >4.5 | Improve listing, PPC, reduce price | | Stranded inventory | 0% | Fix listing errors, match ASINs | | In-stock rate | >90% | Increase replenishment frequency |
Aged Inventory Prevention:
- Monitor inventory age weekly
- Take action before 181 days (aged fee trigger)
- Options: Removal order, outlet deals, liquidation, donate
Storage Fee Calendar:
- Jan-Sep: Standard rates
- Oct-Dec: Peak rates (3x higher)
- Aged inventory surcharge: 181+ days
FBA Restock Calculation
Target FBA Inventory = (Avg Daily Units × Days of Cover) + Safety Buffer
Where:
- Days of Cover: 30-60 days (varies by IPI score)
- Safety Buffer: 1-2 weeks for top sellers
Example:
- Selling 10 units/day
- Target 45 days cover
- Safety: 10 days
Target = (10 × 45) + (10 × 10) = 550 units
3PL Cost Optimization
Evaluate Your 3PL Costs
| Cost Type | What to Check | |-----------|---------------| | Storage | Per pallet vs per cu ft, minimum charges | | Pick & Pack | Per order vs per item, kit fees | | Receiving | Per unit, per carton, or per shipment | | Special handling | Fragile, hazmat, temperature-controlled | | Peak surcharges | Q4 rate increases | | Minimum commitments | Monthly minimums, long-term contracts |
3PL Benchmark Costs (2025)
| Service | Low | Average | High | |---------|-----|---------|------| | Storage (per pallet/mo) | $8 | $15 | $25 | | Pick & Pack (per order) | $2.50 | $4.00 | $6.00 | | Additional item | $0.30 | $0.75 | $1.50 | | Receiving (per unit) | $0.20 | $0.40 | $0.75 |
When to Switch 3PLs
- Cost per order >20% above benchmark
- SLA failures >5% of orders
- Poor communication / slow issue resolution
- No volume-based discounts after 6+ months
- Geographic mismatch (shipping zones too far)
Output Format
# 🏭 Warehouse Optimization Report
**Business:** [Business Name/Type]
**Fulfillment Model:** [Self / FBA / FBM / WFS / 3PL / Hybrid]
**Analysis Date:** [Date]
---
## 1. Current State Summary
| Metric | Current | Benchmark | Status |
|--------|---------|-----------|--------|
| Monthly orders | X | — | — |
| SKU count | X | — | — |
| Inventory turnover | Xx/year | 4-6x | 🟢/🟡/🔴 |
| Days of inventory | X days | 30-60 | 🟢/🟡/🔴 |
| Stockout rate | X% | <2% | 🟢/🟡/🔴 |
| Cost per order | $X | $3-8 | 🟢/🟡/🔴 |
---
## 2. ABC Analysis
[SKU classification table]
---
## 3. Inventory Optimization
### Safety Stock Recommendations
| SKU/Class | Current Stock | Recommended Safety Stock | Reorder Point |
|-----------|---------------|--------------------------|---------------|
### Overstock Alert
[SKUs with excess inventory]
### Stockout Risk
[SKUs at risk of stockout]
---
## 4. Cost Analysis
[Cost breakdown and optimization opportunities]
---
## 5. Recommendations
### 🔴 Critical
[High-impact, do now]
### 🟡 Important
[Medium-impact, this month]
### 🟢 Optimization
[Lower priority improvements]
---
## 6. Expected Results
| Improvement Area | Current | Target | Timeline |
|------------------|---------|--------|----------|
| Stockout rate | X% | X% | X weeks |
| Storage costs | $X | $X | X months
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
117.6kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
112.3kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
92.8kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.8kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
