Topic Model Consolidation
TyrealQ/q-skills
Consolidates BERTopic, LDA or NMF topic output into a theory-driven classification framework and writes the final labels back to an Excel file.
A skill your agent uses when clinical data may contain PHI and must be de-identified before any LLM-assisted analysis.
$ npx skills add Aperivue/medsci-skills --skill deidentify -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Aperivue/medsci-skills deidentify --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/deidentify .claude/skills/deidentify && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .claude/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentifyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Aperivue/medsci-skills --skill deidentify -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Aperivue/medsci-skills deidentify --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/deidentify .agents/skills/deidentify && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .agents/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Aperivue/medsci-skills --skill deidentify -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Aperivue/medsci-skills deidentify --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/deidentify .cursor/skills/deidentify && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .cursor/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Aperivue/medsci-skills.git --path skills/deidentify--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Aperivue/medsci-skills --skill deidentify -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Aperivue/medsci-skills deidentify --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/deidentify .gemini/skills/deidentify && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .gemini/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Aperivue/medsci-skills deidentifyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Aperivue/medsci-skills --skill deidentify -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/deidentify .github/skills/deidentify && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .github/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Aperivue/medsci-skills --skill deidentify -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Aperivue/medsci-skills deidentify --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/deidentify .opencode/skills/deidentify && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "deidentify" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/deidentify into .opencode/skills/deidentify/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "deidentify", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
deidentifyA skill your agent uses when clinical data may contain PHI and must be de-identified before any LLM-assisted analysis.
Deidentify is an agent skill from Aperivue/medsci-skills. Use when clinical data may contain PHI and must be de-identified before any LLM-assisted analysis. A local Python script (no network or AI calls) detects identifiers with regex and heuristics in 11 country locale packs, with interactive terminal review.
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 26 other files, including reference files (for example `deidentify.py`, `locales/_template.json` and `locales/au.json`).
It sits in Research & Science. It works with Python and Microsoft Excel. The repository describes itself as: Agent Skills for medical research — literature search, reporting-guideline & citation checks, statistics, publication figures, submission. Works with Claude Code, Codex, Cursor &… The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3b14ae2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
python3pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Deidentify loads about 3.4k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 66 tokens; SKILL.md has 1,760 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Aperivue/medsci-skills at commit 3b14ae2, republished under its MIT licence (© Aperivue). 1,760 words, ~3,412 tokens.
.claude/skills/deidentify/SKILL.md (or your agent's skills folder). This skill also uses 24 other files; get the full folder from GitHub.You are guiding a medical researcher through data de-identification. The actual de-identification is performed by a standalone Python script that runs WITHOUT any LLM. Your role is to explain, guide, and verify — not to see or process raw PHI data.
! prefix,
no Bash tool call): the review prints sample values of every column.${CLAUDE_SKILL_DIR}/references/hipaa_18_identifiers.md — HIPAA Safe Harbor checklist${CLAUDE_SKILL_DIR}/references/korean_phi_patterns.md — Korean-specific regex patterns${CLAUDE_SKILL_DIR}/references/date_shift_guide.md — Date shifting best practicesRead relevant references before advising the researcher.
openpyxl (for .xlsx files): pip install openpyxlAsk the researcher:
Based on answers, recommend the appropriate command:
python3 deidentify.py full <file> --locale <code>python3 deidentify.py scan <file> --locale <code> firstAvailable locale codes: kr (Korea), us (USA), jp (Japan), cn (China), de (Germany),
uk (United Kingdom), fr (France), ca (Canada), au (Australia), in (India), it (Italy).
If --locale is omitted, the script shows an interactive country selection menu.
Users can provide a custom locale file via --locale-file custom.json.
Guide the researcher to run the script. The script is located at:
${CLAUDE_SKILL_DIR}/deidentify.pyFull pipeline (recommended for most users):
python3 ${CLAUDE_SKILL_DIR}/deidentify.py full data.xlsx \
--locale kr \
--output-dir ./deidentified/Step-by-step (for careful review):
# Step 1: Scan
python3 ${CLAUDE_SKILL_DIR}/deidentify.py scan data.xlsx --locale kr --output-dir ./deidentified/
# Step 2: Review (interactive)
python3 ${CLAUDE_SKILL_DIR}/deidentify.py review ./deidentified/scan_report.json
# Step 3: Apply (refuses a report that was not reviewed, has a column without a decision,
# or was made from data that has changed since: edit the file, then scan and review again)
python3 ${CLAUDE_SKILL_DIR}/deidentify.py apply ./deidentified/reviewed_report.jsonOptions:
--locale CODE: Country locale for PHI patterns (kr, us, jp, cn, de, uk, fr, ca, au, in, it)--locale-file PATH: Custom locale JSON file (copy locales/_template.json to create one)--auto-accept-safe: Keep SAFE columns without showing them. Not recommended: SAFE means
no pattern matched, not that the column holds no identifiers (a name typed into a short
comment matches no pattern), and this option means nobody looks at those columns--hash-mapping: Store unkeyed SHA-256 hashes instead of original names/IDs in the mapping
file. Dates and numeric IDs can be recovered from such hashes by trying every candidate, so
mapping.json stays restricted either way--output-dir: Where to save de-identified file, mapping, and audit log-v/--verbose: Enable debug loggingThe script's terminal review has three passes:
row if every row is a different patient. Each patient gets
their own offset; without a key the tool does not shift dates.Coach the researcher. Deliver these prompts in the researcher's preferred language:
[REDACTED]: the script cannot
find a name inside a sentence, so it does not try to keep the rest of the text.After the script completes, help the researcher verify:
Read the audit log (no original values; before_hash is an HMAC-SHA256 under a
per-run key that is kept only in mapping.json):
cat ./deidentified/audit_log.csv | head -20Verify the number of changes, affected columns, and PHI types.
Ask the researcher to spot-check the de-identified file first, in their own terminal: pseudonyms (P0001, etc.), shifted dates and [REDACTED] markers where expected, and no names in the columns they kept. Read it yourself only after they confirm.
Check that sensitive columns are actually removed: Verify no original names, phone numbers, or RRN values remain.
Mapping file security:
Generate a de-identification methods paragraph for the manuscript or IRB:
Template:
Direct identifiers were removed from the dataset prior to analysis using a rule-based de-identification tool (deidentify.py, medsci-skills) with the [COUNTRY] locale pattern pack. The tool scanned column names and cell values using regex patterns for country-specific identifiers (e.g., national ID numbers, phone numbers), email addresses, dates, and addresses. Each column classification was reviewed by the researcher in an interactive terminal session. Names were replaced with pseudonyms (P0001, P0002, ...), dates were shifted by a random per-patient offset (1-365 days, either direction) preserving relative temporal intervals, and direct identifiers (phone numbers, email addresses, national ID numbers) were suppressed. A total of [N] cells across [M] columns were de-identified. The de-identification mapping file was stored separately under restricted access (file permissions 0600).
Customize based on the actual audit log statistics. Do not call the dataset "de-identified under HIPAA Safe Harbor" (or anonymised under another law) unless the gaps listed in "What the tool does not do" were closed as well, or an expert determination covers them.
clean-data in the research pipeline/clean-data for data quality profiling/analyze-stats can safely process the de-identified output/write-paper Methods section should reference the de-identification process/write-protocol can use the HIPAA/PIPA reference files for protocol documentation| File | Contains PHI? | Safe for Claude? | Purpose |
|---|---|---|---|
*_deidentified.xlsx/csv | Only what the researcher kept, and what the tool cannot detect (see below) | After the researcher confirms it | Data for analysis |
mapping.json | YES | No | Original ↔ pseudonym mapping, per-patient date offsets, audit hash key |
audit_log.csv | No original values (keyed hashes) | Yes | What was changed and where |
scan_report.json | No cell values | Yes | Column classification results |
reviewed_report.json | No cell values | Yes | Researcher-reviewed classifications and patient key column |
The tool removes or replaces the identifiers the researcher marked for anonymization. It does not by itself make a dataset HIPAA Safe Harbor de-identified, or anonymous under other laws:
[DATE_SHIFTED].zip,
zipcode, zip_code) or by the ZIP+4 form (94110-1234). A bare 5-digit value cannot be
told apart from other 5-digit codes (e.g. procedure codes), so a ZIP column under another
name can be classified SAFE: check the sample values in review.Mar-15-2024), year-first with a month word (2024-Mar-15), month and year only
(March 2024), non-English month words (15 mars 2024, 15. März 2024), and two-digit-year
day/month dates outside the us locale (15/03/24 under uk). Under us, any
M/D/YY-shaped value (e.g. 1/2/10) is treated as a date, so a column of such
three-part numbers is flagged PHI/date.Supported (v1):
--locale-file with templateNOT supported (planned for v2):
© Aperivue, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 24 other files (references) in skills/deidentify of Aperivue/medsci-skills.
Open the folder on GitHubat commit 3b14ae2
Deidentify next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Deidentify this skillAperivue/medsci-skills | 329 | — | ~3.4k | Automated safety check: Pass | MIT | |
| Topic Model ConsolidationTyrealQ/q-skills | 108 | — | ~1k | Automated safety check: Pass | MIT | |
| ModelViz Scientific PlotshrdZhu/modelviz-skill | 286 | — | ~3.6k | Automated safety check: Pass | None | |
| Excel Spreadsheet Creation and Editinganthropics/skills | 180k | 4 repos | ~2.1k | Automated safety check: Pass | Proprietary | |
| Excel and CSV Data Analysisbytedance/deer-flow | 83k | 4 repos | ~2.2k | Automated safety check: Pass | MIT | |
| XLSXrvdbreemen/OTGW-firmware | 207 | 35 repos | ~2.9k | Automated safety check: Pass | Proprietary |
TyrealQ/q-skills
Consolidates BERTopic, LDA or NMF topic output into a theory-driven classification framework and writes the final labels back to an Excel file.
hrdZhu/modelviz-skill
Turns your CSV or Excel data and a plain-language request into a publication-style scientific chart by adapting a catalog template, then checks and repairs it.
anthropics/skills
Creates, edits and analyzes spreadsheets (.xlsx, .xlsm, .csv, .tsv) with openpyxl and pandas, writing live formulas and recalculating to confirm zero formula errors.
bytedance/deer-flow
Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.
rvdbreemen/OTGW-firmware
Use this skill any time a spreadsheet file is the primary input or output.
pipeshub-ai/pipeshub-ai
Creates and edits .xlsx workbooks with real Excel formulas rather than hardcoded computed values, defaulting to exceljs in TypeScript with a static formula-safety check.
Aperivue/medsci-skills
A skill your agent uses when validating or evaluating a trained medical-imaging model.
Aperivue/medsci-skills
A skill your agent uses when turning a folder of research PDFs into Obsidian notes, even if Obsidian is not named.
Aperivue/medsci-skills
A skill your agent uses when building or auditing a radiomics or tabular clinical-ML prediction model with a classical learner (LASSO, SVM, random forest, XGBoost and similar).
Aperivue/medsci-skills
A skill your agent uses when checking whether a manuscript's references are real.
Aperivue/medsci-skills
A skill your agent uses when a clinical CSV/Excel dataset needs profiling and cleaning before analysis (missing values, outliers, duplicates, type mismatches).
Aperivue/medsci-skills
A skill your agent uses when checking a radiology or medical AI study design before drafting or submission.
Works with
Categories
A skill your agent uses when clinical data may contain PHI and must be de-identified before any LLM-assisted analysis. Deidentify is an agent skill from Aperivue/medsci-skills. Use when clinical data may contain PHI and must be de-identified before any LLM-assisted analysis.
Deidentify fits situations like: clinical data may contain PHI and must be de-identified before any LLM-assisted analysis.
Run `npx skills add Aperivue/medsci-skills --skill deidentify -a claude-code`. Or copy the skill folder (skills/deidentify in Aperivue/medsci-skills) into .claude/skills/deidentify in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Aperivue/medsci-skills --skill deidentify -a codex`. Or copy the skill folder (skills/deidentify in Aperivue/medsci-skills) into .agents/skills/deidentify in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aperivue/medsci-skills --skill deidentify -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deidentify, .gemini/skills/deidentify, .github/skills/deidentify and .opencode/skills/deidentify in your project.
Going by SKILL.md and its folder, Deidentify needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Deidentify is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Deidentify: Topic Model Consolidation (TyrealQ/q-skills, 108 stars), ModelViz Scientific Plots (hrdZhu/modelviz-skill, 286 stars), Excel Spreadsheet Creation and Editing (anthropics/skills, 180k stars) and Excel and CSV Data Analysis (bytedance/deer-flow, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Aperivue (a GitHub organization) maintains it in Aperivue/medsci-skills, which has 329 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 5, 2026.
Source: Aperivue/medsci-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.