/duckless:sizingfrom DuckLess
Helps choose machine type, Spot, local SSD, and runner (Cloud Batch or Cloud Run Jobs) for a DuckLess job, and resize based on metrics from a previous run.
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.
The machine (-m) is the main decision; the runner follows from it.
gcloud storage du -s gs://….n2-highmem-* (8 GB/vCPU) for joins and aggregations, the
default choice; n2-standard-* (4 GB/vCPU) for scans and simple transforms;
*-highcpu-* rarely helps.n2-highmem-32 Spot.--on auto decidesauto (default) sends a job to Cloud Run Jobs only when nothing changes for it: the
machine fits (at most 8 vCPU and 32 GiB) and neither --spot nor --local-ssd is asked.
Everything else goes to Cloud Batch.
| Cloud Run Jobs | Cloud Batch | |
|---|---|---|
| Start | ~30 s | ~1 min |
| Spill | memory only | local SSD |
| Spot | no | yes |
Force with --on batch when a small job may spill heavily (Cloud Run has no disk).
--local-ssd N, 375 GB each; the smallest valid count is
the default). More SSDs for heavy sorts or joins on large data.--spot cuts the VM price by ~60-90% and retries on preemption: right for jobs that can be
re-run (idempotent writes with OVERWRITE), wrong for a job that must finish by a deadline.duckless preflight -m <machine> [--spot] [--local-ssd N] checks the regional quota.duckless status <job-id> shows peak rss and spill. Peak RSS well under the memory
limit and no spill: go smaller (or to Cloud Run). Spill or OOM: more memory first
(highmem, bigger size), then more local SSD.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/ducklakeUse DuckLake tables with DuckLess - a Cloud SQL catalog attached as `lake` in every job, data as Parquet on GCS, snapshots and time travel. Use when someone wants tables instead of loose Parquet files, incremental loads, updates/deletes, time travel, or when a DuckLake attach fails./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./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