Skip to content
Skillpedia
Analysis & spreadsheets33k · #8866

otif-analysis

What it does

This skill audits delivery performance from order-level records and computes on-time, in-full measures. It is for operations and customer teams checking why customers complain despite good delivery scores.

When to use it

  • ✓When you want an honest on-time delivery number from your order data.
  • ✓When customers complain about deliveries even though my report looks good.
  • ✓When you want to find which carriers, regions or products cause the most late orders.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/otif-analysis/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/operations/otif-analysis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Analyze my order file and tell me our real on-time, in-full rate and where the late orders come from.”

5 new skills a week. 1 minute to read.

How it works

The agent checks the data for duplicates and impossible dates, computes a ladder of delivery measures from loose to strict, and breaks down where lateness is concentrated.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

OTIF Analysis

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

  1. 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.
  2. 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).
  3. 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.
  4. 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.
  5. 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

  1. The ladder table (definition, result %, delta, cause)
  2. Three finding sentences, each: what moved / where it concentrates / what decision it needs
  3. 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.

FAQ

What if I do not have requested dates?

The skill says only the promised-date measures can be computed, and it recommends capturing requested dates from now on.

Does it hide cancelled orders?

No. It requires the counts and the treatment of cancelled orders to be reported.

What is the strictest measure?

On-time in-full, meaning the order is complete and delivered on the date the customer requested.

Details

Original description by the author

Audit delivery performance from order-level data - compute the OTIF metric ladder (tolerant to strict), find where lateness concentrates, and quantify the gap between the reported KPI and what customers experience. Use when the user mentions OTIF, on-time delivery, delivery performance, late orders, teslimat performansı, zamanında teslimat, or asks why customers complain despite a high on-time score. Differentiator - exposes measurement choices before optimizing operations.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8866
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills