From hourly demand history to staff per hour and shifts
Price: ¥1,500
See what it does and cannot doFind rota gaps and rule breaches before staff see it
Price
¥1,500
One-time purchase. Download immediately. Works in the assistant you already have.
A draft and first-pass check. Have the responsible person review the result before acting on it.
Give it a draft schedule, the staffing you need per hour and your own labour rules. It returns hour-by-hour coverage gaps, overstaffing, rule breaches per employee with the rows behind them, and tested swap suggestions.
For this one task you may not need a subscription: this agent file does it in the AI assistant you already use, for a one-time price.
What it covers: The coverage and rule-check step of scheduling software, using only the rules the manager supplies.
What it does not replace:
Need those? Compare the software: AI Workforce Scheduling Software Comparison 2026
We loaded this file into Claude (Sonnet) and gave it an example input written by our editors. Results vary with your input and the assistant you use.
Draft rota for Mon to Wed next week, one site, everyone is on role Floor. Times are local, a shift can cross midnight (Evan's Wednesday night shift ends 06:00 Thursday). Breaks are recorded as length only (30 min each). Requirement: 2 people on Floor between 07:00 and 15:00, and 2 people between 15:00 and 23:00, every day. Nothing is required after 23:00. My rules (from our own staff handbook, not checked against any law): (1) no more than 9 hours on a shift (not counting the break), (2) at least 10 hours rest between the end of one shift and the start of the next. Week runs Monday 00:00 to Sunday 24:00. No approved time off. Schedule (employee, day, start, end, role, break): Ana,Mon,07:00,15:00,Floor,30 min break Ben,Mon,07:00,15:00,Floor,30 min break Cleo,Mon,15:00,23:00,Floor,30 min break Dev,Mon,15:00,21:00,Floor,30 min break Ana,Tue,07:00,15:00,Floor,30 min break Cleo,Tue,07:00,15:00,Floor,30 min break Dev,Tue,15:00,23:00,Floor,30 min break Evan,Tue,15:00,23:00,Floor,30 min break Ana,Wed,07:00,15:00,Floor,30 min break Dev,Wed,08:00,18:00,Floor,30 min break Ben,Wed,15:00,23:00,Floor,30 min break Evan,Wed,22:00,06:00,Floor,30 min break Use your stated defaults for anything I have not specified, list the assumptions you made, and give me the full output now.
# Shift coverage gap check: Floor, Mon-Wed **Defaults I relied on (you did not answer these):** - **Grid:** 30-minute slots. Near-miss warning threshold: within 1 hour of a limit. - **Rules:** I did not wait for you to confirm my reading of them. Both are applied per person and per shift (pair): R1 net of the 30-minute break, R2 between the end of one shift and the start of the next. Tell me if I misread either. - **Cross-midnight day:** I attributed Evan's Wed 22:00-06:00 shift to Wednesday for the daily limit. This is unresolved, but the result is the same either way, because the shift is 8 h gross (7.5 h net) and R1 is not close to breached. - **Split shifts:** Nobody works two shifts in one day, so that question does not arise. - **Skills:** You gave no skill list, so I assumed everyone holds Floor. - **Breaks:** Only the length is recorded, so I did not deduct them and counted everyone as present for the whole shift (see section 7). - **Method:** The data is small (12 rows), and I calculated it by hand rather than running code. Please spot-check the sums in section 6. Row numbers follow your list: 1 Ana Mon, 2 Ben Mon, 3 Cleo Mon, 4 Dev Mon, 5 Ana Tue, 6 Cleo Tue, 7 Dev Tue, 8 Evan Tue, 9 Ana Wed, 10 Dev Wed, 11 Ben Wed, 12 Evan Wed. ## 1. Rules I tested Supplied by you (staff handbook); not checked against any law. 1. R1: no more than 9 hours per shift, not counting the break. This applies to all staff. 2. R2: at least 10 hours between the end of one shift and the start of the next. This applies to all staff. Week: Monday 00:00 to Sunday 24:00. No approved time off. ## 2. Summary - **Gaps:** 7 people-hours short (Mon 2, Wed 5). - **Overstaffing:** 0 people-hours. - **Breaches:** 3. **Warnings:** 0. - **Most urgent:** 1. Wed 18:00-22:00 has only 1 person on Floor (4 people-hours short). 2. Dev's Wednesday shift breaches both R1 and R2. 3. Cleo has only 8 h rest between Mon and Tue (R2 breach), and Mon 21:00-23:00 is short by 1. - The person responsible for compliance must check the rules and the result. ## 3. Coverage windows | Day | Window | Role | Required | Scheduled | Difference | |---|---|---|---|---|---| | Wed | 18:00-22:00 | Floor | 2 | 1 (Ben, row 11) | -1 | | Mon | 21:00-23:00 | Floor | 2 | 1 (Cleo, row 3) | -1 | | Wed | 07:00-08:00 | Floor | 2 | 1 (Ana, row 9) | -1 | All other windows from 07:00 to 23:00 on Mon, Tue and Wed meet the requirement of 2 exactly. No window is overstaffed. Evan's Wed 23:00-Thu 06:00 falls outside any stated requirement, so I report it as outside hours, not overstaffing. ## 4. Rule breaches and warnings | Employee | Rule | Limit | Actual | Rows | Type | |---|---|---|---|---|---| | Dev | R1 | 9 h | 9.5 h (10 h minus 0.5 h break) | 10 | Breach | | Dev | R2 | 10 h | 9 h (Tue 23:00 to Wed 08:00) | 7, 10 | Breach | | Cleo | R2 | 10 h | 8 h (Mon 23:00 to Tue 07:00) | 3, 6 | Breach | - **Passed:** Ana's rest is 16 h and 16 h, Ben's is 48 h, Dev's Mon to Tue is 18 h, and Evan's Tue to Wed is 23 h. Every other shift is at most 7.5 h net. - **No warnings:** nothing falls within 1 hour of a limit. ## 5. Suggested swaps Each swap was re-tested against R1 and R2. Together they leave every slot at exactly 2. | Gap window | Move who | From | To | Rules re-tested | Result | |---|---|---|---|---|---| | Mon 21:00-23:00 | Dev | Mon 15:00-21:00 | Mon 15:00-23:00 | R1: 8 h gross, 7.5 net. R2: Mon 23:00 to Tue 15:00 = 16 h. | Gap closed, no new breach. | | Mon 21:00-23:00 (alternative) | Evan | Not scheduled Mon | Mon 21:00-23:00 | R1: 2 h. R2: Mon 23:00 to Tue 15:00 = 16 h. | Gap closed. It is a 2 h shift, so the manager decides if that is workable. | | Wed 07:00-08:00 and 18:00-22:00, plus Dev's R1 and R2 breaches | Cleo | Not scheduled Wed | Wed 07:00-15:00 | R1: 8 h gross, 7.5 net. R2: Tue 15:00 to Wed 07:00 = 16 h. | Closes the Wed 07:00-08:00 gap. | | (same) | Dev | Wed 08:00-18:00 | Wed 15:00-22:00 | R1: 7 h. R2: Tue 23:00 to Wed 15:00 = 16 h. | Closes the Wed 18:00-22:00 gap and clears both Dev breaches. Wed 22:00-23:00 stays at 2 (Ben and Evan). | | No gap: fixes Cleo's R2 breach | Ben | Not scheduled Tue | Tue 07:00-15:00 (takes Cleo's Tue shift, row 6) | Ben: R1 8 h. R2: Mon 15:00 to Tue 07:00 = 16 h, and Tue 15:00 to Wed 15:00 = 24 h. Cleo: Mon 23:00 to Wed 07:00 = 32 h. | Cleo's breach cleared, Tue 07:00-15:00 still has 2 (Ana and Ben). | **After all swaps:** Ana 24 h, Ben 24 h, Cleo 16 h, Dev 23 h, Evan 16 h (gross), which totals 103 h. That is the 96 h required plus 7 h of Evan's outside hours, so nothing is idle. There are no breaches and no gaps. You supplied no weekly limit, so I did not test one. These are suggestions for a manager to accept or reject. ## 6. Reconciliation - **(a)** Ana 24 + Ben 16 + Cleo 16 + Dev 24 + Evan 16 = **96 h**. The sum of the 12 rows is also 96 h (ten 8 h shifts, one 6 h, one 10 h). - **(b)** 96 h scheduled = 89 h inside requirement windows + 7 h outside any requirement (Evan, Wed 23:00-Thu 06:00) + 0 h breaks deducted. - **(c)** Required 96 h (16 h × 2 people × 3 days) minus covered 89 h = 7 h, which equals gap 7 h minus overstaffing 0 h. - No approved time off was given, so none conflicts with a shift. *(Shortened for this page: the remaining sections of the output are not shown.)*
Model: Claude Sonnet · Run on 2026-11-28
Shift managers in retail, hospitality, care or support teams who build rotas in spreadsheets.
AIpedia's editors wrote this agent and reviewed it before it was listed.
Scored by AIpedia's editors when they reviewed the file: usefulness, depth of method, clarity of output. It decides the order on this site until there are sales.
Comparing software for this job? See AI Workforce Scheduling Software Comparison 2026
More agents for AI Workforce Scheduling Software →Agents for Human resources →Agents for Operations and supply chain →
From hourly demand history to staff per hour and shifts
Price: ¥1,500
See what it does and cannot doOne purchase covers one person or one organisation. You may edit your copy for that use; you may not resell it or share it outside your organisation. If the file does not do what this page says, tell us, ideally within 14 days, and we will fix it or refund you.
Read the terms of sale and licence →