From drt-hub
Walks through setting up a new drt project: install, template scaffold or interactive wizard, source auth, and validation commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/drt-hub:drt-initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide the user through initializing a new drt project.
Guide the user through initializing a new drt project.
Confirm drt is installed. Pick the install line for the user's source:
pip install drt-core # core (DuckDB / SQLite / REST API source — no extras)
pip install drt-core[bigquery] # BigQuery source
pip install drt-core[postgres] # Postgres / Redshift source
pip install drt-core[mysql] # MySQL source
pip install drt-core[clickhouse] # ClickHouse source
pip install drt-core[snowflake] # Snowflake source
pip install drt-core[databricks] # Databricks source
pip install drt-core[sqlserver] # SQL Server source
(Or uv add drt-core[...] if the user prefers uv.)
Pick the right starter shape. Two flows produce the same project skeleton:
A) Template scaffolds (fastest, ~3 commands) — best when the user just wants something running:
mkdir my-drt-project && cd my-drt-project
drt init --template duckdb_to_rest # DuckDB → REST API (no accounts needed, uses httpbin.org)
Other templates:
drt init --template list # see all available templates
drt init --template postgres_to_slack # operational alerts
drt init --template duckdb_to_hubspot # CRM-style upsert
Each template prints next-steps for the env vars / source data it needs.
B) Interactive wizard (guided) — best when the user wants to be walked through a real warehouse setup:
mkdir my-drt-project && cd my-drt-project
drt init
Prompts for project name, source type (any of: bigquery / duckdb / sqlite / postgres / redshift / clickhouse / snowflake / mysql / databricks / sqlserver / rest_api), source-specific connection fields, and auth method.
Either flow writes:
my-drt-project/
├── drt_project.yml
└── syncs/<name>.yml # first sync, runnable
plus credentials to ~/.drt/profiles.yml.
Set up auth for the chosen source (only the relevant bullet):
gcloud auth application-default login or export GOOGLE_APPLICATION_CREDENTIALS=/path/to/sa.jsonexport DRT_PG_PASSWORD=...)DATABRICKS_TOKEN (personal access token from Workspace → User Settings)export REST_API_TOKEN=...)Validate the setup:
drt doctor # env-level triage — catches missing env vars, malformed profile, etc.
drt validate # YAML schema check
drt list # confirm syncs are discovered
Offer to create a first sync using the /drt-create-sync skill.
drt_project.yml selects which profile from ~/.drt/profiles.yml to use; override per-run with --profile <name> or DRT_PROFILE.syncs/<name>.yml file (sync discovery is glob-based).drt sources --detailed and drt destinations --detailed print every connector's required env vars and a sample YAML stanza — useful when hand-authoring beyond the templates.drt run --dry-run runs through the engine without writing data; --dry-run --diff previews record-level changes for queryable destinations.drt status shows recent run results; drt status --output json is the CI-friendly form.location in profiles.yml (e.g. "EU", "asia-northeast1").duckdb_to_rest template pre-scaffolded.npx claudepluginhub drt-hub/drtGuides users through drt project initialization: install drt-core via pip/uv, run drt init for data warehouse setup (BigQuery, PostgreSQL, SQLite, etc.), configure credentials, validate with drt validate/list.
Walks a drt setup through a top-to-bottom diagnostic checklist when something is off but the failing layer isn't obvious.
Scaffolds minimal dlt REST API pipeline via dlt init command for rest_api core source or generic HTTP APIs. Excludes sql_database/filesystem sources.