cancel-leave
Skill1 starsChanged 45 days agoMITView on GitHub
Cancel or change leave already filed in Jobcan, and undo or update what was announced for it — the chat post's thread and the calendar block — with one preview and one confirmation. Use when the user wants to cancel, withdraw, drop, move or change a day off, half day or leave request.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- backfillSkill
- request-leaveSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Approved requests cannot be withdrawn by the user: When the tool answers contact_admin, tell the user who to contact (the preset's admin …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
jobcan:cancel-leave
Needs
The same as jobcan:request-leave: the jobcan MCP server with writes enabled, the preset at
~/.config/jobcan-agent/preset.md, and whatever chat and calendar connectors exist.
Procedure
- Find the request with
jobcan_list_leave_requests. If more than one matches the user's words, ask which. Find the matching channel post (the preset's channel, the request's date) and the calendar event (jobcan:<id>in its title or description). - Preview with
jobcan_cancel_leave_request(noconfirm) for a cancellation, orjobcan_replace_leave(noconfirm) for a change such as half day → full day. Show:- what happens in Jobcan;
- the reply that will go in the original post's thread, using the preset's cancel or change wording;
- the calendar event that will be deleted or replaced.
- Approved requests cannot be withdrawn by the user. When the tool answers
contact_admin, tell the user who to contact (the preset's admin contact) and still offer to post the thread reply and update the calendar, since the company may want the notice even before the admin acts. - One confirmation, then in order: Jobcan, thread reply, calendar.
- Report what changed.
Rules
- A chat message alone never cancels leave; Jobcan is the source of truth. Say so if the user asks to "just post that I'm not off anymore".
- Reply in the original post's thread, never with a new top-level post, unless the preset says otherwise or the original cannot be found (then say so and ask).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

