Agent skill · Testing & QA

staff-scheduler

Build optimized staff schedules that match coverage to demand while respecting labor budgets, employee availability, and local labor laws. Handles shift swaps, time-off requests, and identifies over/under-staffing before it happens.

Cosmic Stack3,294★ · 2 repos on radarProfile →
claude-codeMIT
Install
npx skills add cosmicstack-labs/mercury-agent-skills --skill staff-scheduler --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Declared author: cosmicstack-labs
Path: categories/shop-restaurant/staff-scheduler/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 364
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Staff Scheduler ## Core Principles Labor is typically the second-largest cost (after COGS) for any shop or restaurant — often 25-35% of revenue. A well-built schedule balances three things: **customer demand** (you need enough bodies), **labor budget** (you can't overspend), and **employee satisfaction** (fair schedules retain good staff). The Staff Scheduler skill automates this balancing act. ### The Three Pillars of Great Scheduling 1. **Demand-driven coverage.** Schedule to the forecast, not to habit. If Mondays are slow, don't staff for Saturday volumes. 2. **Labor cost targeting.** Set a target labor % (e.g., 28% of sales) and build the schedule to hit it. Every hour above target eats margin. 3. **Fairness & compliance.** Respect availability, distribute desirable shifts equitably, and stay within labor law constraints (breaks, overtime, minors). --- ## Skill Workflow ### Step 1 — Gather Baseline Data Ask the user for: - **Staff roster:** Names, roles (server, cook, cashier, manager), hourly rates - **Availability:** Days/times each person can work (and cannot) - **Sales forecast:** Projected daily covers or revenue for the scheduling period - **Labor target:** Target labor

What's inside
Steps it walks through
  1. Core Principles
  2. The Three Pillars of Great Scheduling
  3. Skill Workflow
  4. Step 1 — Gather Baseline Data
  5. Step 2 — Calculate Labor Budget
  6. Step 3 — Build Coverage Schedule by Day Part
  7. Step 4 — Generate Draft Schedule
  8. Step 5 — Handle Time-Off & Shift Swaps
  9. Step 6 — Compliance Check
  10. Step 7 — Publish & Notify
  11. Trigger Phrases
  12. Key Instructions Summary
  13. Common Mistakes
More from mercury-agent-skills
All skills →
About this skill
What does the staff-scheduler skill do?

Build optimized staff schedules that match coverage to demand while respecting labor budgets, employee availability, and local labor laws. Handles shift swaps, time-off requests, and identifies over/under-staffing before it happens.

How do I install it?

Run `npx skills add cosmicstack-labs/mercury-agent-skills --skill staff-scheduler --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From cosmicstack-labs/mercury-agent-skills, a repository with 364 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going