ask-openmed
できること
このスキルは、臨床テキストの依頼を、取り込み、プライバシー、抽出、検証などの適切なOpenMedのワークフローに振り分けます。臨床ノートを扱うが、どの手順から始めるべきかわからない人向けです。
使う場面
- ✓取り込み、抽出、共有などの複数の段階にまたがる、広い臨床データの依頼があるとき。
- ✓ノートに患者データが含まれ、先に匿名化すべきかが不明なとき。
- ✓臨床テキストの作業に、どのOpenMedのワークフローが合うかを知りたいとき。
スキルのリンク
https://github.com/maziyarpanahi/openmed/blob/master/skills/ask-openmed/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“患者の退院サマリーのバッチがあり、診断名を抽出して結果を共有したいです。どこから始めればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは目的を整理し、患者情報が含まれている可能性を確認して、適切なスキルを選びます。不明な場合は、先にプライバシーの段階に回します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Ask OpenMed
Use this skill as the first pass when a request does not name a focused OpenMed workflow. It selects an existing skill identifier; it does not process input, download a model, call a service, or make a clinical decision. No mandatory network call is part of this route.
Deterministic routing contract
Apply these rules in order:
- Normalize only the stated goal: lowercase it, trim surrounding whitespace, and collapse repeated whitespace. Do not inspect or copy the data payload.
- Apply the intake boundary. If the goal matches an Intake row, select the first matching intake skill even when the goal also names a later stage. If sensitivity is unclear, its next handoff is the privacy gate: deidentifying-clinical-text, before extraction, exchange, or verification sees the parsed content.
- For a goal with no intake cue, apply the privacy override. If it asks to
analyze, extract, exchange, share, upload, or verify clinical or personal
content and is not explicitly marked safe, start at the privacy gate. The
only safe markers are
synthetic input,synthetic note,synthetic record,synthetic dataset,input is synthetic,data is synthetic,already de-identified, andalready deidentified. A marker does not count whenno,not,never,unknown, oruncertainoccurs in the four normalized words before it. Treat every ambiguous safety statement as sensitive. - Otherwise inspect the remaining tables in the fixed handoff order shown below. Treat each comma-separated cue as a case-insensitive substring of the normalized goal, and select the first matching row. Every cue cell is a comma-separated list of alternatives; conjunctions have no special meaning. Do not add synonyms or infer cues from the payload. This stage order and row order break every tie.
- If no row matches, use building-with-openmed as the orientation fallback.
Route output should contain only the selected category, skill identifier, matched rule index, and next handoff. Never echo the request, input values, exception text, or detected spans into a log or report.
For a multi-stage request, route one stage at a time in this fixed handoff order: intake → privacy → extraction → exchange → verification. A later stage does not bypass the privacy gate merely because it was named first.
Intake
Choose the first skill for turning an external document or record format into local, processable input.
| Goal cues | First skill | Continue with |
|---|---|---|
| laboratory table, lab table | extracting-lab-tables | privacy, then verification |
| scan, fax, image, PDF, CSV, table, document OCR | ingesting-clinical-documents | privacy, then extraction |
| C-CDA, CCD, CDA XML | parsing-ccda-documents | privacy, then extraction |
| HL7 v2, ADT, ORU, MDM, OBX, pipe-delimited feed | parsing-hl7v2-messages | privacy, then extraction |
| DICOM header, DICOM-SR metadata | extracting-dicom-metadata | privacy, then extraction |
| pull FHIR records, page FHIR records, FHIR server | fetching-fhir-resources | privacy, then extraction |
Privacy
Use the privacy table both for an explicit privacy goal and for the privacy override. The first row is the default gate for unspecified sensitive input.
| Goal cues | First skill | Continue with |
|---|---|---|
| remove clinical identifiers, mask clinical identifiers, redact clinical text, anonymize clinical text, de-identify clinical text | deidentifying-clinical-text | extraction or exchange |
| find identifiers, detect identifiers, PII entities | extracting-pii-entities | de-identification or review |
| privacy policy, privacy profile | configuring-privacy-policies | de-identification |
| PHI in logs, PHI in errors, PHI in telemetry, no-PHI logging | enforcing-nophi-logging | verification |
| de-identify non-English text, multilingual de-identification | deidentifying-multilingual-text | extracti |
よくある質問
ノートを処理しますか?
いいえ。次に使うワークフローを選ぶだけです。データの処理、サービスの呼び出し、臨床上の判断は行いません。
なぜプライバシーの確認が先なのですか?
生の臨床データや個人情報が含まれる可能性がある場合、分析や共有の前に、匿名化のゲートから始めるためです。
プライバシーの確認を省けるノートはありますか?
明示的に合成データか、すでに匿名化済みと示されている場合にだけ省けます。
詳細
作者による元の説明
Choose the first OpenMed workflow skill for an intake, privacy, extraction, exchange, or verification request using deterministic local routing. Use when a goal is broad, spans several clinical-data stages, or leaves the data-sensitivity status unclear; the privacy gate is selected before downstream work when raw clinical or personal content may be present.
repo: maziyarpanahi/openmed
人気
- GitHubのスター
- 5.8k
- ランキング
- #14666
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
annotating-variants
5.8kエージェントが、無料の公開アノテーターを使って、遺伝子バリアントの作用を予測し、HGVS名をゲノム上の位置に変換し、集団の頻度を付与できるよう支援します。
assembling-fhir-bundles
5.8kエージェントが、複数のFHIR健康記録を、内部の参照を正しくつないだ一つのトランザクションBundleにまとめ、EHRに送れる状態にします。
auditing-deid-leakage
5.8kエージェントが、匿名化済みの臨床テキストに残っている識別子(SSN、カード番号、メール、日付など)をスキャンし、残っていれば公開を止めます。
auditing-deidentification-runs
5.8kエージェントが、匿名化の実行について、何が、なぜ伏せられたかを示す、署名付きで再現可能な記録を作ります。その記録には患者データは含まれません。