/data-utils:text-to-numericfrom data-utils
Convert text-formatted numeric values (e.g. "$4.27", "1,234.56", "€1.2M", "3%", "(500)") into clean numeric columns, recording the original formatting (currency, scale, sign convention) in the data dictionary. Use when a column that should be numeric is typed as string because of embedded symbols, separators, or scale suffixes.
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.
Parse formatted numeric strings into proper numeric types, capturing the format metadata separately.
$4.27, 1,234.56, €1.2M, 3.5%, (500) (accounting negative), 2.5K.float / int.dtype == object but >80% of values look numeric after stripping symbols.$, €, £, ¥, ₪, ₹, etc. → record the detected currency., (US), . (EU), space (FR/scientific), ' (CH).. or , — infer from context; ask if ambiguous.K, M, B, T (multiply accordingly).% → divide by 100 OR keep as-is; ask the user.(500) → -500.− → -.float; downcast to int if all values are whole numbers.<col>_raw if the user wants a clean replacement) OR overwritten.<col>_numeric (or same name).add-data-dictionary skill._numeric suffix.pip install pandas
Optional: babel.numbers.parse_decimal for locale-aware parsing.
$5, €4, £3) — extract currency per row into a separate currency column, convert numeric without the symbol. Do not attempt FX conversion; that is a separate operation."100-200", "5–10") — flag and ask user (split into _min/_max, take midpoint, or leave as text)."~500", "<100", ">1M") — strip qualifier, record in a qualifier column, convert the numeric portion."N/A", "-", "null", "") — convert to NaN; list the sentinels detected.What SKILL.md sets; muted values are Claude Code's defaults
data-utils@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin data-utils47 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.Other plugins' skills for the same job