Log Leave logo

Log Leave

Community
AlsKozlov
log-leave

Заfiх отпуск/больничный/декрет в leave-tracker — quick logging command для HR. Сохраняет запись в ~/.ru-legal/labor/leave-tracker.md с типом (ежегодный / больничный / декрет / без сохранения / учебный), сроками, основанием (приказ N, больничный лист), и whether ФСС пособие применимо.

Overview

PublisherAlsKozlov
Repositoryru-legal
Skill namelog-leave
Stars
42
Forks
6
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AlsKozlov on GitHub. Read the source before you install it.

Installation

Install the Log Leave AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlsKozlov/ru-legal/tree/master/packs/labor-law/skills/log-leave
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlsKozlov/ru-legal.git /tmp/ru-legal
mkdir -p .claude/skills
cp -r /tmp/ru-legal/packs/labor-law/skills/log-leave .claude/skills/log-leave
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Log Leave in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Log Leave on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Log Leave is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/log-leave

Назначение

Быстрая запись отпуска / больничного / декретного / БСС / учебного в leave tracker. Не делает полный анализ — это /leave-tracker. Просто запись для последующего review.

Workflow

Шаг 1. Спроси минимум информации

  • ФИО / табельный
  • Тип: ежегодный / больничный / декрет / отпуск по уходу до 1.5/3 / БСС / учебный / донорский / иной
  • Период: с DD.MM.YYYY по DD.MM.YYYY
  • Основание: приказ N / больничный лист N / заявление / медзаключение

Шаг 2. Auto-determine ФСС/СФР статус

ТипФСС/СФР пособиеЗаметки
Ежегодный (ст.115 ТК)Нет — оплата работодателем28 кал.дней минимум, по графику
Больничный (ст.183 ТК)Да — после 3 дней первые 3 за счёт работодателяЭлектронный лист с 2022
Декрет (ст.255 ТК)Да — 100% среднего заработка, 140 днейНе зависит от стажа
По уходу до 1.5 (ст.256 ТК)Да — 40% среднего, max 49,123₽ (2026)Можно matey / отцу / бабушке
По уходу до 3 (ст.256 ТК)Только компенсация 50₽/месНе идёт в стаж work
БСС (без сохранения, ст.128 ТК)НетДо 14 дней по обязанности (определённые категории)
Учебный (ст.173-176 ТК)Нет — оплата работодателем при условияхТолько если аккредитованная программа
Донорский (ст.186 ТК)Нет — оплата работодателем2 дня (день сдачи + дополнительный)

Шаг 3. Add запись в tracker

markdown
## Запись от [DD.MM.YYYY HH:MM]

- **Сотрудник:** Иванов И.И. (таб. №123)
- **Тип:** ежегодный отпуск
- **Период:** 15.06.2026 — 28.06.2026 (14 кал.дней)
- **Основание:** приказ № 45 от 01.06.2026
- **Заявление:** есть, от 25.05.2026
- **ФСС/СФР пособие:** не применимо
- **Заметки:** [любые — например "по графику отпусков", "вызов из отпуска возможен", "присоединение к майским"]
- **Logged by:** [user]

Шаг 4. Flag potential issues

  • Ежегодный < 14 дней непрерывных — ст.125 ТК требует одну часть ≥ 14 дней
  • Уведомление < 2 недель до начала — ст.123 ТК (работника)
  • Больничный электронный лист не подтверждён в СФР — flag для проверки
  • Декретный начался > 30 нед беременности — late filing, может потерять часть

Output format

✓ Запись добавлена в leave-tracker.md
[Иванов И.И. — ежегодный отпуск 15.06 — 28.06.2026]

⚠ Flag: одна часть ежегодного < 14 дней в текущем графике (см. ст.125 ТК).
Рекомендую review.

Run `/leave-tracker` для полного review.

Что НЕ делает

  • Не drafts приказ — это HR system
  • Не calculates средний заработок — это бухгалтерия
  • Не submits в СФР — это HR system
  • Не tracks budget отпускных — это finance

Attribution

Adapted from employment-legal/log-leave by Anthropic (Apache 2.0).

Категория A (light adaptation): field schema адаптирован под РФ типы отпусков (декрет, по уходу до 1.5/3, БСС), ФСС/СФР статус (а не US FMLA), цитирование ТК.

Original copyright: © 2026 Anthropic PBC, Apache 2.0.


⚠ Юридический disclaimer

Данный skill — техническая платформа, не оказывает юридических услуг по ст.2 ФЗ-63 «Об адвокатской деятельности». Outputs не заменяют консультацию лицензированного юриста / адвоката ФПА.

AI может галлюцинировать, выдавать устаревшие нормы, неверно интерпретировать факты. Material decisions (увольнение, M&A, налоговый спор, IP litigation) — обязательно engage outside-адв ФПА с релевантной специализацией.

Проект ru-legal и его contributors не несут ответственности за решения, принятые на основе outputs системы. Использование — на свой риск.

Frequently asked questions

What does the Log Leave AI skill do?

Заfiх отпуск/больничный/декрет в leave-tracker — quick logging command для HR. Сохраняет запись в ~/.ru-legal/labor/leave-tracker.md с типом (ежегодный / больничный / декрет / без сохранения / учебный), сроками, основанием (приказ N, больничный лист), и whether ФСС пособие применимо.

Why use Log Leave on TypingMind?

Because you install it once and use it with any model. Log Leave is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Log Leave in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlsKozlov/ru-legal/tree/master/packs/labor-law/skills/log-leave. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Log Leave?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Log Leave?

As many as you like. As long as a model supports skills, you can use Log Leave with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Log Leave AI skill free?

It is published on GitHub by AlsKozlov. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇