/orchestra:configure-dbt-build-afterfrom orchestra
Configures dbt model build_after for Orchestra state-aware orchestration, setting per-model rebuild SLAs and gating rebuilds on upstream freshness.
Ships in orchestra. 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.
build_afterAuthor the per-model build_after config so Orchestra rebuilds a model only when both its
SLA window has elapsed and its upstream data is fresh. This is the model-side half of
state-aware orchestration (SAO); the source-side half is source freshness (see the
configure-dbt-source-freshness skill). This skill writes config only — it does not run dbt
or trigger pipelines.
Unlike freshness, build_after is warehouse-agnostic — the same config works on Snowflake,
BigQuery, Databricks, and MotherDuck. The only warehouse nuance lives upstream in the freshness
signal it consumes.
config: block or dbt_project.yml models: are in play.config.freshness.build_after (count, period, optional updates_on) is set on the target
models, in the model YAML or dbt_project.yml, matching project conventions.use_state_orchestration: true is set on the Orchestra dbt Core task.updates_on choice, and how to verify.../../references/orchestra/dbt-sao/build-after.md — build_after schema and how to pick
count/period/updates_on.../../references/orchestra/dbt-sao/orchestra-task.md — enabling SAO on the task.../../references/orchestra/dbt-sao/source-freshness.md — only if you also need to add the
upstream freshness build_after depends on.Confirm upstream freshness exists. build_after gates on "is upstream fresh?", which is
meaningless without source freshness configured. Check the project's sources: YAML. If
freshness is missing, say so and pair this with configure-dbt-source-freshness — don't author
build_after against a signal that doesn't exist.
Identify the target models. Which models get an SLA? Usually marts / exposed models the
user cares about refreshing on a cadence. Read a neighbouring model's config to match how the
project configures models (inline config: vs dbt_project.yml).
Settle the SLA (count/period) — ask first, don't guess. The SLA is a business decision,
and the user often already knows it. Prompt the user before doing anything else: do they
have a target SLA per model (or a marts-wide default) in mind, or would they like you to derive
one from warehouse usage? Two paths (see build-after.md for queries and detail):
Author build_after. Set count + period to the agreed SLA (e.g. hourly → count: 1, period: hour). Choose updates_on from the model's DAG:
all — wait until every upstream is fresh (joins where a partial refresh would mislead).any (default) — rebuild as soon as any upstream has new data.Ensure SAO is enabled on the Orchestra task. use_state_orchestration: true is the SAO
master switch — it makes Orchestra consume all SAO config (freshness and build_after),
not a build_after-specific setting. Find the dbt Core task (integration: DBT_CORE,
integration_job: DBT_CORE_EXECUTE) and make sure it's on, following orchestra-task.md for
the Git-backed vs Orchestra-backed path. If it's already enabled (e.g. source freshness was set
up first), just confirm it — don't re-toggle.
Hand off. Report: models changed, SLA values + how they were chosen (usage-derived vs
user-defined) and updates_on rationale, whether upstream freshness was present or still
needed, whether SAO was newly enabled, and how to verify.
Explain rather than execute: on the next Orchestra run with SAO enabled, a model with
build_after is skipped until its window elapses and upstream is fresh; otherwise it builds.
The user can inspect SAO decisions by setting ORCHESTRA_DBT_DEBUG=true on the task.
dbt, never start_pipeline, never mutate
the warehouse. You may run read-only usage/metadata queries to estimate SLAs only if the
user opts in and your client can query the warehouse; otherwise ask the user for the SLAs.build_after without upstream source freshness — flag it as a dependency.count/period are required; updates_on defaults to any — only set it when all is meant.dbt_project.yml); don't reformat unrelated YAML.use_state_orchestration is SAO — not Slim CI. Don't conflate them.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub orchestra-hq/orchestra-skills --plugin orchestra19 skills in this plugin
/account-health-checkAudit an Orchestra workspace/account against Orchestra's best practices and produce a read-only health report — findings grouped by area, each tagged with severity, evidence, and a fix recommendation, written to a markdown file plus a chat summary. Use whenever the user wants an "account review", "workspace audit", "health check", "best-practice review", "onboarding review", or asks "is my Orchestra set up correctly?", "what should I improve?", "are we following best practices?", "review my pipelines", or "audit my workspace". Also trigger when the user mentions reviewing pipeline design, environment/promotion setup, Git/CI-CD coverage, alerting coverage, connections/secrets hygiene, concurrency, cost, RBAC, repeated tasks (MetaEngine), metadata/lineage, auto-fix agents, or hybrid-deployment fit across their Orchestra account. This skill only inspects and reports — it never edits pipelines or changes settings.
/build-data-reconciliation-pipelineBuilds Orchestra pipeline YAML using the native Data Reconciliation tasks (DATA_RECONCILIATION_MANUAL_QUERY, DATA_RECONCILIATION_CURSOR_FIELD) to prove two data stores match — the "did the migration land correctly" check between a source and destination integration (SNOWFLAKE, SQL_SERVER, DATABRICKS, any pairing). Use whenever the user wants to compare, validate, or reconcile data across two systems for a migration, replatform, cutover, or CDC/replication setup — phrases like "make sure the migration matches", "reconcile Snowflake and Databricks", "validate the cutover", "did we lose any rows moving to the new warehouse", "set up drift monitoring", or any mention of Data Reconciliation / DataRec. Produces a one-off full-match validation pipeline plus, optionally, an ongoing cursor-field drift monitor. Don't use create-orchestra-pipeline for this — Data Reconciliation tasks have sharp edges (single-scalar results, thresholds that silently no-op if omitted) covered in this skill's references.
Other plugins' skills for the same job