/data-utils:api-loaderfrom data-utils
Prepare or refactor a dataset for upload into a REST API or MCP server — mapping dataset columns to API request fields, handling batching, pagination, rate limits, authentication, idempotency, and error retries. Works from an OpenAPI spec the user provides, a user-pointed MCP tool schema, or documentation for a well-known API (Salesforce, HubSpot, Airtable, Notion, Stripe, Shopify, Pipedrive, etc.). Generates a loader script plus a dry-run preview before executing.
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.
Ingest a cleaned dataset into a target API or MCP server.
openapi-spec-validator + openapi-schema-pydantic or prance.text-to-numeric, date-wrangling, standardise-country-names, unicode-consistency).load_ledger.jsonl alongside the dataset recording {row_id, request_hash, response_id, status, timestamp}./bulk, /batch) and prefer them.Retry-After honoured when present./validate endpoint if available.api_load_failures.jsonl.$CLAUDE_USER_DATA/Data-Utils/config.json:
{
"api_profiles": {
"salesforce-prod": {
"kind": "well-known",
"service": "salesforce",
"instance_url": "https://example.my.salesforce.com",
"auth": {
"type": "oauth2_refresh",
"client_id_ref": {"type": "op", "reference": "op://Private/SF/client_id"},
"client_secret_ref": {"type": "op", "reference": "op://Private/SF/client_secret"},
"refresh_token_ref": {"type": "op", "reference": "op://Private/SF/refresh_token"}
}
},
"custom-api": {
"kind": "openapi",
"spec_url": "https://api.example.com/openapi.json",
"base_url": "https://api.example.com",
"auth": {"type": "bearer", "token_ref": {"type": "env", "name": "EXAMPLE_TOKEN"}}
},
"my-mcp": {
"kind": "mcp",
"server": "my-company-mcp"
}
}
}
pip install pandas httpx tenacity
# OpenAPI handling
pip install prance openapi-spec-validator
# per well-known service (examples)
pip install simple-salesforce
pip install hubspot-api-client
pip install pyairtable
pip install notion-client
pip install stripe
pip install ShopifyAPI
Prefer official SDKs over hand-rolled HTTP where they exist and are stable.
pii-flag before sending. Confirm with the user that the target is authorised to hold this data.CONVENTIONS.md — require explicit confirmation, prefer soft-delete flags where available.API loads are writes to shared external state. Follow the backup policy in CONVENTIONS.md:
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