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