Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    shift rota planner

    1

    Automated staff shift scheduling with role-based constraints, labor law validation, and Excel/HTML exports.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    shift rota planner

    shift rota planner

    Example session with this skill installed

    I need a rota for next week starting Monday. We have 3 baristas (Alex, Sam, Jo) and 2 supervisors (Pat, Mel). Shifts are Morning (07-15) and Late (15-23). Need 1 of each role per shift.

    • Read your context and instructions
    • Compiled the shift rota planner

    I have processed the requirements for your staff rota. I used the standard 11-hour rest rule and a 40-hour weekly maximum per person. The solver has successfully allocated all shifts while respecting everyone's roles.

    Rota · Week of Monday, Oct 23 · ✅ All Covered

    PersonMonTueWedThuFriSatSunHours
    Alex (B)MORNMORN-LATELATEMORN-40
    Sam (B)LATE-MORNMORN-LATEMORN40
    Jo (B)-LATELATE-MORN-LATE32
    Pat (S)MORNMORNLATELATE-MORNMORN48
    Mel (S)LATELATEMORNMORNLATELATELATE56

    Status Summary:

    • Coverage: All 14 shifts are fully staffed.
    • Constraints: All staff have at least 11 hours between shifts.

    Note: Mel is currently at 56 hours to cover the supervisor gap; you may want to check if this exceeds their preferred maximum.

    Files generated:

    • rota-output/rota.xlsx (Full details and hours breakdown)
    • rota-output/rota.html (Print-ready landscape schedule)

    Next steps

    1. Review Mel's hours to ensure the 56-hour total is acceptable for this week.
    2. Download rota.html to print and post in the staff room.
    3. Tell me if you need to swap any shifts, and I will re-validate the rules.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Managing staff schedules across hospitality, retail, or clinical environments often results in a mess of spreadsheets and broken labor laws. This skill automates the complex combinatorics of shift planning while keeping you in control of the final decision. It translates manager requirements into optimized schedules that respect contract hours, role requirements, and mandatory rest periods.

    What it does

    • Role-based allocation matches specific shifts to staff based on their qualified roles and skills.
    • Constraint management enforces weekly hour maximums, minimum rest windows, and maximum consecutive work days.
    • Conflict resolution identifies why shifts remain uncovered and proposes specific trade-offs to fix them.
    • Multi-format export generates Excel workbooks for payroll and printable HTML layouts for staff rooms.
    • Rota validation checks manual edits against original rules to ensure no labor laws or contracts were accidentally broken.

    How it works

    1. Fact gathering involves providing the skill with staff lists, roles, and shift requirements via chat or file upload.
    2. Solving triggers the internal Python engine to test thousands of combinations for the most efficient coverage.
    3. Reviewing allows you to see uncovered shifts and staff under-hours, with the agent explaining the bottleneck in plain English.
    4. Exporting produces the final .xlsx and .html files once you approve the schedule.

    Frameworks & tools

    This skill uses a specialized Python 3.8+ solver (included) that requires no external API calls or network access. It operates entirely within your agent's execution environment.

    Why this beats prompting it yourself

    Standard LLM prompts often fail at the heavy math required for 24/7 coverage and frequently "hallucinate" staff availability. This skill offloads the logic to a dedicated solver script, ensuring 100% accuracy in hours and constraint checking that a text-only prompt cannot match.

    Use cases

    • Generating weekly schedules for cafes or restaurants with varying weekend coverage.
    • Planning 24/7 clinic rotations that must respect mandatory 11-hour rest windows.
    • Auditing manual staff swaps to ensure they don't trigger overtime pay or labor violations.
    • Balancing hours across a team to ensure everyone hits their contract minimums.

    Known limitations

    Plans one week at a time. It does not check rest periods against the previous week unless the last shift of that week is manually provided. Not a substitute for legal or payroll advice.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 3 days ago

    • Passed all security checks, Safe to install

    Needs access to

    Openxmlformats

    Listed3 days ago

    What's inside

    Frequently Asked Questions