log-leave — Claude Code skill: what it does, how to install
Adds an employee leave entry to a local YAML register and starts tracking legal deadlines. Useful when an employee goes on leave and HR or legal needs to monitor certification clocks immediately.
npx skills add anthropics/claude-for-legal --skill log-leave -a claude-codeWhat log-leave does
The skill logs new leave records directly into ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml. Instead of asking questions one by one, it collects all inputs in a single prompt: employee identifier, work location state, leave type, start date, schedule, and notice statuses.
Next, it checks the jurisdiction table inside CLAUDE.md to look up statutory hours or weeks. It then calculates the earliest deadline. An unsent designation notice sets a deadline five business days from leave start. A pending medical certification sets a 15-day window. When both are complete, it marks the 75% exhaustion point.
The skill relies on the file structure of claude-for-legal. If the local CLAUDE.md jurisdiction table is missing, calculating statutory leave limits will fail.
What it helps with
- record a new employee leave in a local YAML register
- calculate statutory notice deadlines for FMLA or state leave
- track the 15-day deadline for requested medical certifications
- look up leave entitlements across state jurisdictions
Example prompts for the agent
- /employment-legal:log-leave
- /employment-legal:log-leave Sarah (Sr. Engineer, California) started FMLA today. Intermittent. No designation sent yet.
How to install log-leave
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill log-leave -a claude-code2Manually: put the files in place
~/.claude/skills/log-leave/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/log-leave/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill log-leave -a codex2Manually: put the files in place
.agents/skills/log-leave/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill log-leave -a cursor2Manually: put the files in place
.cursor/skills/log-leave/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install anthropics/claude-for-legal log-leave2Manually: put the files in place
.github/skills/log-leave/SKILL.md1Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill log-leave -a gemini-cli2Platform CLI
gemini skills install https://github.com/anthropics/claude-for-legal --path employment-legal/skills/log-leaveManually: put the files in place
.devin/skills/log-leave/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add anthropics/claude-for-legal --skill log-leave -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about log-leave
How do I install log-leave in Claude Code?
Run npx skills add anthropics/claude-for-legal --skill log-leave -a claude-code in your terminal.
What does the log-leave skill do?
It queries leave details in a single prompt, calculates upcoming compliance deadlines, and appends a record to the leave register YAML file.
Where does log-leave store the leave records?
Records are saved to ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml. If the file does not exist, the skill creates it.
Source text
SKILL.md · Apache-2.0
--- name: log-leave description: > Add a new leave to the leave register with the minimum information needed to start tracking deadlines. Use when an employee goes on leave and you want the tracker to watch designation, certification, and exhaustion clocks from day one. argument-hint: "[describe the leave — employee/role, type, jurisdiction, start date]" --- # /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. ```
© anthropics · Apache-2.0 · anthropics/claude-for-legal