跳到正文
Skillpedia
分析与电子表格5.8k · #14734

setup-openmed

它能做什么

这项技能教智能体如何记录去标识化项目的隐私选择。它会问几个固定问题,并把答案保存在一个必须由人批准的政策文件中。

适用场景

  • ✓当项目必须先确定去除个人数据的规则,并需要先将其记录下来的时候。
  • ✓当团队需要一份书面政策,说明适用的司法管辖区、召回率目标和审计位置的时候。
  • ✓当管理人员要求在处理任何临床数据之前,先有一份可供审阅的隐私设置文件的时候。

技能链接

https://github.com/maziyarpanahi/openmed/blob/master/skills/setup-openmed/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/maziyarpanahi/openmed/blob/master/skills/setup-openmed/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在我们接触任何患者数据之前,请帮我为医院项目设置一份去标识化政策文件。”

每周 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:

  1. Explain that the result is a draft configuration and that human approval is required. Ask only for the five decisions in the table.

  2. 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.

  3. 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.

  4. 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.

  5. 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
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能