setup-openmed
Что он делает
Этот скилл учит агента записывать решения по конфиденциальности для проекта обезличивания. Он задаёт несколько фиксированных вопросов и сохраняет ответы в файл политики, который должен утвердить человек.
Когда использовать
- ✓Когда проекту нужно решить правила удаления личных данных и сначала их зафиксировать.
- ✓Когда команде нужна письменная политика с юрисдикцией, целевой полнотой и местом аудита.
- ✓Когда руководитель просит файл настройки конфиденциальности для проверки до обработки любых клинических данных.
Ссылка на скилл
https://github.com/maziyarpanahi/openmed/blob/master/skills/setup-openmed/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Помоги настроить файл политики обезличивания для нашего проекта в больнице, прежде чем мы прикоснёмся к данным пациентов.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент задаёт по одному вопросу о фиксированных вариантах, например юрисдикция и минимум полноты, и записывает ответы в файл markdown. Скилл не читает никаких данных пациентов.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Set up an OpenMed de-identification policy
Use this skill before a de-identification pipeline when the privacy decisions are not already recorded. It creates a small policy document; it does not inspect, transform, upload, or retain clinical data. The setup is local-first, deterministic, and has no mandatory network call.
The output is a draft configuration contract, not a compliance certification, legal opinion, or guarantee of de-identification. A human must review and approve the draft before it controls a run.
When to use this skill
Use it when a project needs to turn implicit privacy choices into a reviewable
DEID-POLICY.md file. Use the focused de-identification skills afterward to
apply or audit the selected policy.
Do not use this skill to collect a note, dataset row, identifier, model output, secret, credential, or any other source payload. The setup questions accept policy choices only. Keep logs, exceptions, reports, and fixtures free of raw sensitive values.
Bounded decision contract
Collect these five decisions, one at a time. Do not invent a sixth field or silently choose a value. The value written to the artifact must be the lowercase canonical value in the right-hand column.
| Decision | Bounded choices (canonical value) |
|---|---|
| Jurisdiction or operating context | us, eu, canada, research, organization-defined |
| Recall floor | 0.90, 0.95, 0.99 |
| Surrogate strategy | mask, remove, replace, hash |
| Model policy | local-preinstalled, local-user-supplied, rules-only |
| Audit location | separate-local-directory, controlled-artifact-store, no-retention |
The jurisdiction choices are context labels, not findings that a law applies.
For example, us may be used for a US/HIPAA-context workflow and eu for an
EU/GDPR-context workflow, but the generated document must not claim that the
workflow is compliant. research and organization-defined require the
project's own governance review.
The recall floor is a release target, not an observed score. Do not write a
metric, benchmark result, dataset name, or model claim into this artifact.
replace must use deterministic, synthetic surrogates when it is later
implemented; any re-identification mapping remains a separately protected
secret. hash is one-way for this policy document, but hashes can still be
sensitive linkage material.
Setup workflow
Follow this order exactly:
Explain that the result is a draft configuration and that human approval is required. Ask only for the five decisions in the table.
Normalize each answer for comparison by trimming surrounding whitespace, folding case, and treating spaces or underscores as hyphens. Match the normalized answer against the bounded choices exactly. Do not accept a free-form value, and do not infer a jurisdiction from prose.
If an answer is missing or invalid, stop before writing the artifact. Report only the field name and the allowed canonical choices; never echo the answer, a source value, or exception text.
Read the local DEID-POLICY.template.md and replace only its five decision placeholders:
{{ jurisdiction }}{{ recall_floor }}{{ surrogate_strategy }}{{ model_policy }}{{ audit_location }}
Before substitution, require
Template version: 1.0,Policy schema: 1, and exactly one occurrence of each listed placeholder with no other placeholder. If that contract differs, stop before writing and report only that the template contract is invalid. Preserve the template version, section order, checkboxes, and line endings. Do not add a timestamp, random identifier, machine path, user identity, source text, detected span, model output, or free-form rationale.Resolve the user-requested project directory and require it to be an existing local directory. The output target is exactly its direct child
DEID-POLICY.md; do not accept a different filename or derive one from an answer. Refuse a symlink or any existing non-regular target. If a regular file already exists, ask for explicit permission before replacing it; never overwrite it implicitly or write through a symlink. Render to a uniquely created sibling temporary file, flush and sync its bytes, recheck the resolved parent and target immediately before replacement, and atomically replace the target. If the target appeared after th
Частые вопросы
Этот скилл проверяет мои данные?
Нет. Скилл указывает, что он только собирает выбор политики и не проверяет, не загружает и не хранит клинические данные.
Политика — это юридическое одобрение?
Нет. Скилл указывает, что черновик не является сертификатом соответствия, и его должен утвердить человек.
Какие решения он уточняет?
Он спрашивает о юрисдикции, минимуме полноты, стратегии замен, политике моделей и месте аудита.
Подробности
Оригинальное описание автора
Collect a bounded set of de-identification policy decisions and write a deterministic, reviewable DEID-POLICY.md from the versioned local template. Use when a project needs explicit jurisdiction, recall floor, surrogate strategy, model policy, audit location, and human approval before privacy work begins.
repo: maziyarpanahi/openmed
Популярность
- Звёзды на GitHub
- 5.8k
- Место в рейтинге
- #14734
- Лицензия
- Apache-2.0
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
annotating-variants
5.8kПомогает агенту предсказать, что делает генетический вариант, перевести названия HGVS в позиции генома и добавить частоты в популяциях, с помощью бесплатных публичных аннотаторов.
ask-openmed
5.8kПомогает агенту выбрать правильный рабочий процесс OpenMed для запроса по клиническому тексту, начиная с проверки конфиденциальности, если могут быть данные пациентов.
assembling-fhir-bundles
5.8kУпаковывает несколько медицинских записей FHIR в один транзакционный Bundle, готовый к отправке в EHR, с правильно связанными внутренними ссылками.
auditing-deid-leakage
5.8kСканирует обезличенный клинический текст на остатки идентификаторов, например СНИЛС, номера карт, электронные адреса и даты, и блокирует выпуск, если что-то осталось.
Похожие скиллы
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
slacrawl
394kПозволяет агенту искать и считать сообщения в локальном архиве Slack, проверять его свежесть и при необходимости обновлять архив.
goplaces
394kПомогает агенту искать места, получать их подробности и отзывы и определять названия мест через Google Places, с выводом в JSON для скриптов.