本文へスキップ
Skillpedia
分析とスプレッドシート5.8k · #14734

setup-openmed

できること

このスキルは、匿名化のプロジェクトのプライバシーの選択を文書にする方法をエージェントに教えます。決まった質問をし、その答えを、人が承認するポリシーファイルに保存します。

使う場面

  • ✓臨床データの匿名化の規則を決める必要があり、それを先に記録したいプロジェクトがあるとき。
  • ✓管轄、再現率の目標、監査の保存場所を明記した書面のポリシーが必要なチームがあるとき。
  • ✓患者データを処理する前に、レビューできるプライバシーの設定ファイルを、マネージャーが求めているとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/maziyarpanahi/openmed/blob/master/skills/setup-openmed/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“患者データに触れる前に、当院のプロジェクトの匿名化ポリシーのファイルを設定するのを手伝ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、管轄や再現率の下限などの決まった選択について、一度に一つずつ質問します。答えをマークダウンのファイルに書きます。このスキルは臨床データを読みません。

技術的な内容(元の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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル