setup-openmed
Skill này làm gì
Skill này dạy agent cách ghi lại các lựa chọn quyền riêng tư cho một dự án khử nhận dạng. Nó hỏi một số câu cố định và lưu câu trả lời vào tệp chính sách mà con người phải phê duyệt.
Khi nào nên dùng
- ✓Khi một dự án phải quyết định quy tắc xóa dữ liệu cá nhân và cần ghi lại trước.
- ✓Khi một nhóm cần chính sách bằng văn bản nêu rõ khu vực pháp lý, ngưỡng recall và vị trí kiểm toán.
- ✓Khi quản lý yêu cầu một tệp thiết lập quyền riêng tư có thể rà soát trước khi xử lý dữ liệu lâm sàng.
Liên kết skill
https://github.com/maziyarpanahi/openmed/blob/master/skills/setup-openmed/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy giúp tôi thiết lập tệp chính sách khử nhận dạng cho dự án bệnh viện của chúng tôi trước khi chạm vào bất kỳ dữ liệu bệnh nhân nào.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi từng câu một về các lựa chọn cố định, như khu vực pháp lý và ngưỡng recall, rồi ghi câu trả lời vào tệp markdown. Skill không đọc dữ liệu bệnh nhân nào.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill này có kiểm tra dữ liệu của tôi không?
Không. Skill nói nó chỉ thu thập lựa chọn chính sách, không kiểm tra, tải lên hay giữ dữ liệu lâm sàng.
Chính sách có phải là phê duyệt pháp lý không?
Không. Skill nói bản nháp không phải chứng nhận tuân thủ, và con người phải phê duyệt.
Nó hỏi những quyết định nào?
Nó hỏi về khu vực pháp lý, ngưỡng recall, chiến lược bộ sinh giá trị thay thế, chính sách mô hình và vị trí kiểm toán.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 5.8k
- Vị trí xếp hạng
- #14734
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
annotating-variants
5.8kGiúp agent dự đoán tác động của biến thể di truyền, đổi tên HGVS sang vị trí bộ gen và gắn tần suất quần thể bằng công cụ chú giải miễn phí.
ask-openmed
5.8kGiúp agent chọn đúng quy trình OpenMed cho yêu cầu về văn bản lâm sàng, luôn kiểm tra quyền riêng tư trước khi có thể có dữ liệu bệnh nhân.
assembling-fhir-bundles
5.8kGói nhiều bản ghi y tế FHIR thành một Bundle giao dịch để gửi tới EHR, với các tham chiếu nội bộ được liên kết đúng.
auditing-deid-leakage
5.8kQuét văn bản lâm sàng đã khử nhận dạng để tìm định danh còn sót như SSN, số thẻ, email và ngày tháng, và chặn phát hành nếu còn sót.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.