Diligence Issue Extraction logo

Diligence Issue Extraction

Community
AlsKozlov
diligence-issue-extraction

Due Diligence findings extractor для РФ target. Категории: корпоративная структура (ЕГРЮЛ), налоговая (ФНС + камералки + ВНП), судебная (kad.arbitr + суды общей юрисдикции), банкротство (ЕФРСБ), недвижимость (Росреестр), лицензии / разрешения, IP (Роспатент), labor (ГИТ предписания), 152-ФЗ compliance, sanctions screening (US OFAC / EU / РФ контр-санкции).

Overview

PublisherAlsKozlov
Repositoryru-legal
Skill namediligence-issue-extraction
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 Diligence Issue Extraction 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/corporate-law/skills/diligence-issue-extraction
  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/corporate-law/skills/diligence-issue-extraction .claude/skills/diligence-issue-extraction
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Diligence Issue Extraction 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 Diligence Issue Extraction 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 Diligence Issue Extraction 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.

/diligence-issue-extraction

Назначение

Extract structured DD findings из multiple sources (documents, реестры, exhibits) в tabular format с risk classification. Output — Issues List готовый к share с deal team / acquirer / sellers.

Pre-flight

  • Целевой target identified (ОГРН / ИНН для запросов в реестры)
  • Scope DD определён (full / focused; pre-LOI / post-LOI)
  • MCPs available:
    • egrul — для ЕГРЮЛ / ЕГРИП (обязательно)
    • kad — для арбитражных судов (optional, but key для litigation findings)
    • efrsb — для банкротства (optional)
    • pravo — для НПА цитат
  • Materiality thresholds загружены из PROFILE.md

РФ DD категории — comprehensive checklist

A. Корпоративная структура / ЕГРЮЛ

CheckSourceЧто искать
Действующее юр.лицо?ЕГРЮЛНе в стадии ликвидации, реорганизации
Уставный капитал оплаченУстав + ЕГРЮЛПолная оплата подтверждена
Текущая редакция уставаУстав от DD.MM.YYYYСовпадает с ЕГРЮЛ записью
Изменения в ЕГРЮЛ — последние 12 месЕГРЮЛ выпискаЧто меняли (директор, адрес, учредители, доли)
Бенефициарные владельцы (115-ФЗ)Internal list + ФНС декларацияЗаполнено корректно
Преобразование/реорганизация в историиЕГРЮЛЕсли было — все ли права/обязательства переданы

B. Налоговая

CheckSourceЧто искать
Задолженность по налогамСправка ФНСТекущая на дату issuance
Открытые камеральные проверкиФНСStatus, expected resolution
Открытые / завершённые ВНПФНС + outside-адв inquiryРешения, оспаривания
Налоговые споры в суде (АС)kad.arbitrСписок + claims
Реструктуризация налогового долгаФНСГрафики платежей
Сложные операции с НДС (возмещение)Audit + outside-адвHistory blocks / questions
Transfer pricing документация (раздел V.1 НК)AuditГотовность documentation для controlled transactions
Налоговый мониторинг участник?ФНСЕсли да — лимитированы выездные

C. Судебная (арбитраж + ОЮ)

CheckSourceЧто искать
Открытые иски target как ответчикаkad.arbitrСуммы, вероятность proигрыша, materiality
Открытые иски target как истцаkad.arbitrВозможные recoveries
Исполнительные производства (ФССП)fssp.gov.ruДолги к взысканию
Иски от работников (ГИТ + суды ОЮ)Гид + outside-адвLabor litigation
Корпоративные спорыkad.arbitrСпоры с участниками / другими акционерами
Уголовные дела (УК) против руководстваPublic sources / outside-адвЭкон.УК (ст.159, 199, 201, 285-291)

D. Банкротство

CheckSourceЧто искать
Target в реестре банкротов?ЕФРСБЕсли да — STOP, escalate
Заявления о банкротстве в кат-арбитрkad.arbitrPending applications
Знакомства с банкротными процедурами (даже как кредитор)ЕФРСБТекущая involvement
Аффилированные лица в банкротствеЕФРСБ + аффилированность analysisRisk of subsidiary liability
Subsidiary liability claims (КДЛ)kad.arbitrЛичная ответственность руководства

E. Недвижимость

CheckSourceЧто искать
Право собственности на ключевые объектыРосреестр (ЕГРН)Подтверждение
Обременения (ипотека, сервитуты, аренда)ЕГРННе выявлены ли
Аренда — срок + условияДоговоры арендыRenewal, termination clauses, indexation
Кадастровая стоимость vs балансоваяЕГРН + бух.отчётностьDiscrepancies
Споры по объектам недвижимостиkad.arbitr + суды ОЮOpen litigation

F. Лицензии / разрешения

CheckSourceЧто искать
Перечень лицензий и разрешений (ОКВЭД-driven)Internal + регуляторыВсе ли действующие
Сроки действияЛицензииИстекают в ближайший год — flag
Условия передаваемости при смене учредителейЛицензии + соответствующий регуляторСРО членство, банковские, нефтегаз — все могут require notification
Нарушения лицензионных требованийВнутренние audit + регуляторПредписания
Тех.условия (СОУТ, экология, etc.)Внутренние auditДействительны

G. IP (Роспатент / ФИПС)

CheckSourceЧто искать
Товарные знаки — реестрРоспатентДействительные, в собственности target
Изобретения / полезные модели / промобразцыРоспатентТо же
Лицензионные договоры (target как лицензиар)Контракты + РоспатентЗарегистрированы
Лицензионные / IP — target как лицензиатКонтрактыTermination on change-of-control?
ПО / БД — авторские праваВнутренний реестрServisno-trudovaya formula (ст.1295 ГК)
Открытые споры по IPkad.arbitr + СИПCease & desist, infringement

H. Labor

CheckSourceЧто искать
ТД ключевых сотрудниковHRПодписаны, обязательные условия по ст.57
Колдоговор, ЛНПАHRДействующие
Открытые трудовые спорыСуды ОЮ + ГИТВосстановления, СЗП за вынужденный прогул
ГИТ предписанияГИТ + outside-адвИсполнены / в обжаловании
Задолженность по зарплатеБух + ФНС / СФРТекущая
Использование самозанятых / ГПДHR auditRisk переквалификации (см. labor-law/worker-classification)
Иностранные работникиHRCompliance ФЗ-115
СОУТ актуальна (последние 5 лет)HR + СОУТ картыПо всем рабочим местам

I. ПДн (152-ФЗ)

CheckSourceЧто искать
Уведомление РКН поданоРеестр операторов на rkn.gov.ruЕсть запись
Политика обработки ПДн опубликованаСайт компанииДоступна на сайте
ОВПД (оценки вреда) проведеныInternalДля систем УЗ-1/2/3
ПДн локализация (ст.18 ч.5 152-ФЗ)IT auditБазы данных РФ residents — в РФ
Cross-border передача — уведомление РКНРКН реестрПодано
Утечки за 12 месInternal incident log + РКНЗарегистрированы
Штрафы РКНPublic recordsЗа последние 3 года

J. Sanctions

CheckSourceЧто искать
Target / бенефициары в US OFAC SDN listOFACSanctioned?
EU consolidated sanctions listEUSanctioned?
UK sanctionsUK govSanctioned?
Российский ответный санкционный список (Указы Президента)InternalTarget / бенефициары в счёте
Counter-sanctions exposure (Указ Пр. РФ 81/2022, и т.д.)Анализ структурыЕсли иностранный акционер из недружественных
Доступ к платёжным системам, банкамOperational checksНе отрезали ли

K. Антимонопольное (ФАС)

CheckSourceЧто искать
Доминирующее положение target в каком-либо рынкеФАС реестрЕсли да — limitations
Открытые ФАС делаФАСПо нарушениям закона о конкуренции
Согласование M&A required для текущей сделки?Расчёт по ст.27-28 ФЗ-135Активы + выручка thresholds
Картельные соглашения / сговоры в историиAudit + ФАСНе было ли

L. Экология / охрана труда

CheckSourceЧто искать
Природоохранные разрешенияМинприроды / РосприроднадзорДействующие
Платежи за негативное воздействиеБухгалтерияТекущие
Аварии / инциденты экологическиеВнутренний registryЗа последние 3 года
Ответственность по ст.143 УК (охрана труда)Public + GCУголовные дела руководства

Workflow

Шаг 1. Scope confirmation

Из categories A-L — что в scope для данной DD? (Pre-LOI обычно focused — B/C/D/J critical; full DD — все)

Шаг 2. Document collection

  • Из data room — все документы classified by category
  • Из реестров (ЕГРЮЛ, kad.arbitr, ЕФРСБ, ЕГРН, Роспатент, РКН) — automated через MCP если available, manual otherwise

Шаг 3. Issue extraction (per document)

Для каждого documenta:

  • Category: A-L
  • Issue identified: [конкретная findings]
  • Risk severity: 🔴 critical / 🟡 medium / 🟢 minor / 🔵 informational
  • Materiality: [сумма / impact в % от деала]
  • Citation / source: [path + page]
  • Recommended action: [pre-closing fix / representation & warranty / indemnity / price adjustment / walkaway]

Шаг 4. Tabular output

markdown
# DD Issues — [target name, ИНН XXX]
**Дата DD:** [DD.MM.YYYY]
**Scope:** [described]
**Reviewers:** [users]

## Critical issues (🔴)

| # | Category | Issue | Source | Materiality | Recommended action |
|---|----------|-------|--------|-------------|-------------------|
| 1 | B Tax | Открытая ВНП за 2023 г., ожидаемое доначисление ~50 млн руб (по протоколу осмотра) | Письмо ФНС от DD.MM, протокол осмотра №X | 50М руб (3% от deal value) | Pre-closing: получить решение ФНС; OR escrow 100% expected liability; OR specific indemnity uncapped |
| 2 | D Bankruptcy | Аффилированное лицо в банкротстве, подано заявление КДЛ против ГД target | ЕФРСБ + kad.arbitr A40-XXX/2024 | risk личной ответственности ~30M | Pre-closing: replace ГД; OR retain reps & warranties с indemnity |
| 3 | I ПДн | Утечка ПДн 200k records в 06.2025; штраф РКН 18 млн руб не уплачен | Внутр.incident log + предписание РКН | 18М штраф + 200M reputation impact | Spec.indemnity для штрафа + reps по 152-ФЗ status |

## Medium issues (🟡)

[Same table]

## Minor / informational (🟢 / 🔵)

[Same table]

## Summary

- **Total issues:** [N]
- **Critical:** [N] / **Medium:** [N] / **Minor:** [N]
- **Aggregate exposure (если quantifiable):** ~[сумма] млн руб
- **Deal-breakers:** [list if any]
- **Recommended path:**
  - [Proceed with current price / Reduce price by X / Restructure as asset deal /
     Walk away]
- **Required reps & warranties:** [topics]
- **Required indemnities:** [specific, uncapped if applicable]
- **Escrow recommendations:** [amount + release schedule]

Шаг 5. Cross-skill integration

  • /material-contract-schedule — для extract материальных договоров из DD
  • /closing-checklist — для conditions precedent на основе DD findings
  • /integration-management — для post-closing remediation плана
  • /deal-team-summary — для distill DD к non-legal stakeholders

РФ-specific красные флаги (always escalate)

  • Target в ЕФРСБ (реестр банкротов) — STOP deal pending escalation
  • Уголовное дело УК ст.199 / ст.159 / ст.201 против бенефициара — material exposure
  • Sanctioned бенефициар (US OFAC / EU / UK) — sanctions exposure для acquirer
  • Иностранный недружественный акционер > 25% — Указ Президента 81/2022, спецтребования к расчётам
  • Налоговый мониторинг exit / отзыв лицензии — material consequence
  • Доминирующее положение target без ФАС согласования сделки — required
  • Реестр участников ООО ведётся самой компанией (не через нотариусов в текущей редакции) — нотариальное удостоверение долей с 2009 — все сделки с долями должны быть нотариальны

Что НЕ делает

  • Не делает final risk assessment — это outside-адв ФПА + deal team
  • Не negotiates price adjustments — это деал team
  • Не drafts reps & warranties — это transaction docs

Attribution

Adapted from corporate-legal/diligence-issue-extraction by Anthropic (Apache 2.0).

Категория B:

  • Categories A-L полностью пересмотрены под РФ regulators (ФНС, kad.arbitr, ЕФРСБ, Росреестр, Роспатент, РКН, ФАС) — нет US equivalents
  • Sanctions section добавлен — Counter-sanctions specific (РФ Указ 81/2022)
  • 115-ФЗ бенефициары — нет US equivalent
  • 152-ФЗ ПДн — нет US equivalent
  • 422-ФЗ НПД переквалификация — РФ-specific risk
  • Нотариус для долей ООО — РФ-specific требование (нет US LLC equivalent)

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 Diligence Issue Extraction AI skill do?

Due Diligence findings extractor для РФ target. Категории: корпоративная структура (ЕГРЮЛ), налоговая (ФНС + камералки + ВНП), судебная (kad.arbitr + суды общей юрисдикции), банкротство (ЕФРСБ), недвижимость (Росреестр), лицензии / разрешения, IP (Роспатент), labor (ГИТ предписания), 152-ФЗ compliance, sanctions screening (US OFAC / EU / РФ контр-санкции).

Why use Diligence Issue Extraction on TypingMind?

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

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

Which AI models can use Diligence Issue Extraction?

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 Diligence Issue Extraction?

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

Is the Diligence Issue Extraction 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 👇