/data-utils:pii-flagfrom data-utils
Scan a dataset for personally identifiable information (PII) — names, emails, phone numbers, addresses, government IDs, credit cards, IPs, dates of birth, geocoordinates — and produce a cell-level report of where PII was detected, with confidence scores and recommended remediation. Use before publishing, sharing, or pushing a dataset to public storage (e.g. Hugging Face).
Ships in data-utils. 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.
Detect PII in a dataset at column and cell level, and report findings.
hf-dataset-push or any public distribution.phonenumbers.email, phone, ssn, address, dob, name, first_name, last_name, ip, lat, lon get flagged up-front.phonenumbers for validation; python-stdnum for national IDs.presidio-analyzer or a local NER model to catch PII inside free text.pii_report.jsonl with one line per detected cell:
{"row": 42, "column": "notes", "start": 18, "end": 34, "category": "EMAIL", "value": "a***@example.com", "confidence": 0.98}
Mask the reported value by default (show first char + asterisks) — do not echo full PII into reports.synthetic-data-overlay).For a fast column-level audit before the cell-level pass:
standard (default) or strict, which also flags quasi-identifiers (zip, postcode, gender, ethnicity, age, DOB).duckdb for regex column scans at speed, rg for ad-hoc text files, uv run --with presidio-analyzer python ... for ML entity detection on free text (PERSON, LOCATION, ORGANIZATION).<dataset>-pii-report.md (column, detection basis, confidence, masked samples, recommendation), the count of rows containing any PII, and a callout when combining non-PII columns could re-identify individuals (k-anonymity concern).j***@example.com, ***-**-1234).pip install pandas phonenumbers python-stdnum
# optional ML-based detection
pip install presidio-analyzer presidio-anonymizer
example.com, [email protected]). Report but flag as likely-benign; don't auto-remediate.phonenumbers with locale hints.pii_report.jsonl publicly; default to writing it alongside the dataset with a .gitignore entry.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
47 skills in this plugin
/add-changelogAdd or update a CHANGELOG.md in a data repository, recording dataset versions, schema changes, row-count deltas, enrichments applied, and re-publications. Follows Keep-a-Changelog conventions adapted for datasets. Use when the user wants versioned documentation of how a dataset has evolved over time./add-data-dictionaryCreate a data dictionary for a dataset (CSV, JSON, JSONL, Parquet, Excel) that documents every column/field — name, type, description, units, example values, nulls allowed, source. Use when a dataset has no accompanying documentation and the user wants one generated./add-iso3166Add ISO 3166 country codes (alpha-2, alpha-3, numeric) to a dataset that references countries by name but lacks standardised codes. Use when the user has a CSV/JSON/Parquet/Excel dataset with country names and wants ISO 3166 codes added as new columns/fields.data-utils@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin data-utils