dbt_duckdb_demo_public: Agent for Claude Code

.claude/agents/engineer.md

engineer is an agent for Claude Code from edwinweber/dbt_duckdb_demo_public. It costs 77 tokens per session (1,334 once invoked), scanned A, original, MIT.

The project’s default implementation agent for Python, SQL, data pipelines, orchestration, database schemas, configuration, and tests. It is tailored to a Danish Democracy Data project using tools such as dbt, Dagster, dlt, and DuckDB.

In plain words
What is it for?
Use it for implementation work that may involve Python modules, dbt models or macros, Dagster assets and schedules, dlt extraction, DuckDB changes, and pytest tests.
Why use it?
It gives code changes a project-aware owner who follows the repository’s conventions and understands how its data systems fit together.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is edwinweber/dbt_duckdb_demo_public's own configuration. It tells Claude Code how to work on dbt_duckdb_demo_public 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 dbt_duckdb_demo_public configures →

Reuse

Borrowing it

Nothing to install: this file belongs to edwinweber/dbt_duckdb_demo_public. 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/edwinweber/dbt_duckdb_demo_public/main/.claude/agents/engineer.md
Clone the repo
git clone --depth 1 https://github.com/edwinweber/dbt_duckdb_demo_public

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 engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/edwinweber/dbt_duckdb_demo_public/engineer.svg)](https://agentmods.dev/agents/edwinweber/dbt_duckdb_demo_public/engineer)
Your own site
<a href="https://agentmods.dev/agents/edwinweber/dbt_duckdb_demo_public/engineer"><img src="https://agentmods.dev/badge/agents/edwinweber/dbt_duckdb_demo_public/engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,334 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.00077 $0.01334
Opus 5 $0.00039 $0.00667
Sonnet 5 $0.00015 $0.00267
Haiku 4.5 $0.00008 $0.00133

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

Security

Grade A, and why

engineer 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/engineer.md · 83 lines

How it starts

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

You are the primary implementer for Danish Democracy Data (dbt_duckdb_demo) — a single-developer data engineering project. You handle all implementation: Python, dbt SQL/macros, Dagster orchestration, dlt extraction, DuckDB schema work, and pytest tests. Tasks are rarely cleanly "just Python" or "just dbt" — a typical feature touches all of these together.

Project layout (know this cold)

ddd_python/
  ddd_utils/
    configuration_variables.py   ← SINGLE SOURCE OF TRUTH — entity lists, PKs, Rfam SQL
    string_utils.py              ← normalize_danish_name(), resolve_date_to_load_from()
    path_utils.py                ← build_bronze_destination_path(), build_delta_export_path(),
                                    silver_storage_is_ducklake(), open_export_connection()
    get_variables_from_env.py    ← lazy _LazyEnv wrapper (__getattr__ + sys.modules swap)
  ddd_dlt/                       ← api_to_file(), sql_to_file(), file_to_file(); extraction + export
  ddd_dbt/                       ← generate_dbt_models.py, dbt runner, init_duckdb.py
  ddd_dagster/                   ← assets, jobs, schedules, sensors, resources
dbt/
  models/bronze/                 ← 53 read_json_auto views (generated)
  models/silver/                 ← 50 incremental CDC tables + _cv views (generated)
  models/gold/                   ← 19 star-schema views (mostly generated)
  macros/                        ← 9 Jinja macros (model factories, hash, CDC, pre/post hooks)
tests/                           ← 132 pytest tests across 15 modules

Non-negotiable constraints

Architecture:

  • configuration_variables.py is the single source of truth. Adding an entity = update this file + run python -m ddd_python.ddd_dbt.generate_dbt_models. Never hardcode entity names elsewhere.
  • Bronze = read_json_auto views only. Never materialise Bronze as tables.
  • Silver = incremental CDC tables + _cv current-version views. Use LKHS_ prefix on all tracking columns.
  • Gold = views only. Never materialise Gold as tables.
  • LKHS_ prefix: LKHS_hash_value, LKHS_date_valid_from, LKHS_cdc_operation, LKHS_date_inserted, LKHS_date_inserted_src, LKHS_filename, LKHS_pipeline_execution_inserted.

Read the full file on GitHub · 83 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 · 83 lines · 77 tokens per session scan A 4977d1adac2a

Subscribe to this mod's changes

engineer is an agent published in the GitHub repository edwinweber/dbt_duckdb_demo_public (49 stars, last pushed 2mo ago), licensed MIT. It adds 77 tokens to every session and 1,334 once invoked, about $0.0004 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

flux

Designs schemas, writes migrations, and builds data pipelines that model reality and evolve without pain. Use when designing a database schema, planning a zero-downtime migration, or building ETL/ELT pipelines. Trigger with "design database schema", "write zero-downtime migration".

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

data-scientist

Data analysis expert for SQL queries, BigQuery operations, and data insights. Use proactively for data analysis tasks and queries.

davepoon/buildwithclaude · 29 tokens

nw-data-engineer

Use for database technology selection, data architecture design, query optimization, schema design, security implementation, and governance guidance. Provides evidence-based recommendations across RDBMS and NoSQL systems.

nWave-ai/nWave · 41 tokens

data-engineer

Data engineering specialist for schema design, query optimization, ETL pipelines, and data modeling. Use when the task involves database migrations, query performance tuning, data pipeline construction, or schema evolution. For example: designing a normalized schema, optimizing slow queries, or building a data…

josstei/maestro-orchestrate · 218 tokens

qdrant-expert

Configure and operate the vector store in production. TRIGGER WHEN: creating Qdrant collections, tuning HNSW, quantization, dense plus sparse hybrid search, payload indexing, multi-tenancy, or Qdrant performance troubleshooting. DO NOT TRIGGER WHEN: end-to-end RAG design, or another vector database such as Pinecone…

acaprino/daodan · 91 tokens

FAI GraphRAG Expert

GraphRAG specialist — entity extraction, relationship mapping, knowledge graph construction, community detection, graph-based retrieval with Cosmos DB Gremlin/Neo4j, and hybrid graph+vector search.

frootai/frootai · 45 tokens