We set up Claude for small & mid-size businesses. See services & pricing
Back to Logistics toolkit

Dock Scheduling & Detention Prevention Brief

Analyze dock appointment data, carrier arrival patterns, and detention/demurrage invoices to produce an action-ready brief that reshapes the daily dock schedule, cuts avoidable detention charges, and protects customer-critical inbound/outbound flows.

Saves ~30 min/briefintermediate Claude ยท ChatGPT ยท Gemini

๐Ÿญ Dock Scheduling & Detention Prevention Brief

Purpose

Analyze dock appointment data, carrier arrival patterns, and detention/demurrage invoices to produce an action-ready brief that reshapes the daily dock schedule, cuts avoidable detention charges, and protects customer-critical inbound/outbound flows.

When to Use

Use this skill when detention and demurrage spend is trending up, when warehouse throughput is falling behind order cadence, when a retailer charges back for late deliveries on their receiving schedule, or when planning a dock-door reallocation (e.g., shifting doors between inbound and outbound as season changes). It is also useful before weekly ops huddles to surface the 3โ€“5 schedule changes that will deliver the most relief.

Required Input

Provide the following:

  1. Dock appointment log โ€” Scheduled vs. actual arrival, dwell time per door, appointment type (live load, drop, cross-dock), carrier, commodity, and any no-show or late-arrival flags
  2. Detention/demurrage invoices โ€” Dollar amounts, carriers billing the charges, shipment identifiers, and claimed start/stop times so you can confirm whether each charge is legitimate vs. disputable
  3. Facility constraints โ€” Number of doors, staffed hours, forklift/labor capacity by shift, any customer-specific appointment rules (e.g., retailer MABD windows)
  4. Priority cues โ€” Strategic customers, high-margin lanes, or perishable/temperature-controlled freight that must not slip

Input Modes

  • Mode A โ€” Appointment log only (minimum viable). Block 1 alone. The brief profiles the book, finds choke points, estimates detention exposure from dwell beyond the free-time in config (default 2 hours if unset), and proposes slot changes. Facility constraints and priority cues resolve from config.yml (see Config hooks).
  • Mode B โ€” Log + detention invoices. Adds block 2. Unlocks the legitimate-vs-disputable split and the ready-to-send dispute notices.
  • Mode C โ€” Full. Adds blocks 3โ€“4 as run-specific overrides (a seasonal door reallocation, a new retailer MABD rule). Unlocks the staffing plan and the customer-receiving messages.

Ask-only-if-blocking rule. The only hard stop is having no appointment or gate data at all. Do not ask for door counts, shift hours, or customer rules that config already holds; if config is silent, state the assumption in the brief's header (e.g., "assumed 2-hour free time, 10 doors, one shift") and proceed. Missing invoice timestamps make a charge unverifiable โ€” request ELD/gate record, not a reason to wait.

Instructions

You are a warehouse and yard operations manager's AI assistant. Your job is to transform messy dock data into a concise brief that pinpoints scheduling friction, quantifies the cost of status quo, and proposes specific, testable changes.

Before you start:

  • Load config.yml from the repo root for facility profile, SLA tiers, and any customer-specific receiving rules
  • Reference knowledge-base/terminology/ for correct terms (detention vs. demurrage, MABD, dwell time, live load vs. drop-hook)
  • Reference knowledge-base/regulations/ if hours-of-service or hazmat staging rules apply
  • Use the company's communication tone from config.yml โ†’ voice

Config hooks (personalization): resolve before analysis, each with a fallback:

  • facilities.<site> โ€” door count, door types (live / drop / cross-dock), staffed hours, labor and forklift capacity by shift (fallback: infer from the log's max concurrent doors and first/last appointment times, and flag)
  • detention.free_time_hours and detention.rate_per_hour by carrier contract (fallback: 2 hours free, then the rate billed on the invoice)
  • customers.receiving_rules โ€” MABD windows, retailer appointment portals, chargeback schedules (fallback: none assumed; flag any retailer in the log as "rules not on file")
  • customers.priority_tiers and services.specialties โ€” which freight must never be bumped (fallback: temperature-controlled and hazmat first)
  • tools.yard_management / tools.scheduling โ€” name the actual appointment system the slot-policy change must be made in
  • voice.tone / voice.never_use โ€” carrier and customer message wording

Process:

  1. Pick the mode and clear the gate โ€” Identify Mode A/B/C, load the facility profile and contract free-time from config, write the assumptions line at the top of the brief, and proceed without a clarification round.
  2. Profile the appointment book โ€” Bucket appointments by hour-of-day, day-of-week, appointment type, and carrier. Flag chronic choke points (e.g., Monday 0700โ€“0900 is 140% of dock capacity; Friday 1500+ is under-utilized)
  3. Quantify the detention exposure โ€” Segment detention dollars by: carrier-caused (late arrival, no-show), facility-caused (labor shortage, door blocked), customer-caused (late release of BOL, receiving refusal), and shared/ambiguous. Separate legitimate from disputable charges based on contractual free-time, ELD-backed timestamps, and gate records
  4. Identify the top friction drivers โ€” Rank the top 5 root causes by dollar impact and by frequency. Typical categories include: over-booked early-morning slots, live-load commodities scheduled on drop doors, carriers missing appointments without penalty, BOL/seal prep lagging the driver
  5. Propose schedule changes โ€” For each friction driver, recommend one concrete change (e.g., "Shift 30% of Monday 0700 inbound to 1000โ€“1400 slots; reward carriers with guaranteed unload within 30 min of appointment"). Estimate the dollar and throughput impact
  6. Draft carrier and customer communications โ€” Produce ready-to-send messages:
    • Carriers โ€” New slot policy, free-time reminder, any disputable detention notifications
    • Customer receiving teams โ€” Updated MABD expectations if you are the shipper; updated appointment commitments if you are the 3PL/warehouse
    • Internal ops team โ€” Staffing and door-assignment adjustments for the next 2 weeks
  7. Set measurement checkpoints โ€” Define the KPIs to watch (avg. dwell time, detention $ per 100 appointments, on-time appointment %) and the review cadence (e.g., 2-week pilot review)

Output requirements:

  • One-page executive brief at the top, followed by supporting detail
  • Every recommendation tied to a specific dollar or throughput impact estimate
  • Disputable detention line items called out with the evidence needed to challenge them
  • No generic "improve communication" recommendations โ€” every action is specific and assignable
  • Correct industry terminology (detention vs. demurrage, accessorial, dwell, turn-time)
  • Saved to outputs/ if the user confirms

Example Output

Scenario: 14-door, single-shift cross-dock in Greer, SC (Tier-2 facility per config.yml) servicing a mix of OEM inbound + retail outbound. April detention spend ran $14,820 on 612 inbound appointments (15.4% no-show or late-arrival rate); the OEM customer is threatening to chargeback for two missed primary-tender lanes the prior week. Run requested for the 2026-05-26 weekly ops huddle, covering the four weeks 2026-04-27 โ†’ 2026-05-24. Input: appointment log + detention invoice register + facility constraints + the OEM and retail priority cues.


Executive brief (one page)

Greer cross-dock ran $14,820 in detention charges across 612 inbound appointments in the past 4 weeks (avg $24/appt; 41% of charges are disputable on ELD-backed timestamps). The top friction driver is Monday 06:30โ€“08:30 over-bookings at 148% of dock-staffed capacity while Friday 14:00โ€“17:00 runs at 38% โ€” a window-slide of 30% of the Monday-AM load to Friday-PM yields ~$5,800/cycle in avoided detention plus restores the OEM primary-tender on-time rate from 88% to a projected 96%+. Disputable detention totals $6,074 across 9 invoices where the carrier billed past the 2-hour free-time window but the ELD shows the driver arrived before the appointment and the BOL release timestamp lagged โ€” these are filed back to the carriers this week with the gate-log evidence. Three named schedule changes proposed below, each with dollar impact and a 2-week pilot review on 2026-06-09.

Detention exposure โ€” segmented by cause

Cause$ Last 4 wks% of totalDisputable $Notes
Carrier-caused (late arrival, no-show)$4,21028%$0Late-arrival penalties under carrier-side contractual terms; not disputable
Facility-caused (door blocked, labor short, BOL lag)$8,53558%$6,074$6,074 disputable on ELD evidence (driver arrived on time, BOL release lagged); $2,461 legitimate facility detention (forklift driver out wk of 05-11)
Customer-caused (receiving refusal, late release)$1,42010%$0Two OEM-side late BOL releases on 05-06 and 05-13; billed back to OEM under master agreement clause ยง4.3
Shared / ambiguous$6554%$0Three appointments with no ELD record (manual logbook driver) โ€” not disputable without ELD evidence
Total$14,820100%$6,074 (41%)

Top 5 friction drivers (ranked by $ impact + frequency)

#Friction driver$ Impact / 4 wksFrequencyFix proposed
1Monday 06:30โ€“08:30 over-booking at 148% capacity$4,820 (32% of detention)4 of 4 MondaysSlide 30% of Monday-AM inbound to Friday-PM (~$5.8K avoided/cycle)
2BOL/seal prep lagging driver arrival (avg 38 min lag)$3,210 (22%)27 occurrencesPre-stage BOLs at the shift start; pilot with the 06:00 outbound cluster
3Live-load commodities scheduled on drop doors 4, 7, 9 (cross-traffic)$2,440 (16%)18 occurrencesRe-designate doors 4 & 7 as live-load-only Mon/Wed/Fri; doors 9 stays drop
4No-show carrier penalty not enforced (carrier-side, repeat offenders)$1,560 (11%)9 no-showsSend Notice-of-Repeat-No-Show letter to the two repeat carriers; trigger penalty clause ยง6.2
5Forklift driver coverage gap wk of 05-11$1,250 (8%)1 weekCross-train two checkers as backup forklift drivers; complete by 06-30

Proposed schedule changes

  1. Slide Monday-AM inbound โ€” 30% of 06:30โ€“08:30 appointments to Friday 14:00โ€“17:00. Owner: M. Reyes (yard coordinator). Timeline: new schedule posted in the appointment portal by 2026-05-28 EOD, effective Monday 2026-06-01. Estimated impact: $5,800/cycle avoided detention + restores OEM primary-tender on-time from 88% โ†’ projected 96%+; protects against the OEM chargeback risk on the next two primary tenders. Pilot review 2026-06-09; if on-time rate < 94% rollback to the prior schedule. No incremental labor cost โ€” same staff hours, reallocated across the week.
  2. Re-designate doors 4 and 7 as live-load-only on Mon / Wed / Fri. Owner: J. Park (shift supervisor). Timeline: dock-door schematic updated by 2026-05-29 EOD; gate-house notified same day. Estimated impact: $2,440/cycle avoided cross-traffic detention + 12 min average dwell reduction on live-load commodities. Pilot review 2026-06-09. No incremental cost.
  3. Pre-stage BOLs at shift start โ€” pilot on the 06:00 outbound cluster only. Owner: T. Nguyen (shipping clerk lead). Timeline: SOP updated by 2026-05-29 EOD; pilot starts 2026-06-01. Estimated impact: $1,600/cycle (50% of the $3,210 BOL-lag detention โ€” proportional to the cluster's share of total outbound) + 25 min average lag reduction on the 06:00 cluster. Pilot review 2026-06-09; expand to all clusters if BOL-lag drops below 15 min. No incremental cost โ€” workflow re-sequencing only.

Ready-to-send messages

To the two repeat-no-show carriers (template โ€” fill carrier name and load IDs):

Subject: Notice of repeat-no-show appointments โ€” [Carrier] โ€” [Period]

Per the master transportation agreement ยง6.2 (No-Show and Late-Arrival Penalties), the following appointments at our Greer, SC cross-dock were no-show or > 2 hours late without same-day notice in the past 4 weeks:

  1. [PRO #] โ€” [Date / appointment window] โ€” no-show
  2. [PRO #] โ€” [Date / appointment window] โ€” 3 hr 14 min late, no notice
  3. [PRO #] โ€” [Date / appointment window] โ€” no-show

Per ยง6.2, the per-occurrence penalty of $150 applies; aggregate $450 will be deducted from the next remit cycle (2026-06-05 settlement). To avoid future deductions, please notify our dispatch desk at least 60 minutes ahead of any missed window. Repeat occurrences after this notice may trigger a routing-guide suspension review.

Dispatch desk: (864) 555-0184 | dispatch@[company].com | weekly hours 06:00โ€“18:00 ET.

To the OEM customer's receiving / inbound logistics team (BOL-lag callback):

Subject: Greer cross-dock โ€” Monday inbound schedule change effective 2026-06-01

We are sliding 30% of our Monday-AM inbound window (06:30โ€“08:30) to Friday-PM (14:00โ€“17:00) effective 2026-06-01 to restore primary-tender on-time rates after a 4-week run at 88%. The shift releases 4 dock-hours of Monday capacity that we will reserve for your OEM primary lanes; we will hold your two missed primary tenders from wk of 05-13 against the schedule-change effective date and re-tender by 2026-06-05. No action required on your end; please flag any receiving-window dependencies your team has with us by 2026-05-29 EOD so we can lock the schedule.

Two OEM-side BOL releases on 05-06 and 05-13 ran past our 2-hour free-time window (the detention is being billed back under master agreement ยง4.3 โ€” separate invoice 2026-06-01). Happy to walk through the timestamps on a 15-min call this week.

M. Reyes โ€” yard coordinator, Greer SC

To the internal ops team (staffing and door-assignment for the next 2 weeks):

Subject: Greer dock โ€” 2-week schedule changes effective Monday 06-01

Three changes going live Monday 2026-06-01 (2-week pilot, review 2026-06-09):

  1. Monday inbound slide โ€” 30% of 06:30โ€“08:30 appts moved to Friday 14:00โ€“17:00. Door assignments in the portal; gate-house list reprinted Friday 05-29.
  2. Doors 4 & 7 live-load-only Mon/Wed/Fri. Schematic updated 05-29; door signs swapped before 06:00 Monday.
  3. Pre-staged BOLs for the 06:00 outbound cluster. New SOP in the shared drive; T. Nguyen owns. Cross-train two checkers (P. Akande, L. Cho) as backup forklift drivers by 06-30 to close the wk-of-05-11 coverage gap.

Disputable detention claw-back ($6,074 across 9 invoices) being sent to carriers this week with ELD + gate-log evidence per the SOP. Filed under outputs/detention-disputes-2026-05-26/.

Measurement checkpoints (2-week pilot review 2026-06-09)

KPIBaseline (last 4 wks)Target (2-wk pilot)Trip-wire (rollback)
Avg dwell time (inbound, live-load)84 minโ‰ค 65 min> 90 min
Detention $ per 100 appts$242โ‰ค $150> $260
On-time appointment % (OEM primary lanes)88%โ‰ฅ 96%< 94%
Mon 06:30โ€“08:30 door utilization148%105โ€“115%> 130% sustained
Friday 14:00โ€“17:00 door utilization38%65โ€“85%< 50% (under-fill)

Internal notes

  • Snapshots: appointment log pulled 2026-05-25 EOD ET (TMS appointments module, 4-wk window); detention invoice register pulled 2026-05-25 EOD ET (AP module + carrier-portal cross-check); ELD timestamps verified on the 9 disputable invoices via carrier-portal pulls 2026-05-25 18:00โ€“20:00 ET.
  • Assumptions made: (1) OEM master agreement ยง4.3 (customer-caused detention billed back to OEM) and ยง6.2 (carrier no-show penalty $150/occurrence) are the controlling clauses โ€” confirmed against the 2026-01-15 contract redline. (2) The Friday 14:00โ€“17:00 window has the dock-staffed capacity to absorb 30% of the Monday-AM slide (verified against the shift schedule and the gate-house door-utilization rolling 4-wk). (3) The two missed OEM primary tenders are held under the schedule-change clause, not the force-majeure clause โ€” if the OEM disputes, the fallback is the standard routing-guide-secondary at +12% cost (covered in the OEM's annual freight budget per config.yml).
  • Saved to outputs/dock-scheduling-brief-greer-2026-05-26.md (if confirmed).

This skill is kept in sync with KRASA-AI/logistics-ai-skills โ€” updated daily from GitHub.

Done for you

Get Claude set up for your whole logistics team

We build these skills around your own templates, pricing and SOPs, connect Claude to the software you run, and train your team by role. 2 weeks, fixed price.

  • Skills tailored to your business
  • Connected to your systems
  • Team trained by role

Claude Deployment Sprints start at $10,000. See what's included