/duckless:ducklakefrom DuckLess
Manages DuckLake tables with DuckLess: creates Cloud SQL catalog attached as `lake`, stores data as Parquet on GCS, supports snapshots, time travel, incremental loads, and updates/deletes. Helps when attach fails.
Ships in DuckLess. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
DuckLake turns Parquet files on GCS into tables with snapshots. DuckLess keeps the catalog in
a Cloud SQL Postgres instance and attaches it as lake in every job, on both runners.
duckless init --project <project> --ducklake
Then add the two extra lines init prints to .envrc:
DUCKLESS_DUCKLAKE_INSTANCE (connection name) and DUCKLESS_DUCKLAKE_DATA_PATH
(gcss://<work bucket>/lake/). Without them, jobs do not attach the catalog.
Cost: a db-g1-small instance (about $25/month), backups and 7 days of point-in-time recovery
included.
CREATE TABLE lake.orders AS SELECT * FROM read_parquet('gs://data/orders/*.parquet');
INSERT INTO lake.orders SELECT * FROM read_parquet('gs://data/orders_today/*.parquet');
UPDATE lake.orders SET status = 'refunded' WHERE order_id IN (SELECT order_id FROM refunds);
SELECT * FROM ducklake_snapshots('lake'); -- history
SELECT count(*) FROM lake.orders AT (VERSION => 3); -- time travel: a literal, no subquery
Python: duckless_runtime.connect() returns a connection with lake attached.
AT (VERSION => …) takes a literal; read the version from ducklake_snapshots first.gcss://, never gs:// (DuckLake would hand gs:// to httpfs).ATTACH: the runner connects through the Cloud SQL Auth Proxy
with IAM; there is no password. DuckDB prints DSNs in errors.destroy --force a lake installation without the user's explicit go..envrc has both DUCKLESS_DUCKLAKE_* lines and they match init's output.--network given to init).ducklake_attached is printed on success; a cloud-sql-proxy error names the cause
(permissions: the runner account needs cloudsql.client and cloudsql.instanceUser, set by init).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
SQL, PostgreSQL, GCP
5 skills in this plugin
/setupSet DuckLess up in a GCP project, either with its Terraform module in the team's own Terraform and CI/CD (recommended for teams) or with `duckless init` (quick start), then wire the .envrc. Use when someone starts with DuckLess, adds it to a project, integrates the module into Terraform or Terragrunt, upgrades it, or removes it./sizingChoose the machine, Spot, local SSD and runner (Cloud Batch or Cloud Run Jobs) for a DuckLess job, and resize it from the metrics of a previous run. Use when deciding `-m`, `--spot`, `--local-ssd` or `--on` for `duckless run`/`exec`, or when a job is slow, spills, runs out of memory or costs too much./troubleshootingDiagnose a failed, stuck or slow DuckLess job or a failing `duckless init`, from `duckless status`, `logs` and `result` to the fix. Use when a job is FAILED, stays QUEUED or SCHEDULED, is slower than expected, or when init/destroy errors.npx claudepluginhub tosun-si/duckless --plugin ducklessOther plugins' skills for the same job