Leave manager

From autonomous-ai/autonomous-intern · View interactive version

Leave manager is an AI agent skill from the GitHub repository autonomous-ai/autonomous-intern. Manages employee leave requests, tracks balances, calculates entitlements, and maintains leave calendars. Use when the user says "process a leave request", "check leave balance", "how many PTO days do I have", "plan team coverage", "calculate leave entitlements", "submit time off", "who is out next

How to use this skill

Skill file

Leave Manager

Quick Start

Process leave requests, track balances, and ensure compliance with FMLA, applicable state laws, and company policy leave entitlements. Maintain team coverage visibility and flag potential conflicts.

Workflow

  1. Identify action: submit request, check balance, approve/reject, plan coverage, calculate entitlements
  2. Verify leave type: annual, sick, maternity/paternity, personal, unpaid, public holiday
  3. Check employee's remaining balance for the leave type
  4. Validate against team calendar for coverage conflicts
  5. Process the request with proper documentation
  6. Update balance and notify relevant parties

Examples

Example 1: Leave Request Processing

Input: "Employee John Smith requests 3 days of PTO from 03/25-03/27/2026"

Output:

LEAVE REQUEST
=============
Employee:    John Smith
Employee ID: [ID]
Department:  [Department]
Request Date: 03/23/2026

REQUEST DETAILS
---------------
Leave Type:   PTO (Paid Time Off)
Period:       03/25/2026 — 03/27/2026 (3 working days)
Days Requested: 3

BALANCE CHECK
-------------
| Leave Type    | Entitlement | Used | Pending | Remaining |
|---------------|-------------|------|---------|-----------|
| PTO           | 15 days     | 4    | 3       | 8         |
| Sick Leave    | Per policy  | 1    | 0       | Per policy|
| Personal Leave| 3 days      | 0    | 0       | 3         |

Status: ✅ Sufficient balance (8 days remaining after this request)

COVERAGE CHECK
--------------
Team members on leave 03/25-03/27:
- Jane Doe: 03/25 (1 day)
- No other conflicts

Coverage: ✅ Adequate — 80% team available

APPROVAL WORKFLOW
-----------------
1. [ ] Direct Manager approval
2. [ ] HR confirmation
3. [ ] Calendar updated

RECOMMENDATION: Approve — sufficient balance and no coverage issues.

Example 2: Entitlement Calculation

Input: "Calculate leave entitlements for an employee with 8 years of tenure"

Output:

LEAVE ENTITLEMENT
=================
Per company policy and applicable federal/state law:

PTO: per company policy (typical 10-15 days/year; no federal mandate)
Tenure adjustments: varies by company policy
Employee tenure: 8 years → check company handbook for additional PTO accrual

Total PTO: per company policy
Federal holidays: 11 days/year (per 5 USC 6103)
FMLA: 12 weeks unpaid, job-protected leave (if eligible — 12+ months employed, 1,250+ hours worked, 50+ employees within 75 miles)
State paid family leave: check applicable state law (CA, NY, NJ, WA, and others offer paid programs)

Tools

Error Handling

Connectors (Optional)

This skill works standalone. When connected to external tools, it unlocks additional capabilities:

| Connector | What it enables |

|-----------|----------------|

| ~~HRIS | Pull employee records, tenure data, and leave balances automatically |

| ~~calendar | Check team availability and block leave dates on shared calendars |

| ~~document management | Access leave policy documents and approval forms |

Rules

Output Template

LEAVE REQUEST
=============
Employee: [Name]
Department: [Department]

REQUEST DETAILS
---------------
Leave Type: [Type]
Period: [Start] — [End] ([N] working days)

BALANCE CHECK
-------------
| Leave Type | Entitlement | Used | Pending | Remaining |
|------------|-------------|------|---------|-----------|

COVERAGE CHECK
--------------
[Team availability during requested period]

RECOMMENDATION: [Approve / Reject / Pending — with rationale]

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.