model-builder

model-builder is a skill for Claude Code from armanzeroeight/fastagent-plugins. It costs 38 tokens per session (853 once invoked), scanned A, original, MIT.

A guide for building dbt models, which are SQL transformations that turn raw warehouse data into clean tables and business reports. It organizes models into staging, intermediate, and mart layers.

In plain words
What is it for?
Use it when creating or reorganizing dbt models, including incremental models that process only new or changed data. It also covers model documentation and basic validation setup.
Why use it?
It provides a consistent structure for cleaning data and applying business logic. This makes transformations easier to understand, reuse, document, and update efficiently.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dbt-toolkit plugin — 2 skills shipped together

Good fit Use it when creating or reorganizing dbt models, including incremental models that process only new or changed data. It also covers model documentation and basic validation setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/armanzeroeight/fastagent-plugins/model-builder
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 armanzeroeight/fastagent-plugins --skill model-builder
Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

Made for: Claude Code.

Or install dbt-toolkit, the plugin that ships this one along with the rest of its 2 skills.

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 model-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/model-builder/github.svg)](https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/model-builder)
Your own site
<a href="https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/model-builder"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/model-builder/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 model-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/armanzeroeight/fastagent-plugins/model-builder"><img src="https://agentmods.dev/badge/skills/armanzeroeight/fastagent-plugins/model-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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.00038 $0.00853
Opus 5.5 $0.00015 $0.00341
Sonnet 5.5 $0.00008 $0.00171
Haiku 4.5 $0.00004 $0.00085

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

Security

Grade A, and why

model-builder 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 3mo 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.

plugins/dbt-toolkit/skills/model-builder/SKILL.md · 172 lines

How it starts

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

dbt Model Builder

Quick Start

Create well-structured dbt models following best practices for staging, intermediate, and mart layers.

Instructions

Step 1: Create staging models

Staging models clean and standardize raw data:

-- models/staging/stg_orders.sql
with source as (
    select * from {{ source('raw', 'orders') }}
),

renamed as (
    select
        order_id,
        customer_id,
        order_date,
        order_total,
        order_status,
        created_at,
        updated_at
    from source
)

select * from renamed

Add schema file:

# models/staging/schema.yml
version: 2

models:
  - name: stg_orders
    description: Cleaned and standardized orders from raw data
    columns:
      - name: order_id
        description: Unique order identifier
        tests:
          - unique
          - not_null
      - name: customer_id
        description: Customer who placed the order
        tests:
          - not_null

Step 2: Create mart models

Mart models contain business logic:

-- models/marts/fct_orders.sql
with orders as (
    select * from {{ ref('stg_orders') }}
),

customers as (
    select * from {{ ref('stg_customers') }}
),

final as (
    select
        orders.order_id,
        orders.customer_id,
        customers.customer_name,
        orders.order_date,
        orders.order_total,
        orders.order_status
    from orders
    left join customers
        on orders.customer_id = customers.customer_id
)

select * from final

Step 3: Create incremental models

For large datasets, use incremental models:

-- models/marts/fct_events.sql
{{
    config(
        materialized='incremental',
        unique_key='event_id',
        on_schema_change='fail'
    )
}}

with events as (
    select * from {{ source('raw', 'events') }}
    
    {% if is_incremental() %}
    where event_timestamp > (select max(event_timestamp) from {{ this }})
    {% endif %}
)

select * from events

Step 4: Add documentation

Read the full file on GitHub · 172 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 172 lines · 38 tokens per session scan A dc35763e50eb

Subscribe to this mod's changes

model-builder is a skill published in the GitHub repository armanzeroeight/fastagent-plugins (30 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 853 once invoked, about $0.0002 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-08-30.

Related

model-builder compared with skills from other repositories

model-builder next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
model-builderarmanzeroeight/fastagent-pluginsSkill304mo agoMITA38Claude Code
bigquery-graphgoogle/adk-pythonSkill22ktodayApache-2.0A52Claude Code, Codex
bigquery-ai-mlgoogle/adk-pythonSkill22ktodayApache-2.0A131Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex
dingtalk-ai-tablewecode-ai/WegentSkill896todayApache-2.0A36Claude Code, Codex
sql-styleeverruns/everrunsSkill72todayMITA17Claude Code, Codex
database-operationsmetaspartan/cybaraSkill417d agoMITA22Claude Code, Codex