dbt-data-build-tool-transformations

dbt-data-build-tool-transformations is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 34 tokens per session (1,502 once invoked), scanned A, original, MIT.

A guide to dbt, a tool for transforming warehouse data with SQL, including layered models, incremental processing, tests, and reusable macros.

In plain words
What is it for?
Use it to build staging, intermediate, and reporting models, create incremental tables, add data tests, and write reusable transformation logic.
Why use it?
It helps turn raw warehouse tables into organized, maintainable datasets while making transformations and their dependencies easier to test and update.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build staging, intermediate, and reporting models, create incremental tables, add data tests, and write reusable transformation logic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill dbt-data-build-tool-transformations
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dbt-data-build-tool-transformations

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dbt-data-build-tool-transformations

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/dbt-data-build-tool-transformations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01502
Opus 5.5 $0.00014 $0.00601
Sonnet 5.5 $0.00007 $0.00300
Haiku 4.5 $0.00003 $0.00150

Measured 2mo ago against content hash 6e1803938662, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dbt-data-build-tool-transformations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Data Engineering and Pipelines/dbt-data-build-tool-transformations/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dbt (Data Build Tool) Transformations

Architectural reference guide for building, testing, and maintaining analytics engineering pipelines using dbt with modern data warehouses (Snowflake, BigQuery, Databricks, PostgreSQL).


1. Data Model Layers & DAG Architecture

[ Raw Sources ] 
      │
      ▼
┌─────────────────────────────────────────┐
│ Staging (stg_source_entity)             │ ── Type casting, renaming, 1:1 with source
└─────────────────────────────────────────┘
      │
      ▼
┌─────────────────────────────────────────┐
│ Intermediate (int_domain_joined)        │ ── Business logic, aggregations, joins
└─────────────────────────────────────────┘
      │
      ▼
┌─────────────────────────────────────────┐
│ Marts (fct_orders, dim_customers)       │ ── Dimensional facts/dims or OBT for BI
└─────────────────────────────────────────┘

1.1 Layer Responsibilities

  • Staging (stg_): Clean, standardize data types, rename fields to snake_case, light data filtering. Strictly 1-to-1 mapping with raw source tables. Materialized as view or ephemeral.
  • Intermediate (int_): Structural transformation layer where entities are joined, complex business logic is applied, and domain prep is performed. Materialized as ephemeral or view (or table if complex).
  • Marts (fct_, dim_, obt_): Business-facing consumption models. Star schema (Fact/Dimension tables) or One Big Table (OBT) optimized for analytical engines. Materialized as table or incremental.

2. Idempotency & Incremental Materializations

Idempotency in dbt ensures that re-executing dbt run for a historical partition window updates existing records without duplicating primary keys or losing state.

2.1 Incremental Merging Strategy

{{ config(
    materialized='incremental',
    unique_key='order_id',
    incremental_strategy='merge',
    on_schema_change='sync_all_columns',
    cluster_by=['order_date']
) }}

WITH source_data AS (
    SELECT * 
    FROM {{ ref('stg_ecommerce__orders') }}
    {% if is_incremental() %}
        -- Lookback window (e.g. 3 days) to handle late-arriving events safely
        WHERE updated_at >= (SELECT DATEADD('day', -3, MAX(updated_at)) FROM {{ this }})
    {% endif %}
)

SELECT
    order_id,
    customer_id,
    order_status,
    total_amount_usd,
    created_at,
    updated_at
FROM source_data

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 190 lines · 34 tokens per session scan A 6e1803938662

Subscribe to this mod's changes

dbt-data-build-tool-transformations is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,502 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

dbt-data-build-tool-transformations compared with skills from other repositories

dbt-data-build-tool-transformations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dbt-data-build-tool-transformationshamzabellouch/agent-skillsSkill81mo agoMITA34Claude Code, Codex
spec-investigatebenjaminthomas/spec-driven-devSkill2yesterdayMITA229Claude Code
spec-implementbenjaminthomas/spec-driven-devSkill2yesterdayMITA137Claude Code
spec-shipbenjaminthomas/spec-driven-devSkill2yesterdayMITA119Claude Code
spec-walkthroughbenjaminthomas/spec-driven-devSkill2yesterdayMITA172Claude Code
spec-setupbenjaminthomas/spec-driven-devSkill2yesterdayMITA223Claude Code
spec-escapesbenjaminthomas/spec-driven-devSkill2yesterdayMITA148Claude Code