Modeler
sidequery/sidemantic
Build, validate, and manage semantic models using Sidemantic.
A skill your agent uses when authoring or debugging ade-bench tasks that must run on both DuckDB and Snowflake, including shared project migrations, setup patches, and solution patches
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasks --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .claude/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .claude/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasksType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasks --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .agents/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .agents/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasks --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .cursor/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .cursor/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dbt-labs/ade-bench.git --path skills/ade-bench-cross-db-tasks--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasks --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .gemini/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .gemini/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasksInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .github/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .github/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dbt-labs/ade-bench ade-bench-cross-db-tasks --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dbt-labs/ade-bench.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ade-bench-cross-db-tasks .opencode/skills/ade-bench-cross-db-tasks && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ade-bench-cross-db-tasks" agent skill from https://github.com/dbt-labs/ade-bench/tree/main/skills/ade-bench-cross-db-tasks into .opencode/skills/ade-bench-cross-db-tasks/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ade-bench-cross-db-tasks", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ade-bench-cross-db-tasksA skill your agent uses when authoring or debugging ade-bench tasks that must run on both DuckDB and Snowflake, including shared project migrations, setup patches, and solution patches
Ade Bench Cross DB Tasks is an agent skill from dbt-labs/ade-bench, published by the product's own GitHub organization. Use when authoring or debugging ade-bench tasks that must run on both DuckDB and Snowflake, including shared project migrations, setup patches, and solution patches
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Data warehousing. It works with Snowflake, dbt and DuckDB. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit c305600. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
yqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ade Bench Cross DB Tasks loads about 2k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 694 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dbt-labs/ade-bench at commit c305600, republished under its Apache-2.0 licence (© dbt-labs). 694 words, ~2,044 tokens.
.claude/skills/ade-bench-cross-db-tasks/SKILL.md (or your agent's skills folder).Tasks in ade-bench can target DuckDB (default) or Snowflake. A task's files go through a deterministic four-stage lifecycle. Patches that ignore this order produce context mismatches or "reversed patch" prompts that block execution.
1. MIGRATION shared/migrations/<name>/migration.sh + migration.patch
— Converts shared project files from DuckDB to Snowflake syntax
2. SETUP tasks/<id>/setup.sh + tasks/<id>/setup/changes.patch
tasks/<id>/setup/changes.snowflake.patch (optional)
— Creates the puzzle state the agent must solve
3. AGENT (agent works here)
4. SOLUTION tasks/<id>/solution.sh + tasks/<id>/solutions/changes.patch
tasks/<id>/solutions/changes.snowflake.patch (optional)Critical: Migration runs before setup and solution. Any line migration touches is in its post-migration state when patches run.
Always apply the base patch, then conditionally apply the snowflake delta. This applies to both setup.sh and solution.sh:
patch -p1 < /app/setup/changes.patch # always (use /sage/solutions/ for solution.sh)
if [[ "$*" == *"--db-type=snowflake"* ]]; then
patch -p1 < /app/setup/changes.snowflake.patch # additive delta only
fiNever use if/else to choose between two alternative patches. The base patch handles DuckDB; the snowflake patch stacks on top for Snowflake.
changes.snowflake.patch is a delta — it only contains changes that differ from the DuckDB result. It never replicates what migration already did.
Migration's job: Convert DuckDB-specific syntax to Snowflake equivalents across all tasks sharing a project.
schema: main → schema: publicSTRPTIME(...) → TO_DATE(TO_TIMESTAMP(...))Don't add migration hunks for files that setup removes. If setup strips a config block entirely, migration touching a field inside that block is wasted work that breaks setup's patch. Example: if setup/changes.patch deletes an entire {{ config(...) }} block from src_hosts.sql, migration should not change schema= inside that same block.
The migration process calls yaml.safe_load / yaml.safe_dump on dbt_project.yml to update the profile name. This completely reformats the file — sorted keys, no comments, different whitespace. Any patch against the original layout will fail.
Use yq for all dbt_project.yml changes in setup.sh and solution.sh:
# Add a variable
yq -i '.vars.surrogate_key_treat_nulls_as_empty_strings = true' dbt_project.yml
# Delete a variable
yq -i 'del(.vars.quickbooks.using_department)' dbt_project.yml
# Disable a package model
yq -i '.models.quickbooks_source["stg_quickbooks__refund_receipt"]["+enabled"] = false' dbt_project.ymlyq performs semantic YAML operations so key order and formatting don't matter.
Setup creates the puzzle. setup/changes.patch runs after migration.
When setup's base patch can't match post-migration content (e.g. migration changed schema="main" to schema="public" in a line the setup patch must remove):
# setup.sh
patch -p1 --batch < /app/setup/changes.patch || true # graceful fail on Snowflake
if [[ "$*" == *"--db-type=snowflake"* ]]; then
patch -p1 --batch --forward < /app/setup/changes.snowflake.patch
fi--batch: prevents interactive "Apply anyway?" prompt (avoids blocking)--forward: skips reversed/already-applied hunks without prompting|| true: base patch may partially fail on Snowflake; that's expectedsetup/changes.snowflake.patch is the DuckDB base patch with post-migration values substituted (e.g. schema="public" instead of schema="main" in the removed lines).
If migration rewrites a line that appears as a context line ( ) in changes.patch, drop it from context:
# Before — STRPTIME is a context line; migration changes it to TO_DATE(...)
@@ -11,7 +11,7 @@
transaction_type,
CAST(STRPTIME(transaction_created_date, '%m/%d/%Y %H:%M:%S') AS DATE) AS transaction_created_date,
transaction_modified_date,
- product_id,
+ product_id::varchar AS product_id,
# After — start hunk after the changed line, no STRPTIME context
@@ -14,4 +14,4 @@
- product_id,
+ product_id::varchar AS product_id,
quantity,
purchase_order_id,
customer_order_id,- line mismatch (migration changed a line being removed)If migration rewrites a line that is a - line (a line being deleted), 0-context doesn't help — the removed line must match exactly. Use changes.snowflake.patch with the post-migration value:
# changes.snowflake.patch — removes config block after migration changed schema
@@ -1,9 +1,0 @@
-{{
- config(materialized="table", schema="public", ...)
-}}
-Before adding anything to changes.snowflake.patch, check whether migration already makes that change. If migration already converts STRPTIME or changes schema, the solution patch must not repeat it — patch will detect it as reversed and block.
| Symptom | Cause | Fix |
|---|---|---|
Hunk #N FAILED in solution | Migration changed a context line | Drop that context line from the hunk |
Reversed patch detected! Assume -R? | Snowflake patch duplicates migration | Delete or update the snowflake patch |
Setup Hunk #1 FAILED then solution fails | Migration changed a - line in setup patch | Add setup/changes.snowflake.patch + --batch || true |
dbt_project.yml patch fails on Snowflake | Migration reformatted the file via yaml.safe_dump | Switch to yq for all dbt_project.yml edits |
| Silent wrong output | Base patch failed, no error shown | Add set -e or check with --dry-run |
analytics_engineering007 (tasks/analytics_engineering007/solutions/changes.patch): Migration converts CAST(STRPTIME(...)) → TO_DATE(...) in fact_inventory.sql. The solution's changes.patch had STRPTIME as a context line — fragile fuzz match. Fixed by starting the hunk at line 14 (@@ -14,4) instead of line 11 (@@ -11,7), skipping the migrated line entirely. The solution's snowflake patch (which also tried to convert STRPTIME) was deleted since migration already did it.
airbnb003 (tasks/airbnb003/setup/): Migration changes schema="main" → schema="public" inside the config block of src_hosts.sql. The setup's changes.patch removes that entire config block but has schema="main" in the - lines — fails after migration. Fixed by adding setup/changes.snowflake.patch (same removal with schema="public") and using --batch || true on the base patch so it fails gracefully, then the snowflake patch completes the removal.
airbnb002 (tasks/airbnb002/solution.sh): Solution needs to add surrogate_key_treat_nulls_as_empty_strings: true to dbt_project.yml. Using patch fails because migration's yaml.safe_dump reformatted the file. Fixed with:
yq -i '.vars.surrogate_key_treat_nulls_as_empty_strings = true' dbt_project.ymlquickbooks003 (tasks/quickbooks003/solution.sh): Solution needs to disable three package models and delete a variable from dbt_project.yml. Patch was unreliable after migration reformatting. Fixed with yq:
yq -i '.models.quickbooks_source["stg_quickbooks__refund_receipt"]["+enabled"] = false' dbt_project.yml
yq -i 'del(.vars.quickbooks.using_department)' dbt_project.yml© dbt-labs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/ade-bench-cross-db-tasks of dbt-labs/ade-bench.
Open the folder on GitHubat commit c305600
Ade Bench Cross DB Tasks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ade Bench Cross DB Tasks this skilldbt-labs/ade-bench | 125 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Modelersidequery/sidemantic | 129 | — | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Altimate Data Warehouse DelegateAltimateAI/data-engineering-skills | 128 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Connect Snowflakeai-analyst-lab/ai-analyst | 304 | — | ~1.4k | Automated safety check: Notes | MIT | |
| Snowflake Developmentsickn33/agentic-awesome-skills | 47k | 2 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Snowflake Developmentalirezarezvani/claude-skills | 28k | — | ~3.2k | Automated safety check: Pass | MIT |
sidequery/sidemantic
Build, validate, and manage semantic models using Sidemantic.
AltimateAI/data-engineering-skills
Delegates dbt and warehouse tasks such as lineage, migrations and cost attribution to the altimate-code CLI agent and relays its answer back.
ai-analyst-lab/ai-analyst
Query the live/remote Snowflake warehouse instead of the local practice copy.
sickn33/agentic-awesome-skills
Comprehensive Snowflake development assistant covering SQL best practices, data pipeline design (Dynamic Tables, Streams, Tasks, Snowpipe), Cortex AI functions, Cortex Agents, Snowpark Python, dbt…
alirezarezvani/claude-skills
A skill your agent uses when writing Snowflake SQL, building data pipelines with Dynamic Tables or Streams/Tasks, using Cortex AI functions, creating Cortex Agents, writing Snowpark Python…
rampstackco/claude-skills
Running experiments out of the data warehouse instead of via dedicated experiment platforms.
Categories
A skill your agent uses when authoring or debugging ade-bench tasks that must run on both DuckDB and Snowflake, including shared project migrations, setup patches, and solution patches. Ade Bench Cross DB Tasks is an agent skill from dbt-labs/ade-bench, published by the product's own GitHub organization.
Ade Bench Cross DB Tasks fits situations like: debugging ade-bench tasks that must run on both DuckDB and Snowflake; including shared project migrations; solution patches.
Run `npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a claude-code`. Or copy the skill folder (skills/ade-bench-cross-db-tasks in dbt-labs/ade-bench) into .claude/skills/ade-bench-cross-db-tasks in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a codex`. Or copy the skill folder (skills/ade-bench-cross-db-tasks in dbt-labs/ade-bench) into .agents/skills/ade-bench-cross-db-tasks in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dbt-labs/ade-bench --skill ade-bench-cross-db-tasks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ade-bench-cross-db-tasks, .gemini/skills/ade-bench-cross-db-tasks, .github/skills/ade-bench-cross-db-tasks and .opencode/skills/ade-bench-cross-db-tasks in your project.
Going by SKILL.md and its folder, Ade Bench Cross DB Tasks needs the command-line tools its instructions call (yq).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ade Bench Cross DB Tasks is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ade Bench Cross DB Tasks: Modeler (sidequery/sidemantic, 129 stars), Altimate Data Warehouse Delegate (AltimateAI/data-engineering-skills, 128 stars), Connect Snowflake (ai-analyst-lab/ai-analyst, 304 stars) and Snowflake Development (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dbt-labs (a GitHub organization, an official publisher) maintains it in dbt-labs/ade-bench, which has 125 GitHub stars. The repository was last updated on September 30, 2026.
Source: dbt-labs/ade-bench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.