Fair shift schedule in seconds
What you get
List staff, days off they asked for and how many people each shift needs, and get a two-week schedule where nobody works a day shift right after an evening one and hours are spread evenly.
Why this combination
Google's OR-Tools solver is used for airline crews and factories. Joined with the holidays list it adds staff on public holidays by itself.
Parts
What was checked
On November 26, 2026 a script checked all 2 parts: each exists, is not archived, was updated within the last 12 months and has a known licence. The parts were chosen so their inputs and outputs fit together.
Joined and run on made-up data. On November 25, 2026 these projects were installed together and ran this task on made-up data (script in checks/ in the repository). It is not yet a ready tool and nobody has tried it on real data.
Limits, honestly
Labour law limits differ by country: write yours into the rules and check the first schedules by hand.
How to start
It runs on your own computer. Copy the prompt into an AI agent (Claude Code or similar); it installs the parts, joins them, and runs a test with sample data before your real files.
Prompt for your AI agent
Build this for me: Fair shift schedule in seconds. What I want to get: List staff, days off they asked for and how many people each shift needs, and get a two-week schedule where nobody works a day shift right after an evening one and hours are spread evenly. Use these open projects and data: - or-tools: https://github.com/google/or-tools (Apache-2.0) - holidays: https://github.com/vacanza/holidays (MIT) Why this combination: Google's OR-Tools solver is used for airline crews and factories. Joined with the holidays list it adds staff on public holidays by itself. Known limits: Labour law limits differ by country: write yours into the rules and check the first schedules by hand. Run it on my computer. Tell me first what you will install and where. Explain each step in plain words for someone who does not program. Do not ask me for passwords or keys and do not use administrator rights. Before installing anything, check that each project is still maintained and its licence allows my use. Do not add other agent skills, MCP servers or plugins without showing me their code first. When it works, tell me how to open it again. If something does not work, say so plainly.