OTIF Analysis
SkillMonitoring & opsotif-analysis is a skill that audits delivery performance from order-level data. It computes the OTIF metric ladder from tolerant to strict, finds where lateness concentrates, and quantifies the gap between the reported KPI and what customers experience. Use it when the user mentions OTIF, on-time delivery, delivery performance, or late orders.
Use OTIF Analysis in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add OTIF Analysis and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the OTIF Analysis skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Ensure you have order-level delivery data available, including promised and actual delivery dates.
What your AI can do with it
- Compute OTIF metrics at multiple tolerance levels
- Identify where late deliveries concentrate
- Quantify gap between reported KPI and customer experience
- Analyze order-level delivery data for lateness patterns
Getting started
- Ensure you have order-level delivery data available, including promised and actual delivery dates.
- Add the otif-analysis skill to your agent's available skills.
- Configure the skill with the location of your order data.
- Ask your agent to audit delivery performance using the skill.
What this skill tells your AI
The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/operations/otif-analysis/SKILL.md and read by ahel’s review.
Most "delivery problems" are measurement problems first. Before recommending any operational fix, establish what the honest number is and which definition choices inflate the reported one.
Required data
Order-level rows with: order_id, requested_delivery_date (what the customer asked for), promised_delivery_date (what was confirmed), actual_delivery_date, completeness info (lines ordered vs delivered, or qty ordered vs delivered), and a status/cancelled flag. Useful cuts: carrier, region, customer, product family.
If requested_delivery_date is missing, say so explicitly: only the promised-date rungs are computable, and the analysis cannot see sales-padding. Recommend capturing the requested date going forward.
Workflow
- Validate before computing. Count duplicated order rows; flag impossible dates (actual before order date); count cancelled orders and state how they will be treated. Report these counts in the output - an audit that silently cleans data is not an audit.
- Compute the metric ladder on the same population, strictest last:
- L1: on-time vs promised date, with the tolerance window currently in use (ask what it is; if unknown, show +3 days and label it)
- L2: on-time vs promised, zero tolerance
- L3: on-time vs requested, zero tolerance
- L4: OTIF = on-time vs requested AND order complete (all lines / full qty). In-full is judged at order level - a 9-of-10-lines delivery is not 90% on-time, it is one incomplete order
- L5: OTIF with cancelled orders kept in the denominator Present the ladder as a table with the delta and the cause of each drop (tolerance, padding, partials, cancellations).
- Decompose the gap. For the dimension with the largest spread (try carrier, region, month, customer, product family), show OTIF per segment. Name the concentrated driver, not just the average.
- Analyze the tail, not the mean. Average lateness hides the distribution. Report the share of orders 4+ days late and the worst decile - those are the orders customers remember.
- Reconcile before reporting. Recompute the headline OTIF once more directly from raw rows (single pass, no intermediate tables) and confirm it matches. If it does not, stop and find out why.
Pitfalls to check explicitly
- Anchor choice: promised-date metrics hide sales padding. Compute average (promised - requested) days; if > 0.5, quantify its KPI effect.
- Tolerance windows are policy, not truth. Show the tolerance-sensitivity curve if the tolerance is contested.
- Cancelled orders quietly leaving the denominator flatter the metric.
- Line-level averaging overstates performance versus order-level in-full.
Output format
- The ladder table (definition, result %, delta, cause)
- Three finding sentences, each: what moved / where it concentrates / what decision it needs
- A definitions footnote stating anchor date, tolerance, in-full rule and cancellation treatment - so the number cannot be misread
Worked example with charts and synthetic data: https://github.com/gulmezeren2-byte/otif-analytics
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.
Signals
- GitHub stars
- 32k
- Forks
- 4k
- Last commit
- Oct 2026
Questions
- What is the OTIF metric ladder?
- The OTIF metric ladder refers to computing on-time-in-full performance at multiple tolerance levels, from tolerant to strict, to see how delivery reliability changes with stricter definitions.
- How does it find where lateness concentrates?
- It analyzes order-level data to identify patterns or groupings where late deliveries are most common, such as by region, carrier, or time period.
- Can it quantify the gap between reported KPI and customer experience?
- Yes, it compares the reported OTIF KPI with the actual delivery performance experienced by customers, highlighting discrepancies.
- What data do I need to use this skill?
- You need order-level data that includes at least promised delivery dates and actual delivery dates for each order.
Advanced
- Item type
- skill
- Key
otif-analysis- Source
- github.com/davila7/claude-code-templates
github.com/davila7/claude-code-templates
More in Monitoring & ops
Skill · anthropics
More in Monitoring & opsagent-eval
Skill · affaan-m
More in Monitoring & opsdashboard-builder
Skill · affaan-m
More in Monitoring & opsbabysit
Skill · thedotmack
More in Monitoring & opseng-runbook
Skill · nexu-io
More in Monitoring & opsweekly-update
Skill · nexu-io
More in Monitoring & ops