skills/analytics/duckdb-analytics/SKILL.md
DuckDB as an analytics and OLAP engine. Covers analytical query patterns, Parquet/Arrow analytics, BI tool integration (Tableau, Power BI, Superset via JDBC/ODBC), local-first analytics, and data warehouse replacement at small-to-medium scale. Routes to the primary DuckDB agent for core engine expertise. WHEN: "DuckDB analytics", "DuckDB OLAP", "DuckDB Parquet analytics", "DuckDB BI", "DuckDB Tableau", "DuckDB Power BI", "DuckDB Superset", "DuckDB data warehouse", "local analytics", "in-process analytics", "DuckDB dashboard", "embedded analytics engine", "DuckDB reporting", "DuckDB JDBC", "DuckDB ODBC".
npx skillsauth add chrishuffman5/domain-expert duckdb-analyticsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a thin routing agent that adds analytics-domain context on top of the primary DuckDB agent. For all core DuckDB expertise (SQL dialect, extensions, vectorized execution, Python/R/WASM integration, version-specific features), defer to skills/database/duckdb/SKILL.md. This agent focuses on how DuckDB fits into analytics workflows and BI ecosystems.
Primary agent:
skills/database/duckdb/SKILL.md-- load this for any question about DuckDB internals, SQL syntax, extensions, configuration, or version-specific features.
Use this agent when the question is about DuckDB in an analytics context:
Route to the primary DuckDB agent when the question is about DuckDB itself:
skills/database/duckdb/SKILL.mdskills/database/duckdb/SKILL.mdskills/database/duckdb/1.5/SKILL.mdRoute to the analytics domain agent for tool comparisons:
skills/analytics/SKILL.md (different categories; DuckDB is an engine, Tableau is a BI tool)skills/analytics/SKILL.mdDuckDB occupies a unique position in the analytics stack: it is a query engine, not a BI tool. It replaces the warehouse layer for workloads that fit on a single machine, while BI tools sit on top for visualization:
DuckDB connects to standard BI tools via JDBC and ODBC drivers:
| BI Tool | Connection Method | Notes |
|---|---|---|
| Tableau | JDBC (Generic ODBC/JDBC) | Use DuckDB JDBC driver; supports live connection and extract |
| Power BI | ODBC | DuckDB ODBC driver; DirectQuery or Import mode |
| Apache Superset | SQLAlchemy (duckdb://) | Native DuckDB dialect via duckdb-engine Python package |
| Metabase | Community driver | Third-party DuckDB driver available |
| Grafana | Plugin | Community DuckDB data source plugin |
| Evidence | Native | First-class DuckDB support for code-driven reporting |
| Rill | Native | Built on DuckDB; designed for fast exploratory dashboards |
| Observable | DuckDB-WASM | Browser-based analytics with DuckDB running client-side |
DuckDB excels at these common analytics patterns (see the primary agent for full SQL reference):
SUMMARIZE, DESCRIBE, SELECT * FROM 'file.parquet' LIMIT 100 for rapid data profilingGROUP BY ALL, GROUPING SETS, CUBE, ROLLUP for multi-level summariesQUALIFY clause, ranking, running totals, moving averages, lead/lag analysisPIVOT / UNPIVOT for crosstab reports without complex CASE expressionshttpfsASOF JOIN for point-in-time lookups, generate_series for date spines, date_trunc / date_part for temporal grouping| Scenario | DuckDB Fits | Cloud Warehouse Fits | |---|---|---| | Data volume | Under ~200 GB | Over 200 GB or growing fast | | Concurrent users | 1-5 analysts | Dozens to hundreds | | Query latency SLA | Best-effort is fine | Sub-second guaranteed | | Budget | Zero or minimal | Enterprise budget available | | Data freshness | File-based, batch refresh | Real-time / streaming ingestion | | Governance | Lightweight / team-level | Enterprise (RBAC, audit, lineage) | | Deployment | Local, CI/CD, edge, embedded | Centralized cloud platform |
Pattern 1: File-based analytics lakehouse
httpfs for remote, direct path for local)Pattern 2: dbt + DuckDB for local analytics engineering
dbt-duckdb adapterPattern 3: Embedded analytics in applications
| Scenario | Route To |
|---|---|
| Core DuckDB expertise (SQL, extensions, config, internals) | skills/database/duckdb/SKILL.md |
| DuckDB version-specific features (1.4, 1.5) | skills/database/duckdb/{version}/SKILL.md |
| DuckDB for ETL / data transformation | skills/etl/duckdb-etl/SKILL.md |
| BI tool selection (which tool, not which engine) | skills/analytics/SKILL.md |
| Data pipeline feeding DuckDB analytics | skills/etl/SKILL.md |
development
Top-level routing agent for ALL backend web framework and REST API technologies. Provides cross-framework expertise in API design, HTTP semantics, authentication, framework selection, and performance patterns. WHEN: "backend framework", "REST API", "web API", "which framework", "Express vs FastAPI", "Django vs Rails", "Spring Boot vs", "API design", "backend architecture", "framework comparison", "API authentication", "API versioning", "middleware", "API performance".
tools
WebSocket protocol specialist covering RFC 6455, opening handshake, frame format, close codes, extensions (permessage-deflate), subprotocols, browser API, server implementations, authentication patterns, and reconnection strategies. WHEN: "WebSocket", "ws", "wss", "RFC 6455", "WebSocket handshake", "WebSocket close code", "WebSocket frame", "ping pong", "permessage-deflate", "WebSocket subprotocol", "WebSocket authentication", "WebSocket reconnect", "bufferedAmount", "WebSocket binary", "WebSocket proxy", "1006", "1000", "1001".
tools
Server-Sent Events specialist covering the EventSource API, text/event-stream format, auto-reconnection, Last-Event-ID resumption, named events, server implementations across Node.js/Python/Go/.NET/Rust, LLM streaming patterns, and infrastructure configuration. WHEN: "SSE", "Server-Sent Events", "EventSource", "text/event-stream", "Last-Event-ID", "event stream", "LLM streaming", "AI streaming", "token streaming", "server push", "live feed", "log streaming", "progress events", "retry field", "keepalive", "MCP transport".
development
Socket.IO 4.x specialist covering namespaces, rooms, acknowledgements, adapters, scaling, connection state recovery, middleware, TypeScript types, and multi-server deployment. WHEN: "Socket.IO", "socket.io", "rooms", "namespaces", "Socket.IO adapter", "Redis adapter", "Socket.IO scaling", "Socket.IO middleware", "Socket.IO authentication", "Engine.IO", "Socket.IO reconnect", "emitWithAck", "Socket.IO admin", "connection state recovery", "volatile emit", "Socket.IO TypeScript".