Driver hours early warning: AI agent prompt
Check each driver's remaining stops against their driving and shift time to spot likely hours-of-service violations hours before they happen, like the Samsara Agent Studio agent S. Bertram Foods uses.
OperationsFleet complianceintermediateThe prompt
Here's today's route status: [paste: driver, remaining stops with estimated drive and stop times, driving hours used today, shift hours used, hours used this week]. Our limits: [e.g. 11 hours driving, 14-hour shift window, required breaks, weekly limit]. For each driver, estimate when they'll finish and whether they're likely to break a limit, and by how much. List at-risk drivers first, with the time the problem would start and one fix for each (move a stop to another driver, add a break, reorder stops). Flag any missing or odd data instead of guessing.
How to use it
- Copy the prompt above.
- Replace every [bracket] with your own details (or fill in the blanks on AgentPlaybook Real Estate, which remembers your answers for the next prompt).
- Paste it into ChatGPT, Claude, Gemini and review the answer before you use it.
Works with: ChatGPT, Claude, Gemini, Samsara Agent Studio, your telematics/ELD export
Real-world example: thelogisticnews.com/samsara-opens-agent-studio-to-all-customers-as-ai-
Before you use it: what to check
Already built into this prompt
- Flag any missing or odd data instead of guessing.
Check yourself
- Check hours, breaks, overtime and any rules for young workers against your local labour law and staff contracts before you publish a schedule.
- Check names, dates, numbers and any claim against your own source material before you use the answer. AI can misread or invent details.
Using an AI agent? Download this prompt as a SKILL.md agent skill with these checks built in, or get the .zip for Claude.ai. How to install skills.
Want to make this prompt even better? Grade it with the free prompt grader or build your own with the AI prompt generator.
Get the free Solo Founder Stack pack
32 copy-paste agent prompts (PDF) plus 5 new prompts every week.
Get it freeMore Operations prompts
Weekly status reportReporting · beginner · worked exampleWrite an SOP from a messy processSOPs · beginner · worked exampleSprint/project plannerProject planning · intermediateMeeting notes to action itemsMeetings · beginner · worked exampleMissing-documents chaserClient documents · intermediateWeekly staff schedule from your sales forecastStaff scheduling · beginner · worked example