dbt-projects-on-snowflake
БесплатноЗапускает вложенные скриптыНе проверенDeploying, managing, executing, and monitoring dbt projects natively within Snowflake using dbt PROJECT objects and event tables. Use this skill when you want…
Об этом скилле
dbt Projects on Snowflake
Deploy, manage, and monitor dbt projects natively within Snowflake using web-based workspaces, schema-level DBT PROJECT objects, and comprehensive event table telemetry.
Quick Start
Three Ways to Use dbt Projects:
- Snowsight Workspaces - Web-based IDE for interactive development
- DBT PROJECT Objects - Deployed projects for production execution
- Snowflake CLI - Command-line deployment and execution
Setup
Complete setup instructions including prerequisites, external access integration, Git API
integration, and event table configuration are in references/SETUP.md.
Deployment Methods
Method 1: Snowflake CLI (Recommended)
# Deploy project
snow dbt deploy my_project --source .
# Execute commands
snow dbt execute my_project run
snow dbt execute my_project build
Method 2: Snowsight
- Navigate to Projects → My Workspace
- Create new project from Git repository
- Configure profiles.yml
- Deploy as DBT PROJECT object
Method 3: SQL Execution
Execute directly in SQL:
EXECUTE DBT PROJECT <db>.<schema>.<project> args='build';
EXECUTE DBT PROJECT <db>.<schema>.<project> args='build --full-refresh';
EXECUTE DBT PROJECT <db>.<schema>.<project> args='build --select tag:gold';
Check and pin supported dbt versions
Run this to see the live list of versions currently available in the Snowflake managed runtime:
-- List the dbt versions supported by dbt Projects on Snowflake (Fusion + Core)
SELECT SYSTEM$SUPPORTED_DBT_VERSIONS();
SYSTEM$SUPPORTED_DBT_VERSIONS() returns each supported version along with its engine type. Use
this instead of relying on a hardcoded number — preview builds advance frequently.
The DBT_VERSION attribute implicitly selects the engine:
- < 2.0 (e.g.
1.11.11) → dbt Core (Python engine) - ≥ 2.0 (e.g.
2.0.0-preview.186) → dbt Fusion (Rust engine)
-- Set an account-wide default (a DBT_VERSION >= 2.0 selects the dbt Fusion engine)
ALTER ACCOUNT SET DEFAULT_DBT_VERSION = '2.0.0-preview.186';
-- Pin a project to a specific version at creation
CREATE OR REPLACE DBT PROJECT my_dbt_project
FROM '@my_stage/dbt_files'
DBT_VERSION = '2.0.0-preview.186';
-- Change an existing project's version
ALTER DBT PROJECT my_dbt_project SET DBT_VERSION = '2.0.0-preview.186';
Per-execution override (without changing the project definition):
EXECUTE DBT PROJECT my_db.my_schema.my_dbt_project
DBT_VERSION = '2.0.0-preview.186'
args='build';
Snowflake keeps versions supported even after dbt Labs deprecates them, so you are not forced into immediate upgrades.
Scheduling & Automation
For automated scheduling with Snowflake Tasks, see the "Optional: Schedule Automated Runs" section
in references/SETUP.md.
Event Table Monitoring
Event Table Configuration
Configure event tables following the Event Table Monitoring Configuration section in
references/SETUP.md. This enables OpenTelemetry-based monitoring of dbt project executions.
Monitoring Queries
All monitoring scripts use parameterized event table references. Specify your event table location when running:
# Example: Query recent executions
snow sql -f scripts/recent_executions.sql --enable-templating JINJA \
-D event_table=MY_DATABASE.MY_SCHEMA.EVENT_LOG
# Example: Check for errors
snow sql -f scripts/execution_errors.sql --enable-templating JINJA \
-D event_table=LOGS_DB.PUBLIC.DBT_EVENTS
# Example: Performance metrics
snow sql -f scripts/performance_metrics.sql --enable-templating JINJA \
-D event_table=MY_DATABASE.MY_SCHEMA.EVENT_LOG
Core Monitoring:
recent_executions.sql- Lists recent dbt project executions with severityexecution_errors.sql- Query ERROR logs to identify failuresperformance_metrics.sql- Query CPU and memory usage metricstrace_spans.sql- Query execution spans for timing analysisexecution_summary.sql- Summarize executions by project with error counts
Advanced Use Cases:
alert_failures.sql- Alert trigger for execution failures (returns error count)performance_regression.sql- Week-over-week performance comparisonresource_usage.sql- CPU and memory consumption by projectaudit_trail.sql- Complete execution audit trail for compliance
Event Table Structure
Event tables follow the OpenTelemetry data model with these key columns:
| Column | Description |
|---|---|
| TIMESTAMP | UTC timestamp when event was created (end of time span for span events) |
| START_TIMESTAMP | For span events, the start of the time span |
| TRACE | Tracing context with trace_id and span_id |
Установить dbt-projects-on-snowflake в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dbt-projects-on-snowflake?
Deploying, managing, executing, and monitoring dbt projects natively within Snowflake using dbt PROJECT objects and event tables. Use this skill when you want to set up dbt development workspaces, deploy projects to Snowflake, schedule automated runs, monitor execution with event tables, or enable team collaboration directly in Snowflake.
Как установить скилл dbt-projects-on-snowflake?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dbt-projects-on-snowflake запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub