SkillsReviewed · maziyarpanahi

OpenMed deidentify-a-dataset

OpenMed's deidentify-a-dataset is an assistant skill for developers redacting local clinical datasets, but its output needs evaluation for missed identifiers before sharing. It documents CSV, JSONL/NDJSON and Parquet workflows with explicitly named free-text columns, a separate output file and aggregate-only summaries.

Researched 16 Nov 2026

In short.

OpenMed's deidentify-a-dataset is an assistant skill for developers preparing clinical datasets, but users must evaluate missed identifiers before releasing its output. It directs an assistant to redact explicitly selected free-text columns through OpenMed, preserve the source file and inspect aggregate summaries without logging cell contents. The documentation recommends strict_no_leak when finding sensitive information is the priority; that policy name does not establish zero leakage. Model identity, runtime compatibility, accuracy, performance and operating costs are unknown, and no execution results are available.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is skills/deidentify-a-dataset in maziyarpanahi/openmed at revision e8325586e1ce2da73e9e865f34bd0345bb64301a. Its supplied inventory contains SKILL.md only, accompanied by the repository-level LICENSE and NOTICE. The OpenMed implementation, referenced examples/datasets_walkthrough.py, model files, dependencies, datasets and other skills are outside the supplied contents. Nothing was executed. Runtime correctness, network behavior, redaction quality, performance and compliance are unassessed.

The overview

Identity

deidentify-a-dataset is a SKILL.md instruction file in maziyarpanahi/openmed. It guides an assistant through a local clinical-data redaction task. OpenMed's separately installed Python function and command-line tool perform the redaction.

The original resource folder is [https://github.com/maziyarpanahi/openmed/tree/master/skills/deidentify-a-dataset]. The supplied source represents revision e8325586e1ce2da73e9e865f34bd0345bb64301a.

Assessment

The skill is useful when a developer already knows which columns contain clinical narrative and wants an assistant to follow a repeatable redaction procedure. Its concrete strengths are explicit column selection, a separate destination and restrictions on exposing cell values during inspection.

The evidence supports a documented workflow, not a demonstrated level of privacy protection. No measured detection quality or successful execution is supplied. Suitability for releasing a particular dataset remains unassessed.

Users

The intended users are developers and data practitioners using an assistant to prepare clinical free text for analysis or sharing. Users need to identify the relevant columns, choose a language and policy, manage local files and evaluate the resulting redaction.

Beginners get a synthetic Python example and a CLI command. The skill does not explain assistant-specific installation or provide enough evidence to support unattended release of sensitive data.

Capabilities

The documented workflow accepts CSV, JSONL/NDJSON or Parquet input and explicitly named free-text columns. It produces a separate redacted dataset and exposes result.output_path and result.summary. The summary is described as containing aggregate counts and rates.

The Python interface accepts policy and language arguments. The skill recommends strict_no_leak when recall, meaning the proportion of sensitive items found, is the governing requirement. Available policies, supported languages and exact summary fields are not established.

Using it

Requirements

The documented setup requires Python and the openmed[hf] model-runtime installation. Users must provide a supported local dataset, explicit text-column names, a policy, a language and a different output path. The skill calls for files and model inference to remain on infrastructure the user controls.

Minimum Python and OpenMed versions, model identity, download size, memory needs, GPU requirements and format-specific dependencies are unknown. Representative synthetic or approved evaluation fixtures are needed to assess recall and residual leakage before release.

Mechanism

The assistant is instructed to confirm the format and text columns, choose a policy and language, then invoke OpenMed with a separate destination. It should inspect only the aggregate summary and avoid printing source values, redacted values, detected identifier text or reversible mappings.

The supplied file documents orchestration rather than the detection implementation. Its model, recognition rules, thresholds, replacement method, network behavior and handling of long documents are unassessed. Local operation is a stated requirement, not an established runtime property.

Setup

The documented installation command is python -m pip install "openmed[hf]". It does not pin a package version. After choosing the columns and destination, the supplied CLI example is openmed redact-dataset notes.csv --text-columns note,comment --policy strict_no_leak --output notes.redacted.csv.

Assistant-specific skill registration is not documented. SKILL.md also references examples/datasets_walkthrough.py for a synthetic fixture and first-run download controls; that file's contents are not supplied.

Example

The Python example creates synthetic-notes.csv with record_id and note columns. Two invented notes contain a telephone contact and a test-domain email address. The destination is synthetic-notes.redacted.csv.

Its central call is redact_dataset(source, text_columns=["note"], output_path=destination, policy="strict_no_leak", lang="en"). It prints the output path and result.summary.to_dict(). No resulting redacted text, summary values or measured recall are provided, and the example was not executed.

Assessment & evidence

Limitations

The stated task covers explicitly selected free-text columns. Treatment of identifiers in other columns, indirect identification from combinations of fields, images and metadata is not established. The workflow cannot by itself establish that an entire dataset is anonymous.

There are no supplied accuracy measurements, language-specific evaluations, performance results or failure-handling examples. Aggregate counts alone cannot establish that all identifiers were found. The skill explicitly says its summary is not proof of compliance.

Reasoning

Explicit column names avoid asking an assistant to inspect private values to guess the schema. A separate destination preserves the source, while aggregate-only inspection is intended to limit exposure through logs and assistant responses.

These safeguards address data handling. Establishing release suitability additionally requires evaluating what the detector misses on representative material. The strict_no_leak recommendation expresses a preference for recall; its name supplies no evidence of a zero-leakage guarantee.

Alternatives

The NOTICE lists Presidio as a possible source of optional recognizers and redaction patterns, and ARX as an optional engine for structured-data anonymization. These are related tools to investigate when detection components or broader table-level privacy methods are needed.

The supplied evidence provides no replacement workflow or comparison of accuracy, effort or performance. DataProfiler is also listed, but its structured-data profiling integration is explicitly described as planned.

Evidence

The resource-specific evidence is the instruction file at [https://raw.githubusercontent.com/maziyarpanahi/openmed/e8325586e1ce2da73e9e865f34bd0345bb64301a/skills/deidentify-a-dataset/SKILL.md]. It contains the procedure, installation command, synthetic example, CLI example and handling constraints.

Rights evidence is supplied by [https://raw.githubusercontent.com/maziyarpanahi/openmed/e8325586e1ce2da73e9e865f34bd0345bb64301a/LICENSE] and [https://raw.githubusercontent.com/maziyarpanahi/openmed/e8325586e1ce2da73e9e865f34bd0345bb64301a/NOTICE]. Runtime source, model documentation and execution outputs are absent, so documented behavior remains unverified.

Access & freshness

Costs

Operating costs are unknown. The Apache-2.0 license grants rights without a license charge, but the supplied material gives no compute prices, model-storage requirements, download sizes, throughput measurements or hosting estimates.

A practical budget would depend on the chosen runtime, model, dataset size and infrastructure. The evidence does not establish whether any separately acquired component carries additional charges.

Rights

The repository LICENSE and NOTICE identify OpenMed as Apache-2.0. The license permits use, modification and redistribution subject to its conditions. Redistribution requires a license copy, retention of applicable notices and attribution, and prominent change notices in modified files. Applicable NOTICE attribution must accompany distributed derivative works.

The license provides no warranty and does not generally grant trademark rights. Separately obtained model weights, dependencies and clinical datasets need their own rights assessment. The NOTICE specifically flags separate access and redistribution terms for the SHIELD evaluation corpus; that corpus is not part of the supplied skill.

Freshness

The supplied source snapshot is revision e8325586e1ce2da73e9e865f34bd0345bb64301a, captured on 2026-11-16 at 23:49:32.736 UTC. That timestamp establishes the snapshot date, not the instruction file's last modification date.

The installation example pins neither OpenMed nor a model version. Later repository changes and compatibility with current package releases are unknown.

Actions

Start with the supplied synthetic example on infrastructure you control. Establish the assistant's skill-loading method, record the actual runtime and model versions, and confirm download behavior and support for your file format and language.

Name the free-text columns explicitly and keep source and destination paths separate and access-controlled. Before releasing output, evaluate missed identifiers and unwanted redactions on representative synthetic or approved fixtures. Keep cell contents and reversible mappings out of logs; use the aggregate summary alongside that evaluation.

Evidence for this report

LICENSEnotice · checked 2026-11-16
NOTICEnotice · checked 2026-11-16
skills/deidentify-a-dataset/SKILL.mdselected · checked 2026-11-16