Agent skill

Log Leave

by zhou210712 in zhou210712/claude-for-legal-ZH

向假期登记册添加新假期条目,录入开始追踪截止日期所需的最低信息. An agent skill from zhou210712/claude-for-legal-ZH.

Apache-2.0Auto-check passed

Install Log Leave

skills CLI
$ npx skills add zhou210712/claude-for-legal-ZH --skill log-leave -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install zhou210712/claude-for-legal-ZH log-leave --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/zhou210712/claude-for-legal-ZH.git skills-src && mkdir -p .claude/skills && cp -r skills-src/employment-legal/skills/log-leave .claude/skills/log-leave && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
log-leave
GitHub stars
225
Token cost
~450 tokens
SKILL.md length
59 words
Files
1
Skills in repo
122
Repo updated
First seen
Licence
Apache-2.0

At a glance

向假期登记册添加新假期条目,录入开始追踪截止日期所需的最低信息. An agent skill from zhou210712/claude-for-legal-ZH.

  • Works in 6 steps: 读取… → 一次性询问以下全部内容——不要逐个滴灌 → 使用… → …
  • SKILL.md covers 指令 and 示例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Log Leave is an agent skill from zhou210712/claude-for-legal-ZH. 向假期登记册添加新假期条目,录入开始追踪截止日期所需的最低信息。 当员工开始休假且你希望追踪器从第一天起监控审批、证明和到期时间时使用。

Its SKILL.md is about 450 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is Apache-2.0.

Example prompts

  • “/log-leave”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 读取 ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md → 管辖地表和假期管理部分。
  2. 一次性询问以下全部内容——不要逐个滴灌
  3. 使用 ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md 中的管辖地表,查找该管辖地该假期类型的适用假期权益(天数/月数)。主要法律依据
  4. 根据提供的信息计算首个即将到来的截止日期
  5. 将新条目写入 ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml。如文件不存在,创建之。使用 YAML 格式
  6. 一行确认

What it can do on your machine

Read from SKILL.md and the folder at commit 2f01c92. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Log Leave loads about 450 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 59 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~450

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from zhou210712/claude-for-legal-ZH at commit 2f01c92, republished under its Apache-2.0 licence (© zhou210712). 59 words, ~450 tokens.

Download SKILL.mdSave it as .claude/skills/log-leave/SKILL.md (or your agent's skills folder).
name
log-leave
description
向假期登记册添加新假期条目,录入开始追踪截止日期所需的最低信息。 当员工开始休假且你希望追踪器从第一天起监控审批、证明和到期时间时使用。
argument-hint
[描述假期——员工/岗位、类型、管辖地、开始日期]

/log-leave

向 ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml 添加新假期条目,录入开始追踪截止日期所需的最低信息。当员工开始休假且你希望追踪器从第一天起监控时间节点时使用。

指令

  1. 读取 ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md → 管辖地表和假期管理部分。

  2. 一次性询问以下全部内容——不要逐个滴灌:

    几个快速问题以设置假期追踪:

    • 员工姓名或岗位(可匿名)
    • 工作地?(省/直辖市——这决定适用哪些规则)
    • 假期类型:病假/医疗期 / 产假(含各地奖励假) / 年休假 / 工伤假 / 婚假 / 育儿假 / 陪产假
    • 假期开始日期
    • 是否为间断性休假?
    • 预计返岗日期(如已知——不知则留空)
    • 请假申请是否已审批?如已审批,何时?
    • 医疗证明是否已提交?(医疗期/病假需提供)如已提交,日期?
  3. 使用 ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md 中的管辖地表,查找该管辖地该假期类型的适用假期权益(天数/月数)。主要法律依据:

    • 医疗期:企业职工患病或非因工负伤医疗期规定 [法条原文](按工作年限3-24个月)
    • 产假:女职工劳动保护特别规定第7条 [法条原文](98天基础)+ 各省/直辖市人口与计划生育条例奖励假
    • 年休假:职工带薪年休假条例第3条 [法条原文](按累计工作年限5/10/15天)
    • 工伤假:工伤保险条例第33条 [法条原文](停工留薪期一般不超过12个月)
  4. 根据提供的信息计算首个即将到来的截止日期:

    • 请假申请尚未审批 → 截止日期为审批完成前(提醒管理者及时审批)
    • 医疗证明要求但未收到 → 提醒管理者索要
    • 假期到期前 → 在75%用尽时预警
  5. 将新条目写入 ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml。如文件不存在,创建之。使用 YAML 格式:

    yaml
    - employee: "[员工/岗位]"
      type: "[假期类型]"
      jurisdiction: "[省/直辖市]"
      start_date: "[YYYY-MM-DD]"
      expected_return: "[YYYY-MM-DD或空]"
      intermittent: [true/false]
      approved: [true/false]
      approval_date: "[YYYY-MM-DD或空]"
      cert_submitted: [true/false]
      cert_date: "[YYYY-MM-DD或空]"
      notes: "[备注]"
  6. 一行确认:

    "已登记。[员工/岗位] — [假期类型] — [管辖地] — 始于[日期]。首个截止日期:[什么和何时]。假期追踪器将自动预警。"

示例

/employment-legal:log-leave
/employment-legal:log-leave
张工(高级工程师,在北京工作)今天开始休病假,需要手术。
连续休假。请假已审批,尚未提交医疗证明。

© zhou210712, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in employment-legal/skills/log-leave of zhou210712/claude-for-legal-ZH.

Open the folder on GitHubat commit 2f01c92

Compare with similar skills

Log Leave next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Log Leave compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Log Leave this skillzhou210712/claude-for-legal-ZH225—~450Automated safety check: PassApache-2.0
Log Leaveanthropics/claude-for-legal9.6k2 repos~628Automated safety check: PassApache-2.0
Growth Logaffaan-m/ECC276k1 repos~1.7kAutomated safety check: PassMIT
Leave Managementsickn33/agentic-awesome-skills47k1 repos~3.7kAutomated safety check: PassMIT
Clickhouse Logs Queriessupabase/supabase111k—~2.4kAutomated safety check: PassApache-2.0
Investigating LogsPostHog/posthog40k—~2.1kAutomated safety check: PassCustom licence

Similar skills

  • Log Leave

    anthropics/claude-for-legal

    Official

    Add a new leave to the leave register with the minimum information needed to start tracking deadlines.

    9.6k GitHub starsUsed in 2 repos~628 tokens
    Auto-check passed
  • Growth Log

    affaan-m/ECC

    Write growth log entries that extract reusable patterns from completed work — root cause, transferable rule, and a recognizable signal — instead of diary-style event narration, with a 4-8 sentence…

    276k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Leave Management

    sickn33/agentic-awesome-skills

    Leave register: request, leave type, employee and department, manager and approver, start and end dates, days requested, leave balances, handover notes and status.

    47k GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Clickhouse Logs Queries

    supabase/supabase

    Official

    Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).

    111k GitHub stars~2.4k tokensUpdated today
    DatabasesAuto-check passed
  • Investigating Logs

    PostHog/posthog

    Official

    Investigate logs in a PostHog project: verify a service or deployment is healthy, explain an error spike, triage an incident, or understand what a log stream is saying.

    40k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Guides log level choices and when to raise a structured Sentry event instead of a plain log line in the Warp Rust codebase, keeping secrets out of logs.

    65k GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed

More from zhou210712/claude-for-legal-ZH

All 122 skills in this repo
  • Claim Chart

    zhou210712/claude-for-legal-ZH

    构建或审查要件分析表——专利权利要求对照表(侵权、无效或审查)或 民事构成要件分析表(任何诉讼请求或抗辩),每个单元格附精确引用, 缺口检测为优先输出。当用户要求要件分析表、权利要求对照表、 证据对照表、侵权或无效主张、逐要件映射,或问"我们证明[主张]还缺什么"时使用。

    225 GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Client Intake

    zhou210712/claude-for-legal-ZH

    结构化接待——实践领域模板、跨领域考点识别、利益冲突标记、分流分类. An agent skill from zhou210712/claude-for-legal-ZH.

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Gap Surfacer

    zhou210712/claude-for-legal-ZH

    参考资料:支持 /regulatory-legal:gaps 和 /regulatory-legal:comments 的共享差距和意见征集跟踪框架。跟踪未关闭的政策差距及其整改状态, 从 policy-diff 中获取差距,呈现开放和即将到期的事项,路由给负责人, 并通过企业通讯工具通知差距负责人,每次发送前需确认。

    225 GitHub stars~757 tokensUpdated 4 mo ago
    Auto-check passed
  • Launch Review

    zhou210712/claude-for-legal-ZH

    对照您的框架和风险校准进行全面产品上线审查。当用户说"审查这个上线" "[功能]法务审查""我们能上线吗""[产品]有什么法律问题"或引用了需要 逐类审查备忘录的产品需求文档或上线追踪工单时使用。

    225 GitHub stars~2k tokensUpdated 4 mo ago
    Auto-check passed
  • Reg Feed Watcher

    zhou210712/claude-for-legal-ZH

    检查法规动态源,报告自上次检查以来的新事项,按重要度阈值过滤。适用于用户说"检查法规动态"、"有什么新规定"、"法规更新"、从定时任务触发执行,或手动粘贴法规动态进行分类和差异分析时。

    225 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Renewal Tracker

    zhou210712/claude-for-legal-ZH

    展示具有即将到来的取消截止日期的合同,在通知窗口关闭前发出预警, 基于维护的续约登记册运行。当用户询问"什么即将续约""哪些续约即将到期" "我们是否错过了取消窗口""将此添加到续约追踪器"时使用,或按计划运行。

    225 GitHub stars~681 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Log Leave

What does Log Leave do?

向假期登记册添加新假期条目,录入开始追踪截止日期所需的最低信息. An agent skill from zhou210712/claude-for-legal-ZH. Log Leave is an agent skill from zhou210712/claude-for-legal-ZH.

How do I install Log Leave in Claude Code?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill log-leave -a claude-code`. Or copy the skill folder (employment-legal/skills/log-leave in zhou210712/claude-for-legal-ZH) into .claude/skills/log-leave in your project. Claude Code loads it when a task matches its description.

How do I install Log Leave in Codex?

Run `npx skills add zhou210712/claude-for-legal-ZH --skill log-leave -a codex`. Or copy the skill folder (employment-legal/skills/log-leave in zhou210712/claude-for-legal-ZH) into .agents/skills/log-leave in your project. Codex loads it when a task matches its description.

Can I use Log Leave in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add zhou210712/claude-for-legal-ZH --skill log-leave -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/log-leave, .gemini/skills/log-leave, .github/skills/log-leave and .opencode/skills/log-leave in your project.

What does Log Leave need to run?

SKILL.md names no scripts, command-line tools or credentials: Log Leave is instructions for the agent only.

Does Log Leave access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Log Leave safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Log Leave use?

Log Leave is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Log Leave use?

About 450 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Log Leave?

Skills that share tags, products or a category with Log Leave: Log Leave (anthropics/claude-for-legal, 9.6k stars), Growth Log (affaan-m/ECC, 276k stars), Leave Management (sickn33/agentic-awesome-skills, 47k stars) and Clickhouse Logs Queries (supabase/supabase, 111k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Log Leave?

zhou210712 (a GitHub user) maintains it in zhou210712/claude-for-legal-ZH, which has 225 GitHub stars. The repository holds 122 skills in this directory. The repository was last updated on May 15, 2026.

Source: zhou210712/claude-for-legal-ZH on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.