Data FlowData Flow
DataFlow
  • User Manual
  • Developer Manual
  • Examples
  • API Reference

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) and dataflow-observability (read-only run inspection).
  • Portable - built as ZIP bundles for agents, claude, cursor, copilot, and codex.
  • 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

SkillVersionTeaches
dataflow-pipeline0.5.25Author, validate, apply, run, schedule, and cancel pipelines
dataflow-observability0.1.4Inspect 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
skills/<name>/ ├── SKILL.md # entry point: rules and workflows ├── references/ # loaded on demand (rules, patterns, schema) └── examples/ # complete validated YAML (pipeline skill)
  • SKILL.md frontmatter has exactly two fields: name (must match the folder) and description
  • Versions do not live in the skill - they live in skill/VERSION.yaml and the released bundle manifest
  • Skills reference tools by name (runtime-style dataflow_apply_pipeline, MCP-style dataflow.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:

TerminalCode
# build (from skill/, with the repo venv active) ./scripts/build-all-skill-bundles.sh # -> dist/dataflow-pipeline-0.5.25.zip, ... # install into a project (supported: agents, claude, cursor, copilot, codex) /path/to/.../skill/scripts/install-skill.sh claude --project # observability skill instead of the default pipeline skill: DATAFLOW_SKILL_NAME=dataflow-observability .../install-skill.sh claude --project # or install from a ZIP / URL as the third argument

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
Suggest edit
Last modified on November 26, 2026
On this page
  • At a glance
  • The two skills
  • Structure
  • Offline use
  • The schema snapshot
  • Versioning and validation
  • Related pages