Policy Monitor logo

Policy Monitor

Community
AlsKozlov
policy-monitor

Поддерживать политику обработки ПДн актуальной с practice. Два режима: weekly sweep saved ОВПД, ДОУ reviews, и triage results для нахождения policy drift; или direct query для предложенного new practice. Используй когда "покрывает ли наша политика это", "мы хотим начать делать X — нужно ли обновлять политику", "policy sweep", "найди где политика больше не соответствует тому что делаем".

Add to TypingMind

Overview

PublisherAlsKozlov
Repositoryru-legal
Skill namepolicy-monitor
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 Policy Monitor 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/data-protection/skills/policy-monitor
  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/data-protection/skills/policy-monitor .claude/skills/policy-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Policy Monitor 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 Policy Monitor 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 Policy Monitor 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.

/policy-monitor (drift detection политики vs practice)

Назначение

Политика обработки ПДн обязательна для оператора по ст.18.1 152-ФЗ — оператор должен опубликовать политику в свободном доступе. Но политика быстро drift'ит от того, что компания фактически делает.

Этот skill находит drift'ы — где политика не соответствует practice — и предлагает обновления.

Два режима:

  • Sweep mode (default, --sweep): periodic crawl saved outputs (ОВПД, ДОУ reviews, use-case-triage results) и сравнение с политикой
  • Direct query: проверка конкретной predposed activity vs политика

Sweep mode

Шаг 1. Загрузи политику

Прочитай PROFILE.md → ## Политика обработки ПДн → URL или текст. Если ссылка — fetch текст (через WebFetch tool).

Шаг 2. Crawl outputs folder

Read directory specified в PROFILE.md → ## Стиль работы → Output path. Look for:

  • OVPD-*.md — оценки вреда
  • dpa-review-*.md — review договоров обработки
  • use-case-triage-*.md — privacy triage
  • dsar-*.md — DSAR responses

Limit period: last 90 days (или per user request).

Шаг 3. Extract data points

Из каждого output extract:

  • Какие категории ПДн обрабатываются?
  • Какие цели обработки?
  • Какие vendor'ы / sub-processors?
  • Cross-border ли?
  • Retention периоды?
  • Согласия / правовые основания?

Шаг 4. Compare к политике

Для каждой data point — check:

  • Покрыта ли политикой? Найди соответствующий пункт.
  • Если найдено — совпадает ли? Например, политика говорит "хранение 3 года" vs ОВПД говорит "5 лет".
  • Если не найдено — gap: activity не покрыта политикой.

Шаг 5. Classify gaps

Тип gap'аПримерSeverity
Категория ПДн отсутствуетПолитика не упоминает биометрию, но компания внедрила биометрический турникет🔴 (нарушение ст.18.1)
Цель отсутствуетПолитика не упоминает маркетинг, но компания шлёт рассылки🔴
Vendor / sub-processor отсутствуетПолитика не указывает Yandex Cloud, но компания там хостится🟡
Cross-border не упомянутПолитика не описывает передачу за рубеж, но фактически передаётся🔴
Retention несовпадениеПолитика говорит 3 года, ДОУ — 5 лет🟡
Сроки реализации прав не указаныПолитика silent про ст.21 сроки🟢 рекомендация

Шаг 6. Output: drift report

markdown
# Privacy Policy Drift Report — [DD.MM.YYYY]

## Summary
- Activities reviewed: [N] (за последние 90 дней)
- Gaps found: [N]
  - 🔴 Critical (нарушение 152-ФЗ): [N]
  - 🟡 Internal inconsistency: [N]
  - 🟢 Improvement opportunity: [N]

## Critical gaps

### Gap 1: [Category]

**Activity (источник):** [например — ОВПД от 2026-04-15 про биометрический турникет]
**Что обрабатывается:** Биометрические ПДн (отпечатки)
**Политика говорит:** "[цитата с пометкой 'silent'/'противоречит']"
**Risk:** Нарушение ст.18.1 152-ФЗ + ст.11 (биометрия требует упоминания)

**Recommended action:**
- [ ] Обновить политику в секции 2.1 "Категории обрабатываемых ПДн" — добавить
      "биометрические данные сотрудников для целей контроля доступа"
- [ ] Опубликовать на сайте до [DD.MM.YYYY]
- [ ] Уведомить сотрудников об обновлении

## Internal inconsistencies (🟡)

[...]

## Improvement opportunities (🟢)

[...]

## Next steps

1. **DPO review** этого отчёта в течение 7 дней
2. **Update политики** для всех 🔴 gaps в течение 14 дней
3. **Publish** updated политику + уведомить субъектов о существенных изменениях
4. **Re-run** этот skill через 90 дней

Direct query mode

Использование

/data-protection:policy-monitor "Мы хотим начать использовать AI для матчинга
кандидатов — какие изменения политики нужны?"

Workflow

  1. Загрузи политику обработки ПДн
  2. Понять предложенную practice (clarify если vague)
  3. Find related sections в политике
  4. Check coverage

Output:

markdown
## Policy check: [Описание new practice]

**Покрыто ли политикой?** Да / Нет / Частично

[Если "Да"]
**Применимые пункты:** [цитаты]
**Достаточно ли:** [Yes / No — что добавить]

[Если "Нет" или "Частично"]
**Что отсутствует:**
- [Конкретный gap]

**Recommended обновления политики:**
- [ ] Добавить в раздел [X] следующий текст: "[предложенный текст]"
- [ ] [Другие изменения]

**Доп.compliance шаги:**
- [ ] ОВПД (если триггер): запустить `/data-protection:pia-generation`
- [ ] Обновить согласия субъектов (если требуется)
- [ ] Уведомить РКН (если изменения существенные)
- [ ] ДОУ с vendor'ами (если применимо)

Что важно для РФ контекста

Публикация политики обязательна

Ст.18.1 152-ФЗ требует, чтобы оператор опубликовал политику в свободном доступе:

  • На сайте (если есть)
  • Иным способом обеспечить доступ субъектам

Политика не на сайте = нарушение, штраф 30-60 тыс руб для юрлица.

Обязательное содержание политики (по приказу РКН)

  • Цели обработки
  • Категории ПДн
  • Категории субъектов
  • Способы обработки
  • Сроки обработки и хранения
  • Правовые основания
  • Информация о трансграничной передаче
  • Сведения об обеспечении безопасности
  • Права субъектов и порядок их реализации
  • Контакты оператора (DPO)

Когда нужно уведомить субъектов о изменениях

Существенные изменения политики → уведомление субъектов рекомендуется (хотя 152-ФЗ прямо не требует). Способы:

  • Email рассылка (для тех у кого есть email)
  • Уведомление в личном кабинете
  • Объявление на сайте

При изменении правовых оснований (например, добавление новой цели) — может потребоваться новое согласие субъекта.


Что этот skill НЕ делает

  • Не обновляет политику автоматически — только flag'ает gaps
  • Не публикует обновления — это работа DPO + IT (на сайт)
  • Не валидирует юридическую корректность — DPO + GC review
  • Не делает legal opinion при сложных кейсах

Attribution

Adapted from privacy-legal/policy-monitor by Anthropic (Apache 2.0).

Изменения от оригинала:

  • Workflow universal — структура полностью сохранена (категория A)
  • РФ-specific gaps: биометрия, cross-border, retention vs ДОУ
  • Обязательное содержание политики добавлено по приказу РКН
  • Публикация политики — упомянуто как обязательное по ст.18.1
  • Path: → ~/.ru-legal/profiles/data-protection/PROFILE.md

Original copyright: © 2026 Anthropic PBC, licensed under Apache License 2.0. Adapted by: ru-legal contributors, 2026-05-18.


Disclaimer

Этот skill производит preliminary drift analysis. Не legal advice. Все обновления политики обработки ПДн утверждаются DPO + GC.


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

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

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

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

Frequently asked questions

What does the Policy Monitor AI skill do?

Поддерживать политику обработки ПДн актуальной с practice. Два режима: weekly sweep saved ОВПД, ДОУ reviews, и triage results для нахождения policy drift; или direct query для предложенного new practice. Используй когда "покрывает ли наша политика это", "мы хотим начать делать X — нужно ли обновлять политику", "policy sweep", "найди где политика больше не соответствует тому что делаем".

Why use Policy Monitor on TypingMind?

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

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

Which AI models can use Policy Monitor?

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 Policy Monitor?

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

Is the Policy Monitor 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 👇