Keep the team: 10 AI skills for after they start
holiday-plan
cover the summer without a row
How the two work together
Claude thinks it through. Paste the Claude prompt into Claude Code, or drop the folder into your skills folder. Claude does the judgement: what to look for, what is worth doing, what is right.
Codex gets it done. At the hand-off point Claude runs Codex on your machine with one command and passes it the Codex prompt. Codex does the mechanical part and hands the result back. Claude checks it before you see it.
No API key to set up: Claude calls the Codex you already have installed. If Codex is not installed, Claude does that half itself and tells you.
Prompt for Claude
--- name: holiday-plan description: Turns everyone's remaining holiday entitlement, the weeks they want off and who can actually cover their section into a published summer grid, with the rules written down before any request is read and a reason recorded against every refusal. Use before the requests start arriving, not after two people have already booked the same fortnight. --- # Cover the summer without a row You give me the leave year, who works for you and on what pattern, what holiday each person has already taken, and the weeks they want. You get back what each person is genuinely owed and how much is left, the rules that will be used to decide, ranked requests with a tie break written before any name was read, a week by week grid showing exactly who is off and who is covering each section, the requests that cannot be granted with the reason and the alternative offered, and the notice letters in the wording the law expects. ## What it does 1. **Fix the leave year and stop guessing at entitlement.** Write the leave year start and end date at the top, because every calculation below is against it. GOV.UK states that "Almost all people classed as workers are legally entitled to 5.6 weeks' paid holiday a year" and that "Statutory paid holiday entitlement is limited to 28 days", with the example that "staff working 6 days a week are only entitled to 28 days' paid holiday". Part-timers scale rather than losing out: "Part-time workers who work regular hours for the whole year are entitled to at least 5.6 weeks' paid holiday, but this will amount to fewer than 28 days", so somebody on three days a week gets "at least 16.8 days' leave a year (3 × 5.6)". Note also what is not automatic: "Bank or public holidays do not have to be given as paid leave", though an employer can choose to include them inside the 5.6 weeks. Whichever you do, write which one you do, because it is the most common source of a January argument. 2. **Do irregular hours and part-year workers separately, with the accrual method rather than a headcount.** These are most of a hospitality team and the rules for them changed. GOV.UK defines an irregular hours worker as one where "the number of paid hours that they will work in each pay period during the term of their contract in that year is, under the terms of their contract, wholly or mostly variable", and a part-year worker as someone required to work only part of the year with periods "of at least a week which they are not required to work and for which they are not paid". For leave years from 1 April 2024, entitlement accrues at "12.07% of actual hours worked in a pay period", worked out by dividing hours worked by 100, multiplying by 12.07, and rounding to the nearest hour. The figure is not arbitrary: it is 5.6 weeks of leave divided by 46.4 working weeks. Run this per person, per pay period, from payroll hours rather than from the rota, and show the working, because this is the number a worker is most likely to query and the one a manager is least likely to be able to explain. 3. **Count what is already gone before you open a single request.** For each person: entitlement for the year, days or hours taken so far with dates, days or hours already booked and approved for later in the year, and the balance. Do this from the records rather than from memory. Two things fall out of it immediately and both need acting on now rather than in November. First, anyone whose balance is large enough that they cannot physically take it in the weeks remaining, because Acas is clear that "An employer cannot refuse to let workers take any holiday at all. By law, an employer must make sure workers can take the amount of holiday they're entitled to during the year." Second, anyone whose balance is already negative because they have been paid holiday they had not yet accrued, which is a payroll conversation and not a rota one. 4. **Write the rules down before you read any request, and publish them.** How many people can be off at once, per section and in total. The maximum consecutive weeks one person can take. Any closed period, and the reason for it. How ties are broken when two people want the same fortnight. Acas's advice on managing holiday is to "communicate clearly and early with workers about any rules or restrictions on holiday" and to be "open, fair and consistent". The tie break is the part that has to be decided while it is still abstract. Write it as a rule, for example: requests received in the window are ranked by whether the person got their first choice last year, then by who has taken least holiday so far this year, then by date received. Rules invented after a manager has read two names and knows which one they would rather upset are not rules, and everybody in the building can tell the difference. 5. **Put the statutory notice periods into the rules, because they cut both ways.** Acas sets them out plainly: "Workers must ask for holiday at least twice the number of days before as the amount they want to take off", so a two week holiday needs four weeks' notice. If you refuse or cancel, "They must let the worker know beforehand by at least the same amount of time as the amount they requested", so refusing a two week request needs two weeks' notice. And if you want to require holiday to be taken, for example a closure week, "the employer must tell workers at least twice as many calendar days before as the number of days" you want them to take. These periods come from regulation 15 of the Working Time Regulations 1998 and can be varied by a relevant agreement, so check whether your contracts say something different before you rely on the default. 6. **Open one window, close it, then decide everything at once.** A fixed two week window, a date it closes, and nothing decided until it does. Deciding requests as they land rewards whoever asks first rather than whoever needs it most, and it is how one person ends up with the August fortnight for the fourth year running. When the window closes, apply the rules from step 4 in order and record the rank against every request. Anything that arrives after the window is handled first come first served against whatever capacity is left, and say that in the published rules so that it is a known consequence rather than a punishment. 7. **Map cover by who can actually run the section, not by headcount.** A week where four people are off is fine if none of them is the only person who can run the grill. Build a small matrix: each section down the side, each person across the top, and a mark where that person can hold that section unsupervised on a busy night. Then test each proposed week against it. The weeks that break are almost never the weeks with the most people off; they are the weeks where the one cellar-trained person and the one opener are away together. Where the matrix shows a single point of failure, the answer is usually to train someone before the summer rather than to refuse the holiday, and that is a decision worth taking in February. 8. **Handle carry-over deliberately rather than letting it happen.** Acas states that "Workers can carry over some of their statutory 5.6 weeks' holiday entitlement if there's a relevant agreement that allows it", and that where an employer has failed to encourage workers to take their holiday or to tell them they will lose untaken days, the worker may carry over "a maximum of 4 weeks' holiday entitlement". For the extra 1.6 weeks, "Their contract should say if they can carry over any of this holiday and how much." Long term sickness carries its own rule: a maximum of four weeks, which "must use it within 18 months starting from the end of the leave year in which they accrued it", and workers on statutory leave such as maternity "must be allowed to carry the holiday over to the next leave year". GOV.UK's reform guidance adds that irregular hours and part-year workers may "carry over a maximum of 8 days into the next leave year, with the agreement of their employer". Write which of these applies to each person with a balance left at year end, and send the encouragement in writing in good time, because the encouragement is the part that protects you. 9. **Publish the grid, the reasons and the notices on the same day.** One grid, week by week, showing who is off and who is covering each section, visible to everyone. Beside it, the list of refusals, each with the rule that produced it and the alternative weeks offered. Then issue the notices: approvals confirmed in writing with the dates and the deducted balance, refusals in writing within the notice period from step 5, and any required leave notified at twice the length of the period. Publishing the refusals alongside the grants is the part managers flinch at and the part that stops the row, because the objection is almost never to being refused, it is to suspecting the reason. ## Then it checks 1. The leave year dates are stated, and the output says explicitly whether bank holidays are counted inside the 5.6 weeks or given on top. 2. Every worker has an entitlement figure with the method named beside it, and every irregular hours or part-year worker shows the 12.07% calculation from actual hours worked, with the hours source stated. 3. Every worker shows taken, already booked and remaining, taken from records rather than recollection, and anyone whose remaining balance cannot fit in the weeks left is flagged by name with a proposed date. 4. The decision rules and the tie break were written and dated before the request window closed, and each request carries the rank the rules produced rather than a manager's note. 5. Every week of the plan passes the cover matrix, with each section showing at least one person present who can hold it unsupervised, and any week that fails is listed with the named single point of failure. 6. Every refusal has a written reason, an alternative offered, and a notice date at least as many days before the requested start as the length of the leave requested, and every required leave notice is at least twice the length of the period being required. Any check fails: name it, redo that step once. Failed twice: say what is wrong and stop. ## Rules - Public information only. - Never invent a fact, a number or a quote. - Anything sent in someone's name says whose name it is. - Never state a worker's entitlement without naming the method used to get it and the hours or days it came from. An entitlement figure with no working behind it cannot be defended when it is queried, and the query always comes in the week the person wanted off. - Never change the tie break rule after the requests have been read. If the rule produces an outcome you do not like, say so out loud, keep the outcome or overrule it openly with a written reason, and fix the rule for next year. A quietly rewritten rule costs more trust than an unpopular decision. - Never refuse a holiday request without giving the required notice and an alternative, and never refuse so much that a worker cannot take their entitlement within the leave year. The duty to make the leave possible sits with the employer, and a balance nobody could ever have taken is the employer's problem, not the worker's. - Never use this to calculate holiday pay. This plans who is off and when. What they are paid for that week, particularly where tips, overtime or commission are involved, is a separate calculation for payroll and the owner's accountant. - This output is a working document prepared for the owner's HR adviser, accountant or solicitor to check before it is used. It is not employment law advice and it does not determine anyone's statutory entitlement. ## Built from - GOV.UK, "Holiday entitlement", https://www.gov.uk/holiday-entitlement-rights, read 14 September 2026, no publication date shown on the page: the 5.6 weeks entitlement, the 28 day cap, the scaling for part-time workers with the 3 × 5.6 worked example, and the position on bank holidays, which set step 1. - GOV.UK, "Holiday pay and entitlement reforms from 1 January 2024", https://www.gov.uk/government/publications/simplifying-holiday-entitlement-and-holiday-pay-calculations/holiday-pay-and-entitlement-reforms-from-1-january-2024, last updated 1 April 2024, read 14 September 2026: the definitions of irregular hours worker and part-year worker, the 12.07% accrual method and the arithmetic behind it, the rolled-up holiday pay rules, and the eight day carry-over for these workers, which set step 2 and part of step 8. - Acas, "Asking for and taking holiday", https://www.acas.org.uk/checking-holiday-entitlement/asking-for-and-taking-holiday, last updated 3 June 2026, read 14 September 2026: the three notice periods, the rule that an employer cannot refuse all holiday, and the advice to communicate restrictions clearly and early, which shaped steps 3, 4, 5 and 9. - Acas, "Carrying over holiday", https://www.acas.org.uk/checking-holiday-entitlement/carrying-over-holiday, last updated 3 June 2026, read 14 September 2026: the relevant agreement requirement, the four week carry-over where the employer failed to encourage leave, the 18 month long term sickness rule and the family leave position, which is step 8. - The Working Time Regulations 1998, regulation 15, https://www.legislation.gov.uk/uksi/1998/1833/regulation/15/made, read 14 September 2026: the statutory source of the notice formulas, including that a worker's notice must be "twice as many days in advance of the earliest day specified in the notice as the number of days or part-days to which the notice relates", and that these may be varied by a relevant agreement, which is why step 5 tells the owner to check their own contracts first.
Prompt for Codex
# Build the summer holiday grid and the notice letters - Codex task
## You are given
- `{LEAVE_YEAR}` - start date, end date, and `bank_holidays_included` as yes or no.
- `{WORKERS}` - one line each: `name | fixed or irregular | days per week (fixed) | hours worked this leave year (irregular) | taken so far | approved future days | sections they can run unsupervised`.
- `{REQUESTS}` - one line each: `name | start date | end date | days requested | date received | got first choice last year (yes/no)`.
- `{RULES}` - `max off at once`, `max off per section`, `max consecutive weeks`, any `closed period`, and the tie break as an ordered list.
- `{SECTIONS}` - the sections that must be covered every trading week.
- `{PLAN_PERIOD}` - the first and last week the grid covers.
## Produce
1. `entitlement.csv` - columns exactly: `name,pattern,method,entitlement,taken,approved_future,remaining,working`. Fixed: `method` is `days per week x 5.6`, `working` shows it. Irregular: `method` is `12.07% of hours worked`, `working` shows `hours / 100 * 12.07` rounded to the nearest hour. Never leave `working` empty.
2. `decisions.csv` - columns exactly: `rank,name,start,end,days,outcome,rule_applied,tie_break_step,notice_required_days,notice_deadline,alternative_offered`. Rank by the `{RULES}` tie break in order. `outcome` is `granted` or `refused`. On a refusal, `notice_required_days` equals `days` and `alternative_offered` names real dates from a week with spare capacity.
3. `grid.csv` - one row per week in `{PLAN_PERIOD}`; columns `week_commencing`, one per section, then `people_off` and `total_off`. Each section cell lists the names present that week who can run it. An empty cell reads `UNCOVERED`.
4. `notices/` - one plain text file per request, named `<name>-<start date>.txt`. Granted: dates, days deducted, remaining balance. Refused: dates, rule applied, alternative offered, and the date the notice must be sent by. No legal opinion in any file.
5. `gaps.md` - numbered list: every `UNCOVERED` cell with week and section; any worker whose `remaining` cannot fit in the weeks left in `{LEAVE_YEAR}`; any request whose notice deadline has passed; any negative `remaining`; any section only one person can run.
## Rules
- Never invent a name, date, hours figure or section. Anything missing goes to `gaps.md`.
- Apply `{RULES}` exactly as given. Never re-rank on judgement.
- Never calculate or mention holiday pay, pay rates or rolled-up holiday pay.
- Never write that a decision is lawful, fair or compliant.
- Dates as DD Month YYYY. No currency anywhere. British English. No em dash characters.
- Do not delete or rewrite any input file.
## Return
Print, in this order: every file path created; the number of workers and requests read; granted and refused counts; the number of `UNCOVERED` cells and the weeks they fall in; any request whose notice deadline has passed; the `gaps.md` item count. Then print `entitlement.csv` and `grid.csv` in full.
Built from the best public work on this
Sources for holiday-plan
Everything below was opened and read on 14 September 2026. Nothing is cited that could not be loaded.
1. GOV.UK, "Holiday entitlement"
https://www.gov.uk/holiday-entitlement-rights, no publication date shown on the page, read 14 September 2026.
This is the government's plain statement of statutory holiday entitlement and it is where the skill starts, because a plan built on the wrong entitlement figure is wrong everywhere. The headline: "Almost all people classed as workers are legally entitled to 5.6 weeks' paid holiday a year." The cap: "Statutory paid holiday entitlement is limited to 28 days. For example, staff working 6 days a week are only entitled to 28 days' paid holiday." The standard case: "Most workers who work a 5-day week must receive at least 28 days' paid annual leave a year." The part-time position, which is the one most often got wrong in a small team: "Part-time workers who work regular hours for the whole year are entitled to at least 5.6 weeks' paid holiday, but this will amount to fewer than 28 days", with the worked example of a three day week giving "at least 16.8 days' leave a year (3 × 5.6)". And the one that causes the most arguments: "Bank or public holidays do not have to be given as paid leave", with the employer able to include them inside the statutory entitlement if it chooses.
The skill's use of the bank holiday line is deliberately narrow. It does not tell the owner which approach to take, because that is a contractual question. It requires the plan to state which one applies, on its face, in one sentence. The reason is that the disagreement is almost never about the law; it is that half the team believes bank holidays are on top and half believes they are inside, and nobody has ever written it down. The page does not cover carry-over or payment in lieu, so those come from sources 2 and 4 rather than being inferred here.
2. GOV.UK, "Holiday pay and entitlement reforms from 1 January 2024"
https://www.gov.uk/government/publications/simplifying-holiday-entitlement-and-holiday-pay-calculations/holiday-pay-and-entitlement-reforms-from-1-january-2024, last updated 1 April 2024, read 14 September 2026.
This is the operative guidance for the group that makes up most of a hospitality payroll, and the rules for them changed recently enough that a lot of small employers are still running the old method. The definitions matter because the category decides the calculation. An irregular hours worker is one where "the number of paid hours that they will work in each pay period during the term of their contract in that year is, under the terms of their contract, wholly or mostly variable". A part-year worker is one required to work only part of the year with periods "of at least a week which they are not required to work and for which they are not paid", which describes seasonal and term-time staff exactly.
The method: for leave years beginning on or after 1 April 2024, entitlement accrues at "12.07% of actual hours worked in a pay period", calculated by dividing hours worked by 100, multiplying by 12.07 and rounding to the nearest hour. The guidance explains where the percentage comes from, being 5.6 weeks of leave over 46.4 working weeks, and the skill repeats that explanation rather than presenting 12.07% as a magic number, because a manager who can explain the derivation can answer the question at the pass and one who cannot will be asked again next month.
The guidance also sets out rolled-up holiday pay as "an additional method for calculating holiday pay for irregular hour and part-year workers only", requiring it to be "clearly marked as a separate item on each payslip" and paid at the same time as the work is paid. The skill quotes none of this into its own output and deliberately excludes holiday pay from scope, saying so in its rules. This is a genuine departure. Rolled-up holiday pay is the question every hospitality owner asks next, and answering it would drag the skill into payroll and, in a tipping business, into the interaction between holiday pay and tips, which is exactly the kind of place a confident wrong answer costs real money. The skill plans when people are off and hands the pay calculation to payroll and the accountant. Finally, the eight day carry-over for irregular hours and part-year workers, "with the agreement of their employer", is taken into step 8.
3. Acas, "Asking for and taking holiday"
https://www.acas.org.uk/checking-holiday-entitlement/asking-for-and-taking-holiday, last updated 3 June 2026, read 14 September 2026.
This page is the practical core of the skill, because it turns entitlement into a process with dates in it. The three notice rules are quoted in step 5 in Acas's own words. A worker's request: "Workers must ask for holiday at least twice the number of days before as the amount they want to take off." A refusal or cancellation: "An employer can refuse or cancel holiday. They must let the worker know beforehand by at least the same amount of time as the amount they requested." Required holiday: "If an employer wants workers to take holiday on certain dates, they must give them advance notice. By law, the employer must tell workers at least twice as many calendar days before as the number of days."
The line that changes the shape of the whole plan is the limit on refusal: "An employer cannot refuse to let workers take any holiday at all. By law, an employer must make sure workers can take the amount of holiday they're entitled to during the year." That is why step 3 counts balances before requests open rather than after. An owner who refuses August requests one at a time through the summer can arrive in October with three people holding four weeks each and no lawful way to refuse any of it, and the problem was created in March by not looking. Acas also advises employers to "communicate clearly and early with workers about any rules or restrictions on holiday" and to be "open, fair and consistent", which is the argument for publishing the rules and the tie break before the window opens rather than defending each decision individually afterwards.
Where the skill goes beyond Acas: Acas does not prescribe a request window, a ranking method or a tie break. The skill requires all three and requires the tie break to be written and dated before any request is read. That is stricter than the guidance and it exists because consistency is easy to intend and almost impossible to demonstrate after the fact. A dated rule is evidence; a manager's recollection of having been fair is not.
4. Acas, "Carrying over holiday"
https://www.acas.org.uk/checking-holiday-entitlement/carrying-over-holiday, last updated 3 June 2026, read 14 September 2026.
The end-of-year rules, which is where an unplanned summer turns into a December problem. The general position: "Workers can carry over some of their statutory 5.6 weeks' holiday entitlement if there's a relevant agreement that allows it." The employer-failure position, and this is the one that catches people: where an employer has not encouraged workers to take their holiday or told them they risk losing untaken days, the worker may carry over "a maximum of 4 weeks' holiday entitlement". For the additional 1.6 weeks, "Their contract should say if they can carry over any of this holiday and how much." For long term sickness, a maximum of four weeks which the worker "must use it within 18 months starting from the end of the leave year in which they accrued it". For statutory leave such as maternity, the worker "must be allowed to carry the holiday over to the next leave year". The page does not address paying holiday in lieu, so the skill says nothing about it.
The practical consequence the skill draws out is that the encouragement is the protection. An owner who sends a written reminder in good time, naming the balance and the weeks available, is in a different position from one who did not, and the reminder costs nothing. That is why step 8 asks for the encouragement in writing rather than treating carry-over as something that either happens or does not.
5. The Working Time Regulations 1998, regulation 15
https://www.legislation.gov.uk/uksi/1998/1833/regulation/15/made, read 14 September 2026.
The statutory source underneath the Acas notice rules, read directly so that the skill is not repeating a summary of a summary. The regulation lets a worker take leave "by giving notice to his employer in accordance with paragraph (3)" and lets an employer require a worker to take or not take leave on particular days by giving notice the same way. Notices must "specify the days on which leave is or (as the case may be) is not to be taken". The formulas: for a worker's request and for an employer requiring leave, notice is "twice as many days in advance of the earliest day specified in the notice as the number of days or part-days to which the notice relates"; for an employer refusing leave, notice is "as many days in advance of the earliest day so specified as the number of days or part-days to which the notice relates".
Reading the regulation rather than the guidance produced one thing the guidance pages do not emphasise, and it is in the skill: these are default periods that a relevant agreement can vary. So step 5 tells the owner to check their own contracts before relying on the statutory figures, rather than asserting them as fixed. The regulation also excludes agricultural workers except where a relevant agreement provides otherwise, which is not relevant to hospitality and is noted here only so that nothing quoted is taken out of context.
Best public prompt we found for this job
There is no useful public prompt or repository for planning holiday cover in a small business, and the honest answer is that the best public artefact is a government tool rather than anything on GitHub. `api.github.com` repository searches for leave management, annual leave and holiday entitlement calculators returned only small applications and, tellingly, several automated test suites written against the GOV.UK tool itself, for example `infinite-rotations/govuk`, which api.github.com reports at 0 stars and describes as "Automated Cypress tests for the Holiday Entitlement Calculator pages on GOV.UK", and `Sobiaaxix/uk-bank-holiday-leave-calculator`, also 0 stars. Star counts read from the api.github.com repositories search endpoint on 14 September 2026.
The best public artefact is therefore the GOV.UK Holiday Entitlement Calculator itself, at https://www.gov.uk/calculate-your-holiday-entitlement, read 14 September 2026, which no publication date is shown for on its landing page. It is worth naming because it is free, it is authoritative, and it handles the cases owners get wrong: a full leave year, a job starting or ending part way through, irregular hours and part-year working, and leave accrued over pay periods. The skill tells the owner to state the method behind every entitlement figure, and this tool is a perfectly good method to state.
What the skill does not take from it is the rest of the job, because the calculator does one thing and stops. It works one person out at a time and knows nothing about who is already off that week, who can run the cellar, what notice a refusal needs, or how to break a tie between two people who both want the last fortnight in August. Those are the parts that actually cause the row, and they are the parts this skill exists for. The calculator's output is an input to step 1 and step 2, not a substitute for the plan.
Want this running in your business?
I optimise how businesses run — your sales, your visibility, your social media — and build bespoke software where nothing off the shelf fits. The first conversation is free. Work starts from £150 a day.
Foxera