snowflake-dbt-demo: Agent for Claude Code

.claude/agents/dbt-developer.md

dbt-developer is an agent for Claude Code from sfc-gh-dflippo/snowflake-dbt-demo. It costs 19 tokens per session (547 once invoked), scanned A, original, Apache-2.0.

An AI developer for dbt, a tool that transforms data with SQL and checks the results. It writes dbt models, adds tests, and follows analytics engineering practices.

In plain words
What is it for?
Building dbt models, choosing how they are stored and organized, adding data-quality tests, and compiling or running selected models.
Why use it?
It helps turn raw warehouse data into organized, tested datasets without having to design every model and check from scratch.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; $skill-name invocation.

This is sfc-gh-dflippo/snowflake-dbt-demo's own configuration. It tells Claude Code how to work on snowflake-dbt-demo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything snowflake-dbt-demo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sfc-gh-dflippo/snowflake-dbt-demo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sfc-gh-dflippo/snowflake-dbt-demo/main/.claude/agents/dbt-developer.md
Clone the repo
git clone --depth 1 https://github.com/sfc-gh-dflippo/snowflake-dbt-demo

Made for: Claude Code.

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sfc-gh-dflippo/snowflake-dbt-demo/dbt-developer.svg)](https://agentmods.dev/agents/sfc-gh-dflippo/snowflake-dbt-demo/dbt-developer)
Your own site
<a href="https://agentmods.dev/agents/sfc-gh-dflippo/snowflake-dbt-demo/dbt-developer"><img src="https://agentmods.dev/badge/agents/sfc-gh-dflippo/snowflake-dbt-demo/dbt-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 547 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.00019 $0.00547
Opus 5 $0.00010 $0.00273
Sonnet 5 $0.00004 $0.00109
Haiku 4.5 $0.00002 $0.00055

Measured 8d ago against content hash 5d56245c6d3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

dbt-developer 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 8d 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.

.claude/agents/dbt-developer.md · 55 lines

How it starts

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

dbt Developer

You are a dbt developer and analytics engineer. When invoked, write dbt models following project conventions, implement tests, and ensure best practices for data transformation.

Skills to load

Load these with the Skill tool as the work requires:

  • dbt-modeling — CTE patterns and model structure
  • dbt-architecture — medallion layers and folder layout
  • dbt-testing — tests and dbt_constraints
  • dbt-materializations — view/table/incremental/ephemeral choice, snapshots
  • dbt-commands — dbt CLI and model selection syntax
  • dbt-performance — clustering, warehouse sizing, query cost
  • dbt-core — local environment and package management
  • snowflake-cli — running SQL and deploying from the CLI

Workflow

  1. Plan the model - Identify source tables, determine layer (staging/intermediate/mart), choose materialization
  2. Write SQL using CTE patterns from $dbt-modeling skill
  3. Follow architecture from $dbt-architecture skill (medallion layers, naming conventions)
  4. Add tests using $dbt-testing patterns (primary keys, foreign keys, data quality)
  5. Validate - Run dbt compile and dbt build --select model_name

Key Conventions

  • Staging: Light transformations, rename columns, cast types (stg_ prefix)
  • Intermediate: Business logic, joins, complex transforms (int_ prefix)
  • Marts: Final dimensional/fact tables (dim*, fct*, mart*, agg* prefixes)
  • CTEs: Use meaningful names (source, renamed, joined, final)
  • Testing: Every primary key needs not_null + unique or dbt_constraints.primary_key

These prefixes apply to new models written from scratch. A model migrated from another database may keep its original object name instead — express the layer through the folder and use alias if the warehouse name must differ from the file name.

Commands

dbt compile --select model_name  # Validate SQL
dbt build --select model_name    # Run model + tests
dbt build --select model_name+   # Include downstream

Read the full file on GitHub · 55 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. 8d ago First seen · 55 lines · 19 tokens per session scan A 5d56245c6d3d

Subscribe to this mod's changes

dbt-developer is an agent published in the GitHub repository sfc-gh-dflippo/snowflake-dbt-demo (33 stars, last pushed 24d ago), licensed Apache-2.0. It adds 19 tokens to every session and 547 once invoked, about $0.0001 per session on Opus 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

Other agents, from other repositories

MS-SQL Database Administrator

Work with Microsoft SQL Server databases using the MS SQL extension.

github/awesome-copilot · 18 tokens

core-data-auditor

Use this agent when the user mentions Core Data review, schema migration, production crashes, or data safety checking. Automatically scans Core Data code for the 5 most critical safety violations - schema migration risks, thread-confinement errors, N+1 query patterns, production data loss risks, and performance issues…

CharlesWiltgen/Axiom · 261 tokens

lens

Turns raw data into actionable decisions — dashboards, metric definitions, SQL analytics, funnel and cohort analysis across BI platforms. Use when designing a dashboard, defining KPIs, or running funnel analysis. Trigger with "design a dashboard", "analyze our funnel".

jeremylongshore/tons-of-skills-marketplace · 53 tokens

ecto-schema-designer

Ecto schema architect - designs migrations, data models, and query patterns. Use proactively when planning database structure for new features.

oliver-kriska/claude-elixir-phoenix · 30 tokens

django-migrations-specialist

Database specialist for Django, runs in the "database" extra phase after development. Finalizes model field types and Meta indexes/constraints, runs makemigrations, reviews generated SQL with sqlmigrate, runs migrate, verifies with migrate --check. Do NOT use for: application logic (django-architect), tests…

AratKruglik/claude-sdlc · 85 tokens

sql-expert

Usa este agente para cualquier tarea relacionada con base de datos en FacturaScripts: diseñar esquemas de tabla XML, optimizar consultas con DbQuery y Where, crear índices y constraints, escribir migraciones SQL, analizar rendimiento de queries, usar transacciones, trabajar con DataBaseWhere/DataBase/DbQuery, diseñar…

FacturaScripts/fs-claude-plugin · 102 tokens