← ClaudeAtlas

sap-leave-requestlisted

Submit a leave / time-off request in SAP SuccessFactors using the agent-browser CLI. Use this whenever the user wants to take leave, apply for vacation, or file any kind of absence — annual leave (特休), personal leave (事假), sick leave (病假), marriage/birthday/compassionate leave, work-from-home, etc. Trigger on phrases like "幫我請假", "我要請假", "SAP 請假", "要求休假", "請特休", "on leave", "apply for leave", "book time off", or any request that names a date range plus a leave type. The skill logs in automatically (reading credentials from a .env file), opens the 要求休假 form, picks the leave type, fills the dates, and submits.
chenwei791129/agent-skills · ★ 0 · AI & Automation · score 56
Install: claude install-skill chenwei791129/agent-skills
# SAP SuccessFactors Leave Request Submit a full-day leave request in SAP SuccessFactors via the `agent-browser` CLI. Every step below was verified end-to-end against the live system. Note: the SAP UI is localized, so element labels in snapshots appear in Chinese (e.g. `時間類型` = leave type, `開始日期` = start date, `提交` = submit). Those quoted strings are literal UI text you must match — keep them as-is. ## Scope (v1) - **Full-day leave only** (a start date and an end date). Half-day / specific time slots are not supported yet — if the user asks for a half-day, tell them plainly that this version doesn't support it; do not guess how to fill it. - **Behavior: auto-submit once validation passes.** Do not stop for a second confirmation. The only exception is when the user explicitly says "don't submit" / "just fill it in" — in that case stop right before submitting. - **Proof attachments are supported.** Sick-leave types (普通傷病假, 公傷病假, etc.) usually need a medical certificate or supporting document; the form itself exposes an attachment field for every leave type. When the user requests sick leave, proactively ask whether they want to attach proof, and if so upload it before submitting (see Step 3.5). ## Prerequisites 1. **`agent-browser` installed** (`which agent-browser`, verified on v0.28.0) and **`uv` installed** (the login script runs via `uv run`; its `python-dotenv` dependency is auto-installed from the PEP 723 inline metadata). 2. **A `.env` with