Investigation Memo logo

Investigation Memo

Community
AlsKozlov
investigation-memo

Draft legal memo по результатам внутреннего расследования. РФ specifics: privilege ТОЛЬКО через outside-адв ФПА; дисциплинарка по ст.193 ТК (объяснение, сроки); стандарт доказывания "balance of probabilities" для внутренних целей, но "обоснованность" для оспаривания в суде. Recommended action: какое взыскание / какой алгоритм для оформления.

Overview

PublisherAlsKozlov
Repositoryru-legal
Skill nameinvestigation-memo
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 Investigation Memo 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/investigation-memo
  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/investigation-memo .claude/skills/investigation-memo
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Investigation Memo 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 Investigation Memo 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 Investigation Memo 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.

/investigation-memo

Назначение

Generate formal legal memo по результатам investigation. Final analytical document:

  • Findings of fact
  • Legal analysis (ТК + sectoral / contractual)
  • Conclusions
  • Recommended action
  • Implementation steps

Pre-flight критичные РФ checks

A. Privilege

Memo может быть НЕ privileged в РФ если drafted in-house. Чтобы получить адвокатскую тайну:

  1. Memo должен быть запрошен адвокатом ФПА (с ордером)
  2. Drafted адвокатом ФПА или под его руководством с привлечением как соавтора
  3. Stored в адвокатском досье

Without outside-адв involvement — memo защищён только commercial-confidentiality (98-ФЗ режим КТ) — that's NOT privilege в legal sense.

Header strategy:

Privilege framingHeader
Privileged (outside-адв ФПА involved)"ПРИВИЛЕГИРОВАННЫЙ ДОКУМЕНТ. Адвокатская тайна (ФЗ-63 ст.8). Запрос: адв. [ФИО], удост. №, ордер №"
Confidential business"СЛУЖЕБНАЯ ТАЙНА. Режим коммерческой тайны (98-ФЗ). Не для распространения"

Никогда не label memo "Privileged" если outside-адв ФПА не involved — это misleading и не daст privilege в РФ суде.

B. Дисциплинарка timing (ст.192-193 ТК)

Если recommended action — дисциплинарное взыскание:

  • 1 месяц со дня обнаружения проступка (исключая болезнь / отпуск / время на учёт мнения профсоюза)
  • 6 месяцев со дня совершения (2 года для финансовых нарушений)
  • Объяснение работника обязательно запрошено в письменной форме
  • 2 раб.дня на ответ; если не дал → составить акт об отказе
  • Приказ с описанием проступка + ознакомление под подпись (3 раб.дня)

Memo должен explicitly address эти timing requirements.

C. Категории взысканий (ст.192 ТК)

ТК предусматривает только 3 вида дисциплинарного взыскания:

  1. Замечание (мягкое, без существенных последствий)
  2. Выговор (средняя тяжесть)
  3. Увольнение по ст.81 п.5 ТК (неоднократное) или п.6 (грубое нарушение)

Не предусмотрены ТК (и поэтому незаконны как дисциплинарное):

  • Штраф / удержание из зарплаты (есть ст.137 ТК для материального ущерба — отдельно)
  • "Строгий выговор" (есть только в специальных законах — военные, госслужащие)
  • Перевод на нижеоплачиваемую должность (только по ст.72.1 с согласия)
  • Лишение премии — можно если положением об оплате предусмотрена depremation

Workflow

Шаг 1. Read materials

  • intake.md, facts.md, all interviews/, evidence index
  • Existing /investigation-query outputs (если saved)

Шаг 2. Structure memo

markdown
# МЕМОРАНДУМ

**[ПРИВИЛЕГИРОВАННЫЙ ДОКУМЕНТ. Адвокатская тайна / СЛУЖЕБНАЯ ТАЙНА]**

**Дата:** [DD.MM.YYYY]
**От:** [ФИО, должность]
**Кому:** [ФИО, должность — обычно CEO / GC / HR Director]
**Тема:** Расследование [matter-id] — [короткое название]

---

## 1. Резюме

[3-5 предложений: что случилось, основной finding, recommended action]

## 2. Фактические обстоятельства

### 2.1. Background

[role subject, длительность работы, обязанности]

### 2.2. Триггер / обнаружение

- **Дата обнаружения проступка:** [DD.MM.YYYY] (ст.193 — 1-мес clock starts here)
- **Дата совершения:** [DD.MM.YYYY] (ст.193 — 6-мес clock starts here)
- **Источник:** [жалоба / докладная / audit alert]

### 2.3. Установленные факты

| # | Факт | Дата | Источник | Достоверность |
|---|------|------|----------|---------------|
| 1 | ... | ... | interview / документ / запись | high / medium / low |
| 2 | ... | ... | ... | ... |

### 2.4. Что НЕ удалось установить

[scope limitations — what evidence not available, what witnesses не доступны]

## 3. Правовой анализ

### 3.1. Применимые нормы

- **ТК:** [ст.X — основание / процедура]
- **ЛНПА компании:** [правила трудового распорядка п.X, должн.инструкция п.X]
- **Договор:** [п.X трудового / коллективного]

### 3.2. Квалификация поведения

**Является ли действие/бездействие нарушением?**

[Анализ — почему да / нет. Если да — какое именно нарушение (ТК / ЛНПА), какой
тяжести.]

### 3.3. Сроки (ст.193 ТК) — критично

- **1 мес со дня обнаружения:** истекает [DD.MM.YYYY] — осталось X дней
- **6 мес со дня совершения:** истекает [DD.MM.YYYY] — осталось X дней
- **Объяснение работника:** запрошено [DD.MM.YYYY] / получено [DD.MM.YYYY] /
  отказ — акт от [DD.MM.YYYY]
- **Учёт мнения профсоюза (если применимо):** запрошено / получено / срок истёк

**Вывод по срокам:** [процедура соблюдена / нарушена / под угрозой]

### 3.4. Аналогичные случаи / прецеденты

[Если в компании были аналогичные нарушения — как разрешались? Принцип равного
отношения важен для risk assessment.]

### 3.5. Risk assessment

| Сценарий | Probability | Impact | Mitigation |
|----------|-------------|--------|------------|
| Работник оспаривает в суд | [%] | восстановление + СЗП за вынужденный прогул | Соблюдение процедуры; готовность к compromise |
| Жалоба в ГИТ / прокуратуру | [%] | штрафы (КоАП ст.5.27), предписание | Документация полная |
| Профсоюз obstruction | [%] | Затягивание процедуры | Заранее запросить мнение |
| Negative PR / reputation | [%] | Talent retention | NDA conditions в releaseагрreement |

## 4. Выводы

1. [Finding 1 — на основании evidence X]
2. [Finding 2 — ...]
3. [Substantiated / unsubstantiated / inconclusive]

## 5. Рекомендации

### 5.1. Recommended action

**Вариант A (recommended):** [е.g. соглашение сторон ст.78 ТК с компенсацией X
окладов]

- Pros: [нет risk восстановления, controllable timing]
- Cons: [cost]

**Вариант B:** [е.g. выговор + последующее наблюдение]

- Pros: [низкая cost, рабочее место сохраняется]
- Cons: [возможны повторные эпизоды, escalation]

**Вариант C:** [е.g. увольнение по ст.81 п.5 / п.6]

- Pros: [removes risk]
- Cons: [высокий litigation risk если процедура не идеальна]

### 5.2. Implementation steps (для recommended action)

#### Если соглашение сторон (вариант A):

1. Draft соглашение с компенсацией [сумма] (см. attachment 1)
2. Negotiate с работником (один-на-один, в присутствии HR)
3. Подписать соглашение + приказ
4. Расчёт в день увольнения (ст.140 ТК)
5. Trudovaya books + НДФЛ отчётность

#### Если дисциплинарное взыскание:

1. До [DD.MM.YYYY] — запросить письменное объяснение (если не запрошено)
2. По истечении 2 раб.дней — составить акт об отказе (если без ответа)
3. Подготовить приказ с детальным описанием проступка + ТК ст.X
4. Учёт мнения профсоюза (если член, до 7 раб.дней — ст.373)
5. Ознакомить под подпись (3 раб.дня — ст.193)
6. Сохранить все docs в кадровое дело

## 6. Открытые вопросы

- [ ] [outstanding issue 1]
- [ ] [outstanding issue 2]

## Приложения

1. [Draft приказа / соглашения]
2. [Список evidence]
3. [Timeline]

---

[ФИО, должность]
[Подпись]
[Дата]

Шаг 3. Review checklist перед finalize

  • Privilege header корректный для context
  • Все findings подтверждены ссылками на evidence
  • Сроки ст.193 точно calculated
  • Объяснение work обработано (получено / акт об отказе)
  • Recommended action в рамках ст.192 ТК (3 вида взысканий)
  • Risk assessment realistic (РФ суды pro-работника 65-80%)
  • Implementation checklist конкретный и dated
  • No conclusory legal opinions без analytical support

Что НЕ делает

  • Не оформляет приказ / соглашение (это HR / outside-адв drafts)
  • Не replaces outside-адв advice для high-risk matters
  • Не делает employment decision — это management

Attribution

Adapted from employment-legal/investigation-memo by Anthropic (Apache 2.0).

Категория B (medium adaptation):

  • Privilege analysis adapt — РФ in-house counsel НЕ privileged (US ACP отличается fundamental)
  • Дисциплинарка procedural framework заменён US framework — ст.192-193 ТК
  • 3 категории взысканий по ТК (vs US flexible discipline framework)
  • Risk assessment пересчитан с realistic РФ статистикой (pro-работника суд)
  • Аналогичные случаи — РФ "equal treatment" принцип критичен

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 Investigation Memo AI skill do?

Draft legal memo по результатам внутреннего расследования. РФ specifics: privilege ТОЛЬКО через outside-адв ФПА; дисциплинарка по ст.193 ТК (объяснение, сроки); стандарт доказывания "balance of probabilities" для внутренних целей, но "обоснованность" для оспаривания в суде. Recommended action: какое взыскание / какой алгоритм для оформления.

Why use Investigation Memo on TypingMind?

Because you install it once and use it with any model. Investigation Memo 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 Investigation Memo in TypingMind?

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

Which AI models can use Investigation Memo?

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 Investigation Memo?

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

Is the Investigation Memo 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 👇