Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Shift Scheduler: Claude Skill for Staff Schedules

    1

    Optimized staff scheduling agent that solves complex constraints and generates payroll-ready exports.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    Shift Scheduler: Claude Skill for Staff Schedules

    Shift Scheduler: Claude Skill for Staff Schedules

    Example session with this skill installed

    I need a roster for a cafe with 4 baristas. Everyone needs 10h rest. Maya can't work weekends. We need 2 people for the 7am-3pm shift daily. Give me the cost if they all make $18/hr.

    • Read your context and instructions
    • Compiled the shift scheduler
    • Generated the data export

    I have processed the requirements for the cafe roster. The solver ran for 5 seconds and successfully filled all 14 slots for the week. Total labor cost is $2,016.00 for 112 paid hours. No rule violations were detected, and the 10-hour rest minimum was maintained for all staff.

    Weekly Shift Schedule

    DayShiftRoleAssignedStatus
    MonMorning (7a-3p)BaristaMayaConfirmed
    MonMorning (7a-3p)BaristaSamConfirmed
    TueMorning (7a-3p)BaristaMayaConfirmed
    TueMorning (7a-3p)BaristaAlexConfirmed
    WedMorning (7a-3p)BaristaMayaConfirmed
    WedMorning (7a-3p)BaristaJordanConfirmed
    ThuMorning (7a-3p)BaristaMayaConfirmed
    ThuMorning (7a-3p)BaristaSamConfirmed
    FriMorning (7a-3p)BaristaMayaConfirmed
    FriMorning (7a-3p)BaristaAlexConfirmed
    SatMorning (7a-3p)BaristaSamConfirmed
    SatMorning (7a-3p)BaristaJordanConfirmed
    SunMorning (7a-3p)BaristaAlexConfirmed
    SunMorning (7a-3p)BaristaJordanConfirmed

    Roster Statistics:

    • Maya: 40 hrs (Maxed)
    • Sam: 24 hrs
    • Alex: 24 hrs
    • Jordan: 24 hrs

    Next steps

    • Download the schedule.csv for your payroll records.
    • Distribute the individual .ics files found in the calendars/ folder to each barista.
    • If Maya needs to be capped at 30 hours instead, let me know to re-run the solver.

    schedule.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    Manual staff scheduling is a high-entropy constraint puzzle. Managers often waste hours balancing availability, labor laws, and overtime, only to accidentally double-book a barista or violate a rest-period rule. This skill replaces manual guesswork with a Python-based optimization engine that solves for every constraint simultaneously. It ensures you never schedule a "clopen" with under 10 hours of rest or exceed a part-timer's hour cap.

    What it does

    • Automated optimization uses a simulated annealing solver to fill shifts based on role qualifications and priority.
    • Constraint enforcement strictly honors availability windows, maximum weekly hours, and rest-between-shift rules.
    • Fairness balancing distributes weekend shifts across the team and respects individual worker preferences.
    • Conflict diagnostics provides a detailed report explaining exactly why specific slots remain unfilled.
    • Multi-format export generates printable HTML schedules, CSV files for payroll, and individual .ics calendar files for staff.

    How it works

    1. Input gathering where you feed the agent raw shift requirements, staff roles, wages, and availability windows.
    2. JSON generation that translates your business requirements into a structured schema for the optimization engine.
    3. Solver execution using the internal Python script to find the most cost-effective and compliant roster.
    4. Validation and reporting to verify all hard rules were met before presenting the final schedule and files.

    Frameworks & tools

    The solver is built with pure Python and requires no external dependencies. It uses a custom optimization engine (roster.py) to process JSON-based shift and staff data.

    Why this beats prompting it yourself

    Language models are notorious for "hallucinating" schedules that look correct but contain subtle rule violations, like double-booking staff or ignoring hour caps. This skill uses the LLM as an interface for a deterministic Python solver, guaranteeing that every output is mathematically verified against your hard constraints.

    Use cases

    • Hospitality management for balancing kitchen and floor staff across breakfast, lunch, and dinner rushes.
    • Retail operations to ensure adequate floor coverage while minimizing overtime during holiday peaks.
    • Clinic or salon scheduling where specific roles and certifications are required for every open slot.
    • Warehouse logistics for managing large teams with varying availability and strict safety rest requirements.

    Known limitations

    Overtime calculations are weekly only and do not account for daily overtime laws. ICS calendar files do not include time zone metadata. Not suitable for teams exceeding 50 people in a single weekly roster.

    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 7 days ago

    • Passed all security checks, Safe to install

    Listed7 days ago

    What's inside

    Frequently Asked Questions