Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dbt-core

БесплатноЗапускает вложенные скриптыНе проверен

Managing dbt locally - installing dbt 2.0 (Fusion) via the official installer, configuration, project setup, package management, troubleshooting, and…

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub21 установка в других каталогах

Об этом скилле

dbt Local Development Guide (Fusion / dbt 2.0)

Purpose

Guide AI agents through installing and configuring dbt on local machines using the dbt Fusion engine (dbt 2.0). Fusion is a single standalone Rust binary — there is no Python requirement, no conda, and no separate dbt-snowflake adapter package to install. The agent runs a diagnostic script, installs Fusion via the official installer, and guides the user through Snowflake configuration.

When to Use This Skill

Activate this skill when users ask about:

  • Installing the dbt Fusion engine (dbt 2.0)
  • Configuring profiles.yml for Snowflake
  • Setting up authentication (PAT, SSO, key pair, OAuth)
  • Installing and managing dbt packages
  • Troubleshooting connection issues
  • Initializing new dbt projects
  • Verifying installation and configuration
  • Upgrading dbt versions

Official dbt Documentation: Install dbt · dbt Projects on Snowflake


AI Agent Workflow

IMPORTANT: This skill uses non-interactive scripts. The AI agent must:

  1. Run the diagnostic script to check the environment
  2. Install the Fusion engine if dbt is missing or not on version 2.0.x
  3. Verify the installation
  4. Guide the user through next steps

Step 1: Check Environment

AI Agent Action: Run the check script to see whether dbt Fusion is already installed:

macOS/Linux:

cd .claude/skills/dbt-core/scripts/
./check-environment.sh

Windows:

cd .claude\skills\dbt-core\scripts\
check-environment.bat

What It Checks:

  • Whether dbt is on PATH
  • Whether dbt --version reports the Fusion engine (2.0.x)
  • snowflake-cli availability (optional, separate tool)
  • curl availability (required by the installer)

Output: Structured summary with a recommendation for next steps.

Step 2: Install the dbt Fusion Engine

If dbt is not installed (or is not the Fusion 2.0.x engine), run the installer. Fusion installs to a per-user location and does not require sudo/admin.

macOS/Linux — installs to $HOME/.local/bin, updates PATH, and sets a dbtf alias:

cd .claude/skills/dbt-core/scripts/
./install-dbt.sh

Equivalent one-liner:

curl -fsSL https://public.cdn.getdbt.com/fs/install/install.sh | sh -s -- --update

Windows PowerShell — installs to %USERPROFILE%\.local\bin and updates the user PATH (no admin required):

cd .claude\skills\dbt-core\scripts\
.\install-dbt.ps1

Equivalent one-liner:

irm https://public.cdn.getdbt.com/fs/install/install.ps1 | iex

Step 3: Verify

Open a new terminal (so PATH changes take effect) and confirm the Fusion engine is active:

dbt --version
# Expect: dbt-fusion 2.0.0-preview.x

Step 4: Next Steps

AI Agent Action: Once dbt is installed and verified, guide the user to configure their Snowflake connection (see the profiles.yml configuration section below).


Available Scripts

All scripts are in the scripts/ folder and are non-interactive for AI agent execution:

Diagnostic Script

  • check-environment.sh/.bat - Environment check that:
    • Confirms dbt is on PATH
    • Reports the dbt version and verifies it is the Fusion engine (2.0.x)
    • Checks for the optional snowflake-cli tool and curl
    • Provides a recommendation for next steps

Installation Scripts

  • install-dbt.sh - Install the dbt Fusion engine on macOS/Linux, then print dbt --version
  • install-dbt.ps1 - Install the dbt Fusion engine on Windows (no admin), then print dbt --version

Supporting Files (also in scripts/ folder)

  • requirements.txt - Optional supporting Python tools (snowflake-cli, Snowpark, Streamlit, etc.). dbt itself is not installed here — it comes from the Fusion installer.

Manual Installation

Fusion is a standalone binary installed by the official installer (see Step 2 above). Fusion does not require Python. If you specifically want the Python distribution of dbt 2.0 instead of the standalone binary, pip install --pre dbt is an optional alternative.


Snowflake Configuration & Authentication

Configure your Snowflake connection in ~/.dbt/profiles.yml. The profiles.yml documentation covers all authentication methods:

  • PAT (Programmatic Access Token) — generate with the Snowflake CLI (recommended)
  • SSO authentication with authenticator: externalbrowser
  • Key pair authentication
  • OAuth authentication
  • Multi-environment configurations (dev, prod) via targets
  • Account identifier formats (preferred account name and legacy locator formats)

To configure:

  1. Create ~/.dbt/profiles.yml with your Snowfl
Полный SKILL.md на GitHub

Установить dbt-core в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

scripts/check-environment.batscripts/check-environment.shscripts/install-dbt.ps1scripts/install-dbt.shscripts/requirements.txt

FAQ

Что делает скилл dbt-core?

Managing dbt locally - installing dbt 2.0 (Fusion) via the official installer, configuration, project setup, package management, troubleshooting, and development workflow, with configuration templates for profiles.yml and dbt_project.yml.

Как установить скилл dbt-core?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dbt-core запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить dbt-core с