# Deidentifying Clinical Text (agent skill)

> Deidentifying Clinical Text is an agent skill (a SKILL.md file) from maziyarpanahi/openmed. Remove, mask, or replace PHI/PII in clinical free text on-device with OpenMed's deidentify(). It works with Claude Code, Codex and OpenCode and has 5,453 GitHub stars across a repository of 4 listed skills.

Remove, mask, or replace PHI/PII in clinical free text on-device with OpenMed's deidentify(). Use when the user needs to de-identify medical notes, strip patient identifiers, redact PHI before sharing or analysis, anonymize discharge summaries, or pick a de-id method (mask vs remove vs replace vs hash vs shiftdates). Covers confidencethreshold for safety, consistent+seed for stable surrogates, keepmapping for reversible de-id, policy= profiles, and the DeidentificationResult fields.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/maziyarpanahi/openmed |
| Skill path | skills/deidentifying-clinical-text/SKILL.md |
| Skill name | deidentifying-clinical-text |
| GitHub stars | 5,453 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 4 |
| Plugin marketplace | openmed-skills |
| Official | no |
| Works with | Claude Code, Codex, OpenCode |
| Category | Data & analysis |
| Last commit | Oct 3, 2026 |

## When it triggers

- Use when the user needs to de-identify medical notes, strip patient identifiers, redact PHI before sharing or analysis, anonymize discharge summaries, or pick a de-id method (mask vs remove vs replace vs hash vs shiftdates).

## Add this skill

### Claude Code

```sh
/plugin marketplace add maziyarpanahi/openmed
/plugin install openmed-skills@openmed-skills
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/maziyarpanahi/openmed.git
cp -r openmed/skills/deidentifying-clinical-text .agents/skills/deidentifying-clinical-text   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/maziyarpanahi/openmed.git
cp -r openmed/skills/deidentifying-clinical-text .cursor/skills/deidentifying-clinical-text   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/maziyarpanahi-deidentifying-clinical-text
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
