maziyarpanahi/openmed/generating-synthetic-surrogates
Replace detected PHI with realistic, type-matched fake values in OpenMed so clinical notes stay readable and parseable instead of full of [REDACTED] markers. Use when the user wants surrogate names, MRNs, addresses, or dates rather than opaque masks, needs consistent fake identities across a document, must keep notes natural for downstream NLP, or wants to register a custom surrogate generator or provider. Covers deidentify(method="replace", consistent=True, seed=..., locale=...), register_label
Agent skill · version 3.2.0 · from maziyarpanahi/openmed
Install
npx yarkr-cli add skill:maziyarpanahi/openmed/generating-synthetic-surrogatesWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:maziyarpanahi/openmed/generating-synthetic-surrogates
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:maziyarpanahi/openmed/generating-synthetic-surrogatesOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:maziyarpanahi/openmed/generating-synthetic-surrogatesWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.