/dogsled-core:dogsled-overviewfrom dogsled-core
Source-of-truth overview of Dogsled, an open-source data-engineering toolkit. Defines entities (integration, source, resource, destination, pipelines, Model Spec, entity graph) and routes to action-oriented skills.
Ships in dogsled-core. 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.
Read this skill first when a user is starting from scratch, asking conceptual questions, or making a request that touches more than one Dogsled entity (e.g. "extract Linear into Snowflake and add some models"). It gives you the vocabulary, the file layout, and the routing table; the action-oriented skills do the actual work.
For any request about creating, configuring, filtering, scheduling, running, or
diagnosing an extract pipeline, route to extract-pipelines. It is the single
authoritative extract-pipeline capability skill; this overview defines terms
only.
This skill is intended to be source-of-truth-accurate. The canonical references it draws from live in AGENTS.md (root), docs/guides/run-pipelines.md, and the example projects under examples/ and workspace/. If anything here ever drifts from those, treat the canonical references as authoritative and update this skill.
Dogsled is an open-source, context-and-semantics-first data-engineering toolkit, built for the agent era. The whole stack is YAML-driven, CLI-first, and designed so AI agents can author, operate, and evolve pipelines and semantic models with humans steering. There is no UI in the core product.
A Dogsled project has four concerns:
@bobsled-inc/entity-graph.dogsled CLI.Components communicate through the Dogsled protocol, a JSONL stream of typed messages (SCHEMA, RECORD, STATE, BATCH, FILE, LOG, METRIC). FILE names a file to copy as it is, with no rows. Extractor → optional embedder → loader is the canonical pipe; every component works standalone or composed.
Dogsled protocol (JSONL on stdout)
┌──────────┐ ┌─────────────────┐ ┌──────────┐ ┌──────────┐
│ Extractor│─▶│ SCHEMA/RECORD/… │─▶│ Embedder │─▶│ Loader │
│ (YAML) │ │ shared contract │ │ optional │ │ │
└──────────┘ └─────────────────┘ └──────────┘ └──────────┘
explore-integration / mcp-discover, or bring-your-own remote MCP servers via add-custom-mcp-integration (HTTP-only, inline mcp_http transport authored entirely in YAML).@bobsled-inc/integrations (GitHub, Stripe, Slack, Linear, Notion, HubSpot, GitLab, Salesforce, Jira, Shopify, Zendesk, and more). Projects can add their own under integrations/.@bobsled-inc/loader: DuckDB, DuckLake, SQLite, BigQuery, Snowflake, PostgreSQL, MySQL, Databricks, SQL Server, ClickHouse, Turbopuffer, Elasticsearch, Chroma, pgvector, GCS, S3, local filesystem. Strategies: append, merge, full_refresh. Schema evolution supported.@bobsled-inc/embedder) — adds vector embeddings to selected text fields before they reach the loader.@bobsled-inc/model-spec (Model Spec). Multi-dialect SQL compilation (Snowflake, BigQuery, Postgres, Databricks, Redshift, DuckDB, ClickHouse).@bobsled-inc/entity-graph (dogsled entity-graph ...).dogsled.If a user asks for something not in this list (e.g. federation / query-in-place, a destination not above), flag the gap — don't claim it ships today.
my-dogsled-project/
AGENTS.md # Project guide (optional): what the data means, what is queryable, vocabulary, conventions, caveats
dogsled.yml # Optional default orchestration file
extractor.yml # Extractor settings: state and batch folders, load defaults
model-spec.yml # Model Spec settings: seed, Entity Graph, and target folders, checkpoint store
.env # Secrets (never committed); referenced from YAML as $VAR_NAME
integrations/ # Project-local integration definitions (transport + auth)
linear.yml
snowflake.yml
...
resources/ # Project-local resource definitions (endpoints, queries, pagination)
linear/ # — extends or overrides bundled resources from @bobsled-inc/integrations
issues.yml
teams.yml
github/
...
sources/ # Model Spec sources: schemas of *loaded* tables, one file per resource
linear/
issues_graphql.yml
users_graphql.yml
...
snowflake/
...
models/ # Model Spec models — SQL-as-YAML transformations
metrics/ # Model Spec metrics — named semantic measures
relationships/ # Model Spec relationships — declared joins between models
vqs/ # Model Spec verified queries — canonical NL→SQL pairs
seeds/ # Optional — static reference data (CSV/YAML) loaded into the warehouse
entity-graph/ # Optional — entity-graph project files (resolve, survivorship, truthsets)
Things to remember:
golf/datagolf/pga/. Untyped YAML under a recognized kind folder inherits that kind. The root dogsled.yml and dogsled.yaml stay valid legacy pipeline configs. Nonroot pipeline fragments declare type: pipeline_config.name and integration fields explicit.model-spec.yml's directory keys (sources_dir, models_dir, metrics_dir, relationships_dir, vqs_dir, integrations_dir) are accepted but no longer limit where files live. Dogsled discovers CSVs below seeds/; seeds_dir remains an explicit legacy override. entity_graph_dir (legacy mdm_dir) still locates Entity Graph specs.extractor.yml's common keys: state_dir, batch_dir; integrations_dir and resources_dir are accepted but no longer limit where files live.integrations/ is shared between the ELT side (extract-time transport/auth) and the Model Spec side (a Model Spec source can reference a warehouse integration to know where to materialize). Project-local integration files override or extend the bundled catalog in @bobsled-inc/integrations.$VAR_NAME; the extractor and loader resolve them at runtime.AGENTS.md is a scoped Project guide. Dogsled applies guides from the Project root through each ancestor directory of an asset. Put broad context at the root and more specific data context beside a domain. A Markdown file can also declare type: guide. Guides are context, never authority. Project Skills stay the place for repeatable procedures.Dogsled uses source in two distinct ways. Confirm which one a user means before acting:
| ELT source | Model Spec source | |
|---|---|---|
| Lives in | Pipeline config files (source: linear) | sources/<integration>/<resource>.yml |
| Means | the upstream system data is being pulled from | the schema of a loaded table that Model Spec models read from |
| References | an integration name | a connection + table (e.g. connection: warehouse_prod, table: linear_bq__issues_graphql) |
| Authored by | extract-pipelines | typically auto-generated from the loaded data; hand-edited when refining types |
When a user says "Linear is my source," they almost always mean the ELT source. When a Model Spec model has source: { ref: <connection>.<table> }, that's a Model Spec-source reference.
Listed in the order data flows: ELT in, modeling on top.
A YAML spec describing an external API, warehouse, database, or MCP server — transport, auth, pagination, and the set of available resources. Pre-built ones ship in @bobsled-inc/integrations (~80 today). Projects add their own under integrations/<name>.yml.
source:) and from model pipelines (connection: for warehouse integrations).add-integration (new), add-warehouse-source (new warehouse extractor), explore-integration (look up an existing one).One specific endpoint, table, or tool within an integration — e.g. for Linear, issues, projects, users. Bundled resources ship inside the integration spec in @bobsled-inc/integrations. Projects can add or override resources by writing their own YAML under resources/<integration>/<resource>.yml — the file declares the endpoint, request body, pagination, and any incremental cursor. A pipeline can apply a bounded input_matrix to one Resource, and an output can retain a request value with from.input when the API omits it.
Multi-transport sources (e.g. Linear, Notion) expose each entity in more than one transport — issues_graphql + issues_mcp for the same issues entity. ELT pipelines reference these either by the canonical entity name (issues) paired with a pipeline-level via:, or by the variant spec name (issues_mcp) directly. The resolution precedence is (per-resource via: → pipeline via: → bundled via: → source default_transport).
explore-integration. Scaffold from an MCP server with mcp-discover.Where loaded data lands. Defined under destinations: in a root pipeline config or a typed fragment. Built-in destinations live in @bobsled-inc/loader (17 today, listed above). The loader skill covers configuration; add-database-destination / add-file-destination cover implementing a new one.
destination or a local fan-out list in destinations.The default pipeline type: pull from a source → land in one or more destinations. Pipeline config files hold these definitions. Core fields are source, exactly one of destination/destinations, an explicit resources allowlist, and a required schedule (manual means on-demand only). runner is optional.
linear_sflk:
source: linear
destination: warehouse
resources: [issues_graphql, users_graphql, ...]
schedule: daily
runner: managed
dogsled pipeline <name>.extract-pipelines.A pipeline whose job is to materialize Model Spec models against a connection — not to extract data. Declared with type: models. Fields: connection (the warehouse integration to materialize into), models: '*' (or a list), and required schedule (manual for on-demand only). Optional warehouse selects a provider-declared warehouse ID for the whole pipeline; do not use the provider's underlying warehouse name.
snowflake_silver:
type: models
connection: snowflake
models: '*'
schedule: daily
warehouse: large # Optional ID from the connection's warehouses map
dogsled pipeline <name> surface as extract+load pipelines.dogsled-add-pipeline.A trigger attached to a pipeline (extract+load or model). Examples: hourly, daily, daily at 14:30, every 4h, or manual. The field is required; manual marks an on-demand pipeline that runs when explicitly invoked.
dogsled-add-pipeline, dogsled-generate-yml.A SQL transformation expressed as YAML — materialization (view / table / incremental / ephemeral), column types, refs to upstream tables or other models, tests, dialect notes. One file per model in models/. The Model Spec compiler emits dialect-specific SQL.
dogsled-author-model-spec-model.A named semantic measure layered on one or more Model Spec models (e.g. total_revenue, order_count). Carries an expression, synonyms, tags. One file per metric in metrics/.
dogsled-author-model-spec-metric.A declared join between two Model Spec models — join columns, join type, cardinality. Used by downstream planners (BI tools, host application, host agent) when queries cross model boundaries. One file per relationship in relationships/.
dogsled-author-model-spec-relationship.A natural-language-question → SQL pairing the host agent treats as ground truth for retrieval. Supports {ref} tokens, optional parameters, and connection pinning. One file per VQ in vqs/.
dogsled-author-model-spec-vq.Static reference data (CSV/YAML) loaded into the warehouse alongside extracted data. Useful for lookups (e.g. country codes, status mappings) that don't come from an upstream system. Dogsled discovers CSVs below any seeds/ path. Add a YAML seed spec when warehouse loading is needed; a bare CSV has no warehouse target. seeds_dir in model-spec.yml remains available as a legacy folder override.
Identity resolution + survivorship + truthsets + agent-task workflows on top of loaded data. Lives in entity-graph/ (path configurable via mdm_dir in model-spec.yml) and is driven by the dogsled entity-graph … CLI in @bobsled-inc/entity-graph.
entity-resolution.extractor.yml vs model-spec.yml — what each file owns| Pipeline config files | extractor.yml | model-spec.yml | |
|---|---|---|---|
| Concern | Orchestration: destinations + pipelines + schedules | ELT settings: extract state and batch output | Model Spec settings: seeds, Entity Graph, and compile options |
| Typical contents | destinations:, pipelines: (extract+load and model), defaults:; root or typed fragments | state_dir, batch_dir, default_load | seeds_dir, entity_graph_dir (legacy mdm_dir), targets_dir, checkpoint_store |
| Length | Where most user-facing changes happen | A few lines of settings | A few lines of settings |
| Authored by | dogsled-init, dogsled-add-pipeline, dogsled-generate-yml | dogsled-init (rarely hand-edited after) | dogsled-init (rarely hand-edited after) |
| Changes when | adding/removing pipelines, switching destinations, retiming syncs, adding model pipelines | restructuring project layout (rare) | restructuring project layout (rare) |
If the change is about what runs and when, update the owning pipeline config file. Dogsled merges all indexed fragments. Keep one owner for each pipeline name, destination name, and other top-level section. The other two manifests hold settings that rarely change once written; their *_dir keys for integrations, resources, sources, models, metrics, relationships, and VQs no longer limit where those files live.
┌──── extract ────┐ ┌── (embed) ──┐ ┌──── load ────┐ ┌──── model ─────┐ ┌──── query ────┐
│ integration + │ │ optional │ │ destination │ │ Model Spec sources + │ │ Agent hosts / │
│ resources │→ │ vector enrich│→ │ (loader) │→ │ models + │→ │ NL-SQL agents │
│ (extractor) │ │ (embedder) │ │ │ │ metrics + │ │ consume VQs │
│ │ │ │ │ │ │ relationships │ │ │
└─────────────────┘ └─────────────┘ └──────────────┘ └────────────────┘ └───────────────┘
skills: skills: skills: skills:
explore-integration, loader, add-*- dogsled-author-model-spec-model, dogsled-author-model-spec-vq,
add-integration, destination dogsled-author-model-spec-metric, dogsled-author-model-spec-
add-warehouse-source, dogsled-author-model-spec- relationship
mcp-discover relationship
pipeline config files that orchestrate this:
── extract+load pipeline: source → destination
── model pipeline: connection → materialized models
parallel concern, on top of loaded data:
── entity graph (entity-resolution): resolution + survivorship + truthsets + agent tasks
| Goal | Skill |
|---|---|
| Bootstrap a new Dogsled repo from scratch | dogsled-init |
| Author, modify, filter, schedule, run, or diagnose an extract pipeline | extract-pipelines |
| Add another pipeline to an existing repo | dogsled-add-pipeline |
Turn a plain-English goal into dogsled.yml | dogsled-generate-yml |
| Look up what an integration offers | explore-integration |
| Add a new integration the catalog doesn't have | add-integration |
| Add a REST/GraphQL API source not in the catalog (author it in YAML, no connector module) | add-custom-api-integration |
| Add a remote MCP server as a source (BYO MCP, not in the catalog) | add-custom-mcp-integration |
| Build a remote MCP server from scratch and connect it | build-mcp-server |
| Add a warehouse/database as a source | add-warehouse-source |
| Add a new database destination (Snowflake, Postgres, ClickHouse, …) | add-database-destination |
| Add a new file-based destination (Azure Blob, R2, MinIO, …) | add-file-destination |
| Scaffold extract YAML from an MCP server's tools | mcp-discover |
| Compose extract → optional embed → load stages | pipeline |
| Configure loading details only | loader |
| Validate a project before running | dogsled-troubleshoot |
| Diagnose a failing pipeline | dogsled-troubleshoot |
| Wrap an existing ETL into Dogsled | etl-migration |
| Author a Model Spec model from SQL or a description | dogsled-author-model-spec-model |
| Author a named metric | dogsled-author-model-spec-metric |
| Declare a join between two Model Spec models | dogsled-author-model-spec-relationship |
| Lock in a canonical NL-question → SQL pairing | dogsled-author-model-spec-vq |
| Stand up the curated starter analytics models for a loaded source (Stripe, HubSpot, Salesforce, …) | starter-data-models |
| Full Model Spec reference — sources, models, materializations, CLI, error codes | dogsled-model-spec |
| Expression DSL details — operators, functions, JSON paths, reserved words | dogsled-model-spec-expressions |
| Programmatic granular edits to Model Spec YAML (sources/models/columns/metrics/...) | dogsled-model-spec-edit |
| Cleaning / standardization functions for staging-layer transforms | dogsled-model-spec-cleaning |
| Set up entity resolution / golden records | entity-resolution |
add-* or a gap conversation — not a fabricated pipeline.$ENV_VAR indirection. Never write raw credentials into a pipeline config, extractor.yml, or any project YAML.AGENTS.md, docs/guides/run-pipelines.md, and the example projects under examples/ and workspace/ are authoritative.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bobsled-inc/dogsled-core --plugin dogsled-core65 skills in this plugin
/add-custom-api-integrationAuthor a generic custom_api source for any REST/GraphQL API purely in YAML — inline transport (base_url + auth), one declarative resource per endpoint, then validate/verify/extract. Use when the API isn't in the bundled catalog./add-custom-mcp-integrationAuthor a custom_mcp source for any remote MCP server (Model Context Protocol over streamable HTTP) purely in YAML — inline mcp_http transport (url + auth + auth_env_vars), one resource_kind mcp resource per tool, then validate/verify/extract. Use when the MCP server isn't in the bundled catalog./add-database-destinationOther plugins' skills for the same job