Skills
A skill is a folder of agent guidance: a SKILL.md entry point plus progressively-disclosed references and examples. The repo ships two skills that teach AI agents how to work with DataFlow - one for authoring pipelines, one for inspecting runs.
At a glance
- Two shipped skills -
dataflow-pipeline(author, apply, run, schedule) anddataflow-observability(read-only run inspection). - Portable - built as ZIP bundles for
agents,claude,cursor,copilot, andcodex. - Live-first - the bundled schema snapshot is a fallback; live DataFlow schema, validation, and metadata always win.
- Versioned and validated - versions live in
VERSION.yaml, and the validator checks examples, fingerprints, and schema drift.
The two skills
| Skill | Version | Teaches |
|---|---|---|
dataflow-pipeline | 0.5.25 | Author, validate, apply, run, schedule, and cancel pipelines |
dataflow-observability | 0.1.4 | Inspect and diagnose runs: history, logs, stages, samples |
dataflow-pipeline covers the full lifecycle: metadata-driven authoring (resolve frames before writing transforms), safe connection selection, saved-pipeline discovery and conflict-safe updates, Apply/Run as separate approvals, and schedules. It bundles 26 validated YAML examples and a 125-file offline schema snapshot generated from the DataFlow checkout.
dataflow-observability is deliberately read-only: list runs, inspect a run and its historical spec, read targeted driver logs, inspect stage status and sample rows, and explain the root cause - with the rule that mutations belong to the pipeline skill.
Structure
Code
SKILL.mdfrontmatter has exactly two fields:name(must match the folder) anddescription- Versions do not live in the skill - they live in
skill/VERSION.yamland the released bundle manifest - Skills reference tools by name (runtime-style
dataflow_apply_pipeline, MCP-styledataflow.apply_pipeline); the runtime bridges both
Offline use
Build the bundles (requires the Python dev deps), then hand a ZIP to any AI client, or install it:
Code
Offline output has hard limits: it can draft and review YAML, but it cannot claim current connections, live validation, or execution - and it must never claim a pipeline was saved, run, or scheduled. Use placeholders for unknown connection names.
The installer verifies each bundle's manifest (per-file hashes, schema-snapshot fingerprint and provenance) and restores the previous skill if anything fails. Recipients need only Bash and Python 3.
The schema snapshot
The pipeline skill's references/schema/raw/ is a full copy of DataFlow's JSON Schemas (root, sources, transforms, destinations, scheduler, execution, 26 connection schemas), generated with export-schema-reference.sh from a DataFlow checkout. It records provenance (dataflow_version, git SHAs, a fingerprint, date) in _metadata.json.
It is a fallback: live schema, validation, and metadata results always take precedence. A newer backend version is a review signal - regenerate the snapshot from the matching checkout.
Versioning and validation
skill/VERSION.yaml holds the three knobs: the two skill versions (bumped only when that skill changes) and dataflow_tested_version (follows the snapshot export). The validator (scripts/validate_repo.py) checks:
- Frontmatter, required files, and that every referenced path exists
- Example YAML validates against the bundled schema (+ focused constraints)
- The schema fingerprint matches, and the version marker matches the snapshot
- With
DATAFLOW_REPO=/path/to/bl-data-pipeline: semantic drift against the backend's live schemas - the build fails if they diverge
The runtime reads the skills straight from the repo (no install needed) via skill_load/skill_read, and its doctor checks the versions against contracts/compatibility.json.
Related pages
- Agent Runtime - how the agent loads and applies skills
- MCP Servers - the tools the skills orchestrate
- Pipeline Spec Overview - the spec model the skills teach
- Execution Lifecycle - what run observation sees