Scroll AI Now

Agent skill

Shift schedule builder

Build a staff shift schedule that matches coverage to demand while hitting a labor‑cost target. Use when asked to build a shift schedule, staff a rota...

By mohitagw15856 · mohitagw15856/pm-claude-skills · MIT License · ★ 1,614 · 60 lines

New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill

What it does

Shift schedule builder is a business skill from mohitagw15856/pm-claude-skills, a GitHub repo with 1,630 stars.
In short, it gives your assistant a framework for a business decision or task.
The file is 60 lines long and is set out in parts such as “Working from a brief”, “Required Inputs”, “Output Format” and “Coverage plan”.
It is plain instructions, with no code to run.

When to use it

Reach for it when you are working through a plan, a pitch or a customer problem.
Everything it needs is in this one file.
It does not ask for special tools.

Safety check

Our checker read all 60 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It flagged nothing else to watch for.
The text links to 1 outside site.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.

Open in the appOriginal on GitHub

What is inside

How to use it

Read the full guide to using an agent skill

Want your own? How to write an agent skill that works

The full skill

---
name: shift-schedule-builder
description: "Build a staff shift schedule that matches coverage to demand while hitting a labor-cost target. Use when asked to build a shift schedule, staff a rota, plan coverage for a restaurant/retail/shift-based team, or balance labor cost against service. Produces a day-part coverage plan mapped to forecast demand, role-by-role assignments, the projected labor cost vs. target, and the fairness/compliance guardrails (rest between shifts, overtime, availability)."
---

# Shift Schedule Builder Skill

A schedule is a bet on demand: overstaff and you burn margin, understaff and service (and your best people) walk. This skill builds coverage from the demand curve out — enough hands at the rush, lean in the lulls — then checks the labor cost and the human constraints before it's posted.

## Working from a brief

Given the team, hours, and demand pattern, **produce the full schedule** — infer the day-part demand shape from the business type if no forecast is given (label it). Respect stated availability and time-off; never schedule someone into a conflict you were told about.

## Required Inputs

Ask for (if not provided, else infer and label):
- **Team** — names/roles, pay rates or an average, and availability/time-off
- **Operating hours** and the **demand pattern** (covers by day-part, peak times, events)
- **Labor-cost target** (% of revenue or a dollar cap) and any rules (max hours, required rest, minors)

## Output Format

### Coverage plan
Demand mapped to required heads per role per day-part:

| Day-part | Forecast demand | Cooks | Servers | Support | Notes |
|---|---|---|---|---|---|

### The schedule
Person-by-person shifts across the week (start–end, role, station), with total hours per person.

### Labor cost check
Projected labor hours × rates → labor cost, as a % of forecast revenue vs. the target, with the gap and where to trim/add.

### Guardrails flagged
Overtime risk, insufficient rest between close/open ("clopening"), availability conflicts, minor-hour limits, and anyone over/under their expected hours.

## Quality Checks

- [ ] Staffing per day-part is driven by the demand pattern, not flat coverage
- [ ] Projected labor cost is computed and compared to the target
- [ ] No one is scheduled against stated availability or time-off
- [ ] Rest-between-shifts, overtime, and minor-hour rules are checked and flagged
- [ ] Hours are distributed with an eye to fairness, not just cost

## Anti-Patterns

- Flat staffing that ignores the rush-and-lull demand curve
- Posting a schedule without checking the labor-cost %
- Scheduling "clopens" or overtime by accident
- Ignoring stated availability (the fastest way to lose staff)
- Cutting so lean that service and food quality collapse at peak

## Example Trigger Phrases

- "Build a shift schedule."
- "Staff a rota."
- "Plan coverage for a restaurant/retail/shift-based team."

Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/shift-schedule-builder.html

Copyright (c) 2026 Mohit Aggarwal.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.

Are you the author?

This skill passed our automated safety check.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now, passed its automated safety check

Markdown
[![Featured on Scroll AI Now, passed its automated safety check](https://scrollainow.com/badge/safety-checked.svg)](https://scrollainow.com/skills/shift-schedule-builder/)
HTML
<a href="https://scrollainow.com/skills/shift-schedule-builder/"><img src="https://scrollainow.com/badge/safety-checked.svg" alt="Featured on Scroll AI Now, passed its automated safety check" height="28"></a>

More skills

All agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app