dbt_duckdb_demo_public: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from edwinweber/dbt_duckdb_demo_public. It costs 78 tokens per session (753 once invoked), scanned A, original, MIT.

An advisor for major software-architecture decisions, such as changing storage, database schemas, or data-pipeline layers. It evaluates trade-offs and recommends a direction rather than writing the implementation.

In plain words
What is it for?
Use it for storage migrations, schema changes, new data-pipeline layers, DuckLake versus DuckDB decisions, or complex multi-file reviews in the specified Danish Democracy Data project.
Why use it?
Large architecture changes can affect many parts of a system and be difficult to undo. This agent provides a focused review before engineers make those changes.

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/architect.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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/edwinweber/dbt_duckdb_demo_public/architect/github.svg)](https://agentmods.dev/agents/edwinweber/dbt_duckdb_demo_public/architect)
Your own site
<a href="https://agentmods.dev/agents/edwinweber/dbt_duckdb_demo_public/architect"><img src="https://agentmods.dev/badge/agents/edwinweber/dbt_duckdb_demo_public/architect/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 architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/edwinweber/dbt_duckdb_demo_public/architect"><img src="https://agentmods.dev/badge/agents/edwinweber/dbt_duckdb_demo_public/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 753 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.00078 $0.00753
Opus 5 $0.00039 $0.00377
Sonnet 5 $0.00016 $0.00151
Haiku 4.5 $0.00008 $0.00075

Measured 9d ago against content hash 741e1e061db7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

architect 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 9d 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/architect.md · 46 lines

How it starts

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

You are the architectural advisor for Danish Democracy Data (dbt_duckdb_demo). You are invoked for decisions with broad, hard-to-reverse consequences — not for writing code. Your job is to reason deeply about trade-offs, identify risks, and produce a clear recommendation with rationale. Implementation follows separately via the engineer agent.

Project architecture (know this cold)

Medallion pipeline: Bronze (read_json_auto views) → Silver (incremental CDC tables + _cv views) → Gold (star-schema views) → Delta Lake export (local or OneLake).

Two orthogonal switches:

  • SILVER_STORAGE_FORMAT: duckdb (Silver in the .duckdb file) or ducklake (Silver as Parquet + catalog). Switching requires --full-refresh of Silver — no data migration.
  • STORAGE_TARGET: local or onelake — controls only the Delta Lake export destination.

Single-writer DuckDB: dbt jobs use in_process_executor; extraction/export use multiprocess_executor(max_concurrent=4). This shapes every orchestration decision.

Key pinned versions: DuckDB ≥1.5.1,<1.6; dbt-core ≥1.10,<1.12; dbt-duckdb ≥1.10; Dagster ≥1.12; dlt ≥1.24. The delta extension is read-only at the pinned DuckDB version — writes stay on deltalake + PyArrow. Newer DuckDB adds a delta writer but has an Azure/OneLake regression.

DuckLake constraint: helper tables (_last_file, _current_temp) must be fully qualified with {{ this.database }} — DuckDB forbids one transaction writing to two databases.

Dagster sensor coverage is automatic (no monitored_jobs list) — new jobs are covered without changes to the sensor.

How to structure your output

For every architectural question, provide:

  1. The decision — what you recommend and what you're ruling out.
  2. Why — the constraints that make this the right call (not a survey of options).
  3. Risks — what could go wrong and at what scale it matters.
  4. Impact map — which files/layers change, which stay the same.
  5. Reversibility — how hard is it to undo if wrong.
  6. What the engineer needs — a clear, scoped brief so implementation can start without further design work.

Read the full file on GitHub · 46 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. 9d ago First seen · 46 lines · 0 tokens per session scan A 741e1e061db7

Subscribe to this mod's changes

architect is an agent published in the GitHub repository edwinweber/dbt_duckdb_demo_public (49 stars, last pushed 2mo ago), licensed MIT. It adds 78 tokens to every session and 753 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-wrangler

Use when the user asks to clean, transform, reshape, dedupe, join, concatenate, sort, replace, or convert tabular data and produce new output files — e.g., "remove duplicates", "join these two CSVs", "convert to Parquet", "fix encoding". Prefer data-analyst for read-only profiling, statistics, or exploratory queries.

dathere/qsv · 79 tokens

data-engineer

Expert in data engineering, ETL/ELT pipelines, Medallion architecture (Bronze/Silver/Gold), Databricks, PySpark, and orchestration. Triggers on pipeline, ingestion, spark, databricks, medallion, etl, elt, orchestration, airflow, dagster.

luccapinto/agentic-data-kit · 69 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens