/workbench:fused-runtimefrom workbench
Documents the Python packages, system binaries, and DuckDB extensions available in Fused UDF runtime images. Use before importing a library in a UDF or when debugging ModuleNotFoundError or version-specific API errors.
Ships in workbench. 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.
Read when SKILL.md points to them.
A UDF runs in one of two prebuilt images. Both are Python 3.12 on linux x86_64, CPU only. There is no per-UDF requirements; what the image has is what the UDF gets.
| Engine | Image | Notes |
|---|---|---|
default (engine unset / "realtime"), udf.map() workers | realtime | ~700 packages; includes the AI extra (torch CPU, torchvision, onnxruntime, geoai) |
engine="medium" / "large", other instance jobs | batch | ~620 packages; no torchvision/onnxruntime/datasets/geoai |
packages.md lists every installed package with its version in each image, plus a by-category view and the packages whose versions differ between images. Grep it instead of reading it:
grep -iE "^\| (polars|rioxarray) \|" packages.md
A package absent from that file is not installed: import it and the UDF fails. To confirm from inside a UDF:
from importlib.metadata import version
version("polars")
engine="medium"/"large": join(how="full") is how="outer" in 0.20, and pivot(on=...) is pivot(columns=...). In a UDF that may run on both engines, check pl.__version__ or use pandas/DuckDB.h3 + DuckDB, pyarrow).json, parquet and icu are built in. Others install on first use into $HOME (/tmp, writable) and need outbound network:
import duckdb
con = duckdb.connect()
con.sql("INSTALL h3 FROM community; LOAD h3; INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;")
SET home_directory fails on a folder that doesn't exist: create it first if you need another one.
The public common UDF module's fused.load("https://github.com/fusedio/udfs/tree/<sha>/public/common/").duckdb_connect() returns a connection with h3, spatial and httpfs loaded.
Both images ship the GDAL CLI (gdalinfo, ogr2ogr, gdal_translate, …), ffmpeg, tippecanoe, pmtiles, wgrib2, pdal, git, node/npm, unrar, and uv. Realtime also has jq and aws. Call them with subprocess.run([...], check=True).
Use an installed alternative (see the categories in packages.md). This is almost always the right move.
Ask Fused to add it to the image. Say which engine needs it.
Install onto the shared mount (unofficial). /mount is a disk shared across an org's UDFs, and uv is on the PATH. Pure-Python packages work best; compiled packages must match Python 3.12 and the pinned numpy/pyarrow:
@fused.udf
def udf():
import subprocess, sys
target = "/mount/envs/my_env"
subprocess.run(["uv", "pip", "install", "--python", sys.executable,
"--target", target, "some-package==1.2.3"], check=True)
sys.path.insert(0, target)
import some_package
Install once, then keep only the sys.path.insert. docs.fused.io's Dependencies page shows a python3.11 site-packages path; the runtime is 3.12, so build any env for 3.12.
Custom batch image: image_name= on batch jobs pulls a custom image, but only in environments where Fused has enabled custom images (otherwise the server returns 403). There is no custom image for realtime.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub fusedio/skills --plugin workbench13 skills in this plugin
/canvas-commentsUse when a Fused canvas.toml contains (or needs) a [[canvas.comments]] block — e.g. the user asks to check/fix/resolve canvas comments, review feedback pins on a canvas, or leave comments on a canvas for someone else. Covers reading, writing, and resolving comments via the fused CLI pull/push workflow./canvas-referenceUse when editing a Fused canvas clone that fused-render syncs (~/Fused/canvas/<env>/user/<name>/) and about to write or change a node, or any code that fetches, converts or aggregates data. How to find a working example first in the read-only reference canvases on disk beside the clone (user/, team/, public/), and the rules for using one./canvas-tomlFormat reference for `canvas.toml` files that define a Fused canvas (nodes, edges, viewport) plus the surrounding folder layout (`{udfName}.py`, `.json`, `.md`, `.html`, `_shared.fused`). Use when creating, editing, or validating any `canvas.toml`, adding/removing UDF nodes, wiring edges, defining folder groupings, or scaffolding a new canvas folder./fused-betaCall the team-built `fused.beta` methods — UDFs the Fused team wrote whose code stays on Fused's servers and whose calls run there — from Python (`fused.beta.{canvas}.{udf}(...)` or `fused.beta("canvas", "udf", ...)`), the CLI, or over HTTP (`POST /v1/tasks/run` with `task: "beta.run"`, user or service-account token). Covers discovery with `fused beta catalog`, `fused.beta.catalog()` and the public catalog JSON, the `TaskRun` handle for realtime and batch runs, `beta_version=` for an older published version, following a run to its result, trying a canvas directory locally with `fused.beta.local`, and the authoring rules a canvas must meet. Use when code mentions `fused.beta`, when asked to call a Fused team or beta UDF or method, when starting beta tasks over HTTP, or when writing a canvas for `fused.beta`./fused-h3Ingest data into H3 hex datasets and query them with the `fused.h3` API. Covers partitioning points, geometries, gridded rasters (ERA5-style) or tables that already carry an H3 column into hex-sorted Parquet as server-side runs, checking a large or messy Parquet folder first with `fused.h3.inspect`, registering the output with `fused.h3.index` (whole tree, some partition folders, a flat folder in file batches, or fanned out over several instances), and reading it back with `fused.h3.query` inside a UDF or `/h3/query` over HTTP. Use when converting data to H3, building, adding to or redoing a hex dataset, following or retrying a partition/index run, querying one by point/bbox/cell/time/partition, or calling `/h3/query` with curl, a script or an HTML page. Also use when showing a hex dataset on a map or visualising it (the `fused-map` `fused-hex` layer, zoomed-out overviews, `chunk_res_offset`)./fused-integrationsReference for using Fused's built-in integration connections inside UDFs. Covers data sources (Snowflake, BigQuery, GCS, S3, Airtable, Notion, Google Drive), compute/inference providers (Modal, Hugging Face, Baseten, Daytona, ComfyOrg, Slack), and LLM providers (Anthropic, OpenAI) — the fused.api connect helpers, secrets access, and common operations (query, write, list, invoke, infer). Use when the user is writing a UDF that reads from, writes to, or calls out to a connected service.