/dataspoke:dataspoke-ingestion [question or action]from dataspoke
Manages DataSpoke ingestion sources: list, inspect, create/edit ACTIVE_CUSTOM_MANAGED and PASSIVE sources, trigger dry-run and real extractor runs, review run history and emitted datasets.
Ships in dataspoke. 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.
Drive Ingestion Control (UC1) through the public API. Acts as a question-answerer about how
ingestion works and, when the user asks, an API writer/launcher. Every call goes through
dataspoke-api; if it reports no access, send the user to /dataspoke:dataspoke-access first.
The tables below cover intent → route. For exact request and response shapes — field names, required fields, enums, nested recipe structure — read the deployment's own OpenAPI rather than guessing or working from memory:
dataspoke-schema ingestion/sources --list # discover operations, one line each
dataspoke-schema ingestion/sources # full schema for those operations
Do this before writing any POST/PUT/PATCH body — the source body is the most detailed shape
in the plugin, and CreateIngestionSourceRequest documents every field including the recipe
structure and the schedule tiers. Narrow the fragment to keep the output small
(dataspoke-schema 'sources/{id}/method/run'). /redoc is the same document rendered for
humans — hand that URL to the user; use dataspoke-schema yourself.
DATAHUB_MANAGED — synced from DataHub; read-only here (cannot be authored/edited).ACTIVE_CUSTOM_MANAGED — DataSpoke-owned extractor with a recipe + schedule; runnable.PASSIVE — an external ingestor with a declared scope; observed, not run by DataSpoke.| Intent | Call |
|---|---|
List sources (optionally ?mode=…) | dataspoke-api GET /spoke/ingestion/sources |
| Inspect one source | dataspoke-api GET /spoke/ingestion/sources/{id} |
| Create a source | dataspoke-api --confirm POST /spoke/ingestion/sources @PATH |
| Replace / update | `dataspoke-api --confirm PUT |
| Delete a source | dataspoke-api --confirm DELETE /spoke/ingestion/sources/{id} |
| Dry-run (connection check, no writes) | dataspoke-api --confirm POST '/spoke/ingestion/sources/{id}/method/run?dry_run=true' '{}' |
| Real run | dataspoke-api --confirm POST /spoke/ingestion/sources/{id}/method/run '{}' |
| Run / event history | dataspoke-api GET /spoke/ingestion/sources/{id}/event |
| Datasets covered by a source | dataspoke-api GET /spoke/ingestion/sources/{id}/datasets |
| Datasets covered by no source | dataspoke-api GET /spoke/ingestion/unmanaged |
| Available credential refs (Editor+) | dataspoke-api GET /spoke/ingestion/secrets |
| Reverse lookup for a dataset | dataspoke-api GET /spoke/common/data/{urn}/attr/ingestion |
@PATH writes the verified JSON to a scratch file with the Write tool and passes it by
reference — the recipe body is the most detailed shape in the plugin (nested, multi-field), and
@PATH avoids shell-quoting mistakes a literal argument would invite.
Every list route is paginated — limit defaults to 20 (cap 1000), with offset and sort.
Never conclude "there are only N sources" from an unpaged first page; check total_count. The
sources list omits the internal DataHub CLI wrapper sources entirely, so ?mode=DATAHUB_MANAGED
returns regular synced sources only.
Row shapes worth knowing: …/datasets rows carry authority + derivation; …/event rows
carry a derived wrapper: bool (true when the event originated on a linked internal wrapper
rather than the source itself); /secrets rows are {ref, secret_name, key} and never
include values. /unmanaged reads a registry refreshed hourly by the datahub-sync-hourly
sweep, so a just-ingested dataset can still appear there for up to an hour.
ACTIVE_CUSTOM_MANAGED sources, and show the user the
dry-run result before firing the real run.DELETE also cascades the source's dataset mappings.${secret_name__key} placeholders — never inline a plaintext
secret. Discover available refs with GET /spoke/ingestion/secrets. A malformed reference is
rejected at create/update time with 422 SECRET_REF_MALFORMED. DataSpoke has no secret-write
API: an Admin authors the K8s Secret out-of-band
(kubectl create secret generic dataspoke-source-cred-<name> --from-literal=<key>=… -n <ns>),
and the recipe only ever holds the reference.409 INGESTION_SOURCE_READONLY, 409 INGESTION_RUNNING,
409 INGESTION_RUN_NOT_APPLICABLE) and 403 READ_ONLY_ROLE verbatim — do not work around them.…/event (and …/datasets) to confirm completion and emitted datasets;
newly ingested datasets can lag a couple of minutes in DataHub search.The run response carries run_id and status at the top level, plus a detail object — and the
matching INGESTION.COMPLETE / INGESTION.FAIL event detail carries the same fields (plus
run_id and platform). Interpret it rather than dumping it:
| Field | Meaning |
|---|---|
dry_run | Whether this was a preview |
discovered_urns / _count | Datasets passing the filter — the "would emit" plan. Present on both dry-run and real runs |
emitted_urns / _count | Datasets actually written to DataHub. Empty with count 0 on a dry-run |
errors, warnings | Per-run diagnostics |
A dry-run connects, crawls information_schema, and applies schema_pattern — so
discovered_urns is the concrete list to show the user before a real run. emitted_urns ⊆ discovered_urns always. On a real run, discovered_urns_count − emitted_urns_count > 0
means per-table emit failures: report it as a partial success and point at errors, never as a
clean run.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dataspoke, ingestion, data-source-management, extractor-runs
npx claudepluginhub selhorys/dataspoke-baseline --plugin dataspoke6 skills in this plugin
/dataspoke-accessConnect this plugin to a deployed DataSpoke and verify access. Use to point Claude at a DataSpoke deployment (API base URL + dsk_ API token), mint a token from email/password, or check who you are and what role you hold. Prerequisite for every other dataspoke-* skill — run this first, or when calls start returning 401. Triggers on "connect to DataSpoke", "what role do I have", and the equivalent phrasing in the user's own working language./dataspoke-governanceGuide DataSpoke Governance metric configuration and operation (UC5) on a deployed instance. Use for "how do I set up a governance metric", "track validation coverage for my team", "is this data documented", creating/updating/deleting/enabling/running metrics, and interpreting results, dataset scope/verdicts, freshness, unresolved URNs, or events. Supports ingestion-freshness, validation-score, and doc-health through the public REST API. Also triggers on the equivalent phrasing in the user's own working language./dataspoke-metagenOperate DataSpoke Metadata Generation (UC4) on a deployed instance: manage named generation configurations and per-dataset boundaries, dry-run and run generation, inspect coverage and candidates, and review documentation proposals. Triggers on AI documentation proposals, metadata generation, description candidates, metadata review, 'generate descriptions for this dataset', 'review AI-written descriptions', and the equivalent phrasing in the user's own working language./dataspoke-ontogenOperate DataSpoke Ontology Generation (UC3) on a deployed instance: configure the singleton, curate Markdown seeds, dry-run and run inference, inspect events and ontology results, and review nodes, edges, then eligible triples. Triggers on ontology inference, business concepts, relationships, ontology seeds, ontology review, 'how do I generate the business ontology', 'review pending ontology proposals', and the equivalent phrasing in the user's own working language./dataspoke-validationWrite data-quality validation into a data pipeline, backed by DataSpoke as the result store (UC2). Use whenever the user is authoring or editing pipeline code that builds a partition and writes it to a destination table — PySpark, awswrangler/pandas, dbt, SQL, Airflow tasks — and wants checks on what it just wrote, with history and trend tracked across runs. Designs the judging method from the dataset's own measured history, generates the metric computation, baseline fetch, and scoring, and wires the DataSpoke calls that register the validation slot and post the score. Also manages validation slots directly — register/edit a conf, post or query results, browse the cross-dataset list. Triggers on "how do I write validation code for this dataset", "add validation to this pipeline", "register validation for this table", "what validation results exist", "validate the partition I just wrote", "row count check for this table", "is this dataset validated", and the equivalent phrasing in the user's own working language.Other plugins' skills for the same job