# Warehouse KPI Calculator & Root-Cause Diagnostic

> Turns your warehouse numbers into a KPI scorecard with exact formulas, trends and the likely root causes behind a drop in OTIF, with the next check for each.

Warehouse KPI Calculator & Root-Cause Diagnostic is a paid AI agent skill on Agensi by KYRON, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [KYRON](https://www.agensi.io/creators/kyron)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/warehouse-kpi-calculator-root-cause-diagnostic
- Tags: business-operations, data-databases, ecommerce, logistics, warehouse

## What it does

- Calculates 14 warehouse KPIs from one simple spreadsheet, from OTIF to space use
- Compares every KPI with your targets or SLA and marks what is off
- Shows which KPIs got better or worse since the last period
- Explains likely root causes, e.g. a timing problem versus ghost stock
- Names the next check and the top 3 actions to fix the biggest issue
- Works with German exports and number formats too

## Who it's for

- **Warehouse and site managers:** Get a weekly scorecard and a clear first fix without building reports. Try: "Here are our last 4 weeks of warehouse numbers, what should we fix first?"
- **E-commerce sellers with own fulfilment:** See why orders ship late or incomplete before customers complain. Try: "Why did our on-time shipping drop this month?"
- **3PL account and operations teams:** Check SLA KPIs per client with transparent formulas you can show. Try: "Check these KPIs against our client SLA: OTIF 98 %, accuracy 99.8 %"
- **Supply chain consultants and students:** Run a fast, documented warehouse health check on client data. Try: "Run a warehouse KPI diagnostic on this CSV"

## About this skill

Give your agent your warehouse numbers (from a WMS export or typed in) and get a KPI scorecard you can trust, plus the likely root causes and what to do first.

**What you get**
- 14 KPIs with fixed, documented formulas: OTIF, on-time, in-full, pick accuracy, lines per picking hour, units received per hour, dock-to-stock, inventory record accuracy, inventory turns, days of inventory, space utilisation, damage rate, return rate, units per labour hour.
- Target check against defaults or your own SLA values.
- Trends against the previous period.
- Cross-KPI diagnosis, e.g. on-time down but in-full fine means a timing problem, low record accuracy plus short shipments means ghost stock, space above 90 % means congestion.
- Top 3 actions with owner role and the KPI that should move.

Missing columns are reported as not computable, never guessed. German exports and number formats (1.234,5 and semicolons) work too. Runs fully offline.

## Requires

- Python 3.8+

The calculator uses only the Python standard library and runs offline. Without Python, the agent calculates by hand with the bundled formula sheet and shows the arithmetic.

## Known limitations

Works on aggregated period numbers, not order-level data, layouts or WMS logs. Default targets are general starting points, not sector benchmarks. Your contract SLAs should replace them. Read and calculate only.

## Technical details

Built for any agent that reads SKILL.md (Claude Code, Codex CLI, Cursor, Gemini CLI). scripts/warehouse_kpi.py: Python 3.8+ standard library. Input CSV with one row per period, oldest first (--template prints the header). Optional --targets JSON to override defaults, --json for full output incl. history. Comma or semicolon separated. Exit code 1 = at least one KPI off target. scripts/test_warehouse_kpi.py: 6 unit tests. references/kpi-definitions.md: formulas, export-column mappings (incl. German terms) and the 8 diagnostic rules. No network, no environment variables.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Warehouse KPI Calculator & Root-Cause Diagnostic skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Which data do I need?

Only what you have. Each KPI needs two or three columns. With orders shipped and OTIF orders you already get the main customer KPI.

### Does it connect to my WMS?

No. It works on a CSV or numbers you paste, so nothing in your systems is touched.

### Where do the targets come from?

The defaults are general starting points. Pass your SLA or contract targets and they replace the defaults.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
