Leave Doc
/install leave-doc
leave-doc
请假条生成器。支持多种请假类型、多天请假自动计算工作日、紧急请假模板、年假最优规划。
Usage
Run the script at scripts/doc.sh with the following commands:
| Command | Description |
|---|---|
doc.sh leave "类型" "天数" "原因" |
基础请假条 |
doc.sh multi-day "类型" "天数" "原因" |
多天请假(自动排除周末计算工作日) |
doc.sh emergency |
紧急请假模板(含微信消息模板) |
doc.sh annual-plan "年假天数" |
年假最优规划(拼假方案) |
doc.sh help |
显示帮助信息 |
Supported Leave Types
事假 | 病假 | 年假 | 婚假 | 产假 | 陪产假 | 丧假 | 调休
Examples
# 基础请假条
bash scripts/doc.sh leave "事假" "2" "家中有事需要处理"
# 多天请假(自动计算工作日,排除周末)
bash scripts/doc.sh multi-day "年假" "5" "出国旅行"
# 紧急请假
bash scripts/doc.sh emergency
# 年假规划
bash scripts/doc.sh annual-plan "10"
Requirements
- Python 3.6+
- No external dependencies
💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install leave-doc - After installation, invoke the skill by name or use
/leave-doc - Provide required inputs per the skill's parameter spec and get structured output
What is Leave Doc?
请假条生成器。事假、病假、年假、婚假、产假模板、多天请假自动计算工作日、紧急请假、年假规划。Leave application generator for personal, sick, annual, marriage, maternity leave with workday calculation, eme... It is an AI Agent Skill for Claude Code / OpenClaw, with 446 downloads so far.
How do I install Leave Doc?
Run "/install leave-doc" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Leave Doc free?
Yes, Leave Doc is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Leave Doc support?
Leave Doc is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Leave Doc?
It is built and maintained by BytesAgain2 (@ckchzh); the current version is v2.0.0.