An agent skill for employee leave requests is a reusable set of instructions that lets Claude handle the routine parts: read the request, check the balance, check cover and blackout dates, draft the reply, and update the roster. A human still approves anything unusual, but routine requests, which are most of them, go from inbox to updated roster in minutes.
Leave admin makes a good first skill because the process repeats, the rules exist in your policy, and mistakes are visible at once. In Claude, a skill is a folder with a SKILL.md file Claude reads when a request matches its description. Anthropic describes skills as filesystem-based resources that turn a general-purpose agent into a specialist, loaded in stages so they stay cheap to run.
What the skill handles, and what stays human
| Task | Who does it |
|---|---|
| Read the request and extract dates | Skill |
| Check remaining balance | Skill |
| Check cover and blackout dates | Skill |
| Draft the approval or decline reply | Skill |
| Update the roster and calendar | Skill, after approval |
| Approve requests that break a rule | Human |
| Change the leave policy or any balance | Human |
| Sick leave, emergencies and disputes | Human |
If a request touches pay, discipline or a policy exception, the skill stops and hands it to a person. Write that rule into the skill itself.
Prerequisites
You need four things: a Claude account where you can create custom skills; your leave policy written down (allowance, carry-over, notice periods, blackout dates); a balance sheet of remaining days; and a shared roster the team uses. If your policy lives only in the owner’s head, write it down first. You do not need to code: a skill is a text file plus your existing documents.
Step 1: Map your leave process on one page
Write the process as it happens today, in order: the employee sends the request; someone checks the balance; someone checks cover and blackout dates; someone approves or declines; someone updates the roster; someone tells the employee. Next to each step, note what it needs and what can go wrong: the wrong balance, two people off the same day, a request during a blackout. This page becomes the skeleton of your skill. If a step has no clear rule, decide it now: two weeks’ notice except emergencies, max two team members off on the same day.
Step 2: Write the SKILL.md file
Create a folder called `leave-requests` with a `SKILL.md` file inside it. Start with YAML frontmatter, a name and a description saying what the skill does and when to use it, because Claude matches requests against that description:
---
name: leave-requests
description: Handle employee leave requests, check balances, cover and blackout dates, draft replies, update the roster. Use for annual leave, days off and schedule changes.
---
Below the frontmatter, write the steps in plain language: read the request and extract the name, dates and leave type; look up the balance; check the roster and blackout list; if everything is within the rules, draft an approval reply and update the roster; if anything breaks a rule, draft a holding reply and flag it for a human. Add a hard rule: never approve a request that breaks a rule, never change a balance. Anthropic notes a SKILL.md body stays under about 5,000 tokens when triggered, so keep instructions tight and put detail in reference files.
Step 3: Add your reference files
Keep instructions short and put facts in files Claude reads only when needed: the leave policy, the balance sheet, and a roster file with blackout dates, minimum cover and who is already off. When the policy changes, you update one file and every future request follows the new rule. If you already onboard staff with agent skills, this skill slots into the same library. See our guide to onboarding new employees faster with agent skills.
Step 4: Set the approval rules
Decide what the skill may do alone and what needs a human sign-off, then write both lists into the skill. A sensible default for a team under twenty: the skill may approve requests that are within balance, outside blackout dates and leave cover intact. Everything else goes to a named person with a draft reply ready to send. Review weekly: someone scans the week’s decisions in five minutes and corrects mistakes in the reference files. Never give the skill write access to payroll or to the balance sheet itself.
Step 5: Test with five realistic requests
Before the team uses the skill, run five tests: a normal one-week holiday with enough balance; a request that exceeds the balance; two people asking for the same week; a request inside a blackout date; and a half-day request. Check each answer against your policy by hand. Expect the first run to expose gaps, usually a missing rule like what counts as a blackout or how half-days deduct. Fix the file, re-run the same five tests, and only roll the skill out when all five come back right. Our inventory reordering skill went live only after the same five-test run.
Step 6: Roll it out to the team
Tell the team what changed: requests still go to the same place, unusual cases still get a human reply, and the roster is now updated the same day. Give one person ownership of the balance sheet and blackout dates, reviewed monthly. Start with annual leave only. If the skill makes a mistake, fix the file that caused it and note the fix, so it cannot happen twice.
Tips that save you a second build
Keep the description specific: “handle leave requests” is too vague, while “check balances, cover and blackout dates, draft replies and update the roster” tells Claude exactly when to trigger it. Version the folder (`leave-requests-v1`, `v2`) so you can roll back a bad edit. Resist adding features in week one: travel bookings, overtime and payroll are separate skills.
Frequently asked questions
Do I need to know how to code to build a leave-request skill?
No. A skill is a folder with a SKILL.md text file plus your policy and roster documents. If you can write the process on one page, you can write the skill.
What happens when an employee asks for more leave than they have left?
The skill sees the shortfall and drafts a holding reply for a human instead of approving it. It never approves a request that breaks a rule, and it never changes a balance on its own.
Can the skill update our roster automatically?
Yes, for routine approvals, once a request is approved. Keep payroll and the balance sheet read-only for the skill, and have a human confirm roster updates in the first few weeks until you trust it.
How long does it take to build?
About two hours: one hour to map the process and write the skill, and one hour to test it with five realistic requests. After that, a five-minute weekly check is enough.



