/data-analyst:pii-flagfrom data-analyst
Scans CSV, Parquet, or Excel files for PII using column-name heuristics and regex value matching. Outputs a privacy audit report with confidence levels and remediation suggestions.
Ships in data-analyst. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
First-pass privacy scan of a dataset. Identifies columns likely to contain PII and samples matching rows.
standard default, strict also flags quasi-identifiers like ZIP, DOB, gender).duckdb — regex-based column scans at speed.uv run --with presidio-analyzer python -c '...' — Microsoft Presidio for ML-based entity detection when regex is insufficient.ripgrep (rg) — for ad-hoc text-file scans before structured analysis.Run column-level checks in two passes:
Match column headers (case-insensitive) against PII vocabulary:
name, first_name, last_name, email, phone, mobile, address, street, ssn, nino, passport, national_id, credit_card, iban, account_number, dob, date_of_birthzip, postcode, gender, ethnicity, ageSample up to 1000 rows per string column and test:
[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\+?\d[\d\s\-()]{7,}\d\d{3}-\d{2}-\d{4})Write <dataset>-pii-report.md containing:
| Column | Detection basis | Confidence | Sample matches (redacted) | Recommendation |
Confidence levels: high (regex + name match), medium (one of the two), low (value pattern only).
End the report with:
Never print raw PII values into the report — always mask (e.g. j***@example.com, ***-**-1234).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/anomaly-analysisScan a dataset for significant anomalies — outliers, distribution shifts, impossible values, and unusual groupings. Use when the user wants a first-pass integrity and anomaly sweep of a CSV/Parquet/Excel file before deeper analysis./correlation-analysisDetect and compute correlations between numeric variables in a dataset. Use when the user wants to see how variables in a CSV/Parquet/Excel file move together — Pearson, Spearman, or Kendall — with a short report flagging the strongest positive and negative pairs./data-dictionary-creatorGenerate a data dictionary for a dataset, combining automatic profiling with the user's description of what the data represents. Use when the user wants documentation of columns — names, types, semantic meaning, units, allowed values, and nullability — for a CSV/Parquet/Excel file./data-enrichmentIdentify what the user is trying to analyse, diagnose gaps in the current dataset, propose external data sources that could fill them, then plan and implement the enrichment. Use when the dataset alone can't answer the user's question and extra context (reference data, lookups, joinable public datasets) is needed./data-reportingProduce a parametric PDF report describing a dataset — size, schema, distributions, key statistics, and findings from other skills — compiled via Typst. Use when the user wants a shareable, print-ready document about their data, not a one-off markdown summary./forensic-sweepScan a dataset for signs that it has been pre-cleaned, normalised, imputed, smoothed, deduplicated, or otherwise processed before the user received it — data that is "suspiciously clean". Flag findings so the user knows whether they're analysing raw reality or someone else's editorial choices.claude-data-analyst@danielrosehill is listed by theantagonist2020/samr — review the source before installing
npx claudepluginhub theantagonist2020/samr --plugin claude-data-analystOther plugins' skills for the same job