New to Claude Skills? Learn how to install them →

anthropics on GitHub

Log Leave

OfficialFree

Track employee leave deadlines efficiently.

Get this skill

Free · Opens the source repo

What Log Leave does

The Log Leave skill is designed to streamline the process of tracking employee leave in compliance with various legal requirements. It allows users to quickly add a new leave entry to a designated YAML file, ensuring that all necessary information is captured from the outset. This skill is particularly useful for HR professionals and managers who need to monitor leave types such as FMLA, state leave, USERRA, or ADA accommodations, and want to ensure that deadlines are tracked from the first day of leave.

To use the skill, users must follow a structured prompt that gathers essential details such as the employee's name, workplace jurisdiction, type of leave, and relevant dates. The skill then utilizes a jurisdiction table to determine applicable leave entitlements and calculates upcoming deadlines based on the information provided. This automated approach reduces the risk of human error and helps maintain compliance with legal requirements.

Once the information is processed, the skill logs the leave entry in the specified YAML file, creating it if necessary. Users receive a confirmation message that summarizes the logged leave, including the first deadline for action. This feature is particularly beneficial for organizations that manage multiple leave cases simultaneously, as it allows for efficient tracking and management of employee leave statuses.

Overall, the Log Leave skill is an essential tool for those in HR and legal roles, providing a systematic way to ensure that employee leave is tracked accurately and in accordance with relevant laws.

When to use it

Use this skill when an employee goes on leave and you need to begin tracking their leave status and deadlines immediately.

When not to use it

This skill may not be suitable for organizations that do not require detailed tracking of leave types or those using different systems for leave management.

What you can build with it

Logging FMLA Leave

An HR manager uses the skill to log an employee's FMLA leave, ensuring all necessary details are captured and deadlines are tracked.

Tracking State Leave

A supervisor needs to track state-specific leave for an employee and uses the skill to ensure compliance with local regulations.

Managing Intermittent Leave

An HR professional utilizes the skill to manage an employee's intermittent leave, ensuring that all deadlines are monitored effectively.

How to install Log Leave

View source

1. Install with the skills CLI

npx skills add anthropics/claude-for-legal/log-leave --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by anthropics

/log-leave

Adds a new leave entry to ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml with the minimum information needed to start tracking deadlines. Use when an employee goes on leave and you want the tracker to watch the clocks from day one.

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md → jurisdiction table and Systems section.

  2. Ask all of the following in a single prompt — do not drip them one at a time:

    A few quick questions to set up leave tracking:

    • Employee name or role (anonymized is fine)
    • Where do they work? (State — this determines which rules apply)
    • Leave type: FMLA / state leave (which state) / USERRA / ADA accommodation
    • Leave start date
    • Is this intermittent leave?
    • Expected return date (if known — leave blank if not)
    • Has the designation notice been sent? If yes, when?
    • Has medical certification been requested? If yes, when?
  3. Using the jurisdiction table in ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md, look up the applicable leave entitlement (hours/weeks) for this leave type in this jurisdiction.

  4. Compute the first upcoming deadline based on the information provided:

    • Designation not yet sent → deadline is 5 business days from leave start
    • Med cert requested but not received → deadline is 15 days from request date
    • Both sent and received → next deadline is at 75% exhaustion
  5. Write a new entry to ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml using the leave register format from the leave-tracker agent. If the file doesn't exist, create it.

  6. Confirm with a single line:

    "Logged. [Employee/Role] — [Leave type] — [Jurisdiction] — started [date]. First deadline: [what it is and when]. Leave tracker will alert automatically."

Examples

/employment-legal:log-leave
/employment-legal:log-leave
Sarah (Sr. Engineer, works in California) just started FMLA today for a
serious health condition. Intermittent. No designation sent yet.

Frequently asked questions about Log Leave

Similar skills