You ask in plain words
With whatever notes or documents you already have.
Does next week’s rota cover every role at the right level?
Check the booking desk between 09:00 and 13:00.
Your notes
Role DESK needs two people throughout. One timezone. N works 09:00-13:00, breaks 11:00-11:30. K works 09:00-12:00, no break. L works 12:15-13:00. No other assignments.
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
The booking desk is one person short from 11:00 to 11:30 during N’s break, and from 12:00 to 12:15 between K and L. Arrange 45 staff-minutes of relief across those two windows.
- A whole-day average can look adequate while lunch breaks leave a service uncovered.
- Two overlapping rows for the same employee are one person, even when the rota export lists two activities.
- Treating a shift that ends at 12:00 as covering 12:00 creates a hidden gap at every handover.
- Counting one multi-skilled person in two roles at the same time.
- Using surplus staff in one hour to cancel a shortage in another.
Why that’s right. Cover resumes when the break ends, then a separate gap opens after K finishes.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- A manager wants to know whether next week's rota covers every desk or role at the required level.
- Lunch breaks, part shifts or absences might leave a counter or phone line short.
- Staff can cover more than one role and someone asks whether any assignment could cover everything.
Not the right skill when
- Building a rota from scratch. The method checks a proposed rota.
- Detailed working time compliance such as opt-outs, night work or young workers' rules. In the UK, check GOV.UK or Acas guidance.
- Forecasting how many staff each hour needs. The required headcount is an input.
The method it follows
6 steps, in order, every time.
- Normalise times to one service day and timezone. Clip shifts and requirements to the service window, splitting across midnight where needed. Use half-open intervals: a shift ending at 12:00 does not cover work starting at 12:00.
- Set interval boundaries wherever demand, a shift or a break changes. For each interval, count distinct eligible people for the role after removing breaks, absences and other commitments. Two rows for the same person are one person.
- Check that the breaks the rota will need are shown. In the UK, GOV.UK guidance gives workers over 18 an uninterrupted 20-minute break when they work more than 6 hours a day; a long shift with no break listed means cover will drop at a time the rota does not show. Elsewhere, check the local rules.
- Calculate the shortage as demand less people available, where positive. Merge adjoining intervals with the same role and shortage. Keep surplus in other hours separate; it does not offset a gap.
- Multiply each shortage by the interval length to get staff-minutes short.
- For multi-skilled staff, separate the posted assignment from a feasibility check. For feasibility, honour fixed seats, then match people to the remaining eligible seats, each person at most once per interval. If several roles could take an unavoidable shortfall, report the number of uncovered seats and the possible roles without claiming which desk was empty.
What to have ready
If something’s missing, your agent asks before it starts.
- Service window and required simultaneous headcount by role
- Named shifts, breaks, absences, role skills and staff already committed elsewhere

What hours does each role need covering, and how many people at each time?

Does the rota include breaks, absences and training, or only shift start and end times?

Which staff can cover which roles?

Are some people fixed to a role, or can anyone be moved?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionWhere are we below cover between 14:00 and 15:00? Return only JSON following the skill’s test format. Role PHONE needs 2 until 14:30 and 1 from 14:30. Sam PHONE shift 14:00-15:00; duplicated booking for Sam under PHONE 14:00-14:45. No other person.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
Duplicated roster rows cannot create a second operator.
{
"gaps": [
{
"role": "PHONE",
"start": "14:00",
"end": "14:30",
"short": 1
}
],
"staff_minutes_short": 30
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionCould this team cover all required roles regardless of how we assign them? Return only JSON following the skill’s test format. 09:00–12:00 require one BARISTA and one SUPERVISOR continuously. Maya qualifies for either throughout, Ali only BARISTA 09:00–11:00, Bea only BARISTA 11:30–12:00. No breaks, commitments or fixed assignments.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
Maya covers supervisor while Ali or Bea covers barista. When alone Maya can take either role, leaving one 30-minute seat uncovered.
{
"gaps": [
{
"possible_roles": [
"BARISTA",
"SUPERVISOR"
],
"start": "11:00",
"end": "11:30",
"short": 1
}
],
"staff_minutes_short": 30
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.