Works with the AI Agents you already use
leave and absence calendar integrator
Blocks approved absences as neutral Unavailable time, finds shift coverage gaps and assignment conflicts, and lists draft replacement candidates, never revealing leave reasons. Exact traces; supervisor approval required.
$2.99
leave and absence calendar integrator
Example session with this skill installed
Check the shifts in shifts_july.csv against the approved absences in hr_export.json. Find gaps for the 'Nurse' role and suggest candidates with 12 hours min rest.
- Read your context and instructions
- Compiled the leave and absence
- Generated the data export
I have integrated the July shift plan with the approved absence records. All leave reasons have been stripped and replaced with neutral availability blocks.
Leave and Absence Calendar Integration — North General Hospital, 2024-07-01
1. Scope, sources and assumptions
- Sources: E1 (shifts_july.csv), E2 (hr_export.json).
- Window: 2024-07-01 to 2024-07-31.
- Parameters: min_rest_hours: 12.0, pending_handling: ignore.
2. Calendar blocks (neutral availability)
| Employee | From | Until (exclusive) | Minutes | Label |
|---|---|---|---|---|
| EMP-004 | 2024-07-05 | 2024-07-12 | 10080 | Unavailable (approved absence) |
| EMP-012 | 2024-07-08T08:00 | 2024-07-08T16:00 | 480 | Unavailable (approved absence) |
3. Coverage by shift
| Shift | Date | Role | Mode | Required | Filled | Gap | Coverage |
|---|---|---|---|---|---|---|---|
| SH-101 | 2024-07-05 | Nurse | Assigned | 3 | 2 | 1 | 0.67 |
| SH-105 | 2024-07-08 | Nurse | Assigned | 2 | 1 | 1 | 0.50 |
Summary: 2 shifts are below required headcount.
4. Conflicts and gaps
- SH-101: EMP-004 is assigned but has a neutral block (approved leave).
- SH-105: EMP-012 is assigned but has a neutral block (approved leave).
5. Draft proposals for supervisor approval
Proposal for SH-101: Assign EMP-009 (Qualified, Available, rest_rule_checked: Pass).
Management decision required.
Proposal for SH-105: Assign EMP-015 (Qualified, Available, rest_rule_checked: Pass).
Management decision required.
6. Privacy, exclusions and warnings
- Exclusions: 2 records ignored (pending status).
- Privacy: No leave reasons or notes were processed or stored.
7. Items for human review
- Computed result: 2 coverage gaps identified in July window.
- Information gap — organizational validation required: Verify if EMP-009 has recently updated their availability.
- Analytical estimate — validation required: Candidate suggestions are based on role-match only.
This analysis supports, and does not replace, the supervisor's judgment and approval.
Next steps
- Review the proposed assignments for EMP-009 and EMP-015.
- Confirm if the 2 pending leave requests should be blocked or ignored.
- Download the validated
request.jsonfor your audit logs.
shifts_july.csv
CSV · data export
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
Managing shift rosters alongside employee leave often leads to privacy leaks or manual errors in calculating coverage. This skill automates the integration of absence data into rosters while strictly maintaining employee privacy by treating all leave as neutral unavailable time.
What it does
- Absence blocking: Converts approved leave records into neutral "Unavailable" blocks on the shift calendar.
- Conflict detection: Identifies specific shift assignments that clash with approved employee leave.
- Gap analysis: Calculates coverage ratios and identifies shifts that are short of staff due to absences.
- Candidate sourcing: Generates draft replacement lists based on employee qualifications and optional rest rules.
- Privacy enforcement: Strips leave reasons, medical notes, or personal details from all reports and logic.
How it works
- Data ingestion: You provide shift plans, employee roles, and approved absence exports (CSV/JSON).
- Request generation: The agent builds a structured
request.jsonensuring no sensitive leave reasons are included. - Deterministic processing: A backend script processes the availability, matching qualified staff to gaps.
- Validation: The agent reviews the script envelope for warnings, coverage gaps, or rest rule violations.
- Reporting: You receive a structured audit of gaps and draft proposals for supervisor approval.
Frameworks & tools
The skill utilizes a deterministic Python-based execution environment to ensure data accuracy. It relies on JSON schema validation for input integrity and Markdown for audit-ready reporting.
Why this beats prompting it yourself
Generic prompts often hallucinate coverage numbers or accidentally leak sensitive leave reasons (like "medical" or "family") into the final report. This skill uses a hard-coded script to ensure zero-leakage privacy and 100% accurate gap calculations that manual prompting cannot guarantee.
Use cases
- Identify which shifts are under-staffed for the upcoming month due to vacation blocks.
- List qualified, available employees to cover a last-minute absence without violating rest rules.
- Audit a draft roster against the latest HR leave exports to find scheduling overlaps.
- Generate neutral "Unavailable" views for team leads that hide the nature of employee absences.
Known limitations
Does not optimize full rosters or handle cost/fairness trade-offs. It applies only a single user-supplied rest rule and requires supervisor approval for all proposed changes.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
Requires supervisor approval for all drafts. Does not handle labor-rule compliance or roster optimization. Limited to a 366-day planning window. Skip records without approved status.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago