plugins/analytics/skills/duckdb/SKILL.md
DuckDB as an analytics and OLAP engine: 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. Use when connecting DuckDB to a BI tool, running OLAP on files, or evaluating DuckDB as a warehouse replacement. 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". Do NOT use for core DuckDB engine internals (SQL dialect, extensions, vectorized execution, config) -- that's the `duckdb` skill in the database plugin. Do NOT use for DuckDB in ETL/transformation pipelines (dbt-duckdb, ingestion, CDC) -- that's the `duckdb` skill in the etl plugin.
npx skillsauth add chrishuffman5/domain-expert duckdbInstall 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.
This skill covers how DuckDB fits into analytics workflows and BI ecosystems -- not DuckDB internals. For core DuckDB expertise (SQL dialect, extensions, vectorized execution, Python/R/WASM integration, version-specific features), see the duckdb skill in the database plugin.
Use this skill for DuckDB in an analytics context:
Route elsewhere when the question is about DuckDB itself:
duckdb skill in the database pluginoverview skill in this plugin (different categories; DuckDB is an engine, Tableau is a BI tool)duckdb skill in the etl pluginDuckDB 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 the 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 the 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 database plugin's duckdb skill 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) | duckdb skill, database plugin |
| DuckDB version-specific features | duckdb skill references, database plugin |
| DuckDB for ETL / data transformation | duckdb skill, etl plugin |
| BI tool selection (which tool, not which engine) | overview skill, this plugin |
| Data pipeline feeding DuckDB analytics | etl plugin |
tools
kubectl command-line usage and scripting: kubeconfig and context management, output formats (jsonpath, custom-columns, go-template), all major verbs (get, describe, apply, delete, exec, logs, port-forward, rollout, scale, drain), workload resources, config/storage, networking, RBAC, node management, debugging (CrashLoopBackOff, ImagePullBackOff, OOMKilled), and scripting patterns (dry-run, diff, wait, jq, kustomize). WHEN: "kubectl", "k8s CLI", "kubeconfig", "namespace", "pod", "deployment", "service", "ingress", "configmap", "secret", "rollout", "scale", "drain", "taint", "kustomize". Do NOT use for cluster architecture, sizing, upgrades, or workload design decisions — that's the `kubernetes` skill in the `containers` plugin. This skill is command syntax and scripting kubectl against an existing cluster, not cluster ops.
tools
Bash 5.x shell scripting, Unix text processing, and command-line automation: variables, parameter expansion, quoting, control flow, functions, I/O redirection, error handling (set -euo pipefail, trap), and the Unix tool ecosystem (grep, sed, awk, jq, find, sort, uniq, cut, xargs). Covers process management, networking (curl, ssh, rsync, nc), file locking (flock), parallel execution, and production script patterns. WHEN: "Bash", "bash", "shell", "sh", ".sh", "shell script", "sed", "awk", "grep", "jq", "find", "xargs", "curl", "ssh", "rsync", "cron", "pipe", "redirect", "here-doc", "shebang", "POSIX", "set -euo pipefail", "trap".
tools
Azure CLI (az) command syntax and scripting: authentication (interactive, service principal, managed identity, SSO), output formats and JMESPath queries, resource groups, VMs, storage accounts/blobs, networking (VNets, NSGs, load balancers, DNS), Entra ID, AKS, App Service, Functions, databases (SQL, Cosmos DB, MySQL, PostgreSQL), Key Vault, Monitor/alerting, and infrastructure scripting patterns. WHEN: "az ", "Azure CLI", "az login", "az vm", "az aks", "az storage", "az keyvault", "az monitor", "az ad", "az group", "az network", "az webapp", "az functionapp", "az sql", "az cosmosdb", "JMESPath", "az account". Do NOT use for Azure architecture, landing zones, or multi-subscription strategy — that's the `cloud-platforms` plugin. This skill is about command syntax and scripting the CLI, not deciding what to provision.
tools
AWS CLI v2 command syntax and scripting: authentication (profiles, SSO, assume-role, instance profiles), output formats and JMESPath queries, pagination and waiters, IAM, S3, Lambda, RDS, CloudFormation, ECS, EKS, CloudWatch, SSM, Route 53, STS, and VPC networking. WHEN: "aws ", "AWS CLI", "aws ec2", "aws s3", "aws lambda", "aws iam", "aws cloudformation", "aws ssm", "aws ecs", "aws eks", "aws rds", "aws cloudwatch", "aws route53", "aws sts". Do NOT use for AWS architecture, service selection, multi-account strategy, or FinOps — that's the `cloud-platforms` plugin. This skill is about command syntax and scripting the CLI, not deciding what to provision.