/workbench:s3-filesfrom workbench
Guides reading S3 files through fused-render's s3_search and s3_read tools: finding paths, listing folders, and reading objects (parquet footers, CSV heads, small files) without over-downloading.
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.
None: SKILL.md is the whole skill.
Only in a session fused-render started, and only when its s3_search and s3_read tools are in your tool list. Claude sees them as mcp__fused_render__s3_search and mcp__fused_render__s3_read; other agents show the same names with a different prefix (fused_render_s3_search, fused_render-s3_search, mcp_fused_render_s3_search). Older fused-render versions name the server fused_approvals instead of fused_render (mcp__fused_approvals__s3_search, …); treat either as these tools. They are there when the Fused (Canvases) integration is on in fused-render. If they are absent, tell the user these S3 files are not reachable from this session; do not reach them another way.
fused-render answers searches from its own index of the S3 files it serves, reads them for you, and keeps downloaded files in its cache. Today that is the public fused-asset bucket, Fused's sample data: about 260k objects and 22 TB, mostly parquet and GeoTIFF, under top-level folders such as data/, overture/, infra/, census/, stac/, hex/ and misc/. More buckets, any your Fused account can read, will be served through the same tools; s3_search shows what is available.
s3_search takes exactly one of query or path, plus limit (default 20, max 200; more is clamped):
{"query": "nyc311"}: text matched against keys and folder names. Returns folders and files, best match first; a bucket's own name returns the bucket. truncated true here means more matched: narrow the query or raise limit.{"path": "s3://fused-asset/data/nyc311/"}: one level of that folder, folders first; a bucket root (s3://fused-asset/) lists too. When truncated is true, call again with the same path and the returned cursor for the next page.Each hit has url, is_dir, size (bytes; null for a folder) and modified (may be null).
Search never enumerates a dataset: it shows at most three hits per file name and hides folders whose name starts with .. s3://fused-asset/data/nyc311/ holds about 1,900 files named like 852a1003fffffff.parquet under month=…/ folders; a search cannot return them all. To see every file, search for the dataset, then list its folder with path and walk down.
Look at size before reading: it decides how.
s3_read takes url plus, for a byte range, offset and/or length. With neither, the call downloads the whole object. A negative offset counts from the end (clamped to byte 0); length counts forward from there, and without it a range runs to the end of the object. So the start of a file is "offset": 0 with a length. save and allow_large are booleans.
| Need | Call |
|---|---|
| Parquet schema, row count, row groups | the tail: "offset": -65536 (last 64 KiB), then parse the footer (below) |
| First lines of a CSV, JSON or text file | "offset": 0, "length": 4096 |
| GeoTIFF / COG header (size, tiling, overviews, georeferencing) | a small range from 0; a COG keeps its header at the start |
| The whole file, for analysis, under 100 MiB | no offset or length; open the returned path with duckdb, pyarrow, pandas or rasterio |
| Anything from a file over 100 MiB | ranges. A whole download needs "allow_large": true: use it only when the task needs the whole file and the user would expect a download that size (say so first). An object fused-render has already downloaded comes back at any size |
What comes back: size (the whole object), etag and modified (either may be null), range (the bytes actually returned: start inclusive, end exclusive; null for a whole file; a tail longer than the object starts at byte 0, so it returns the whole object when that fits in one call's 64 MiB, its first 64 MiB otherwise) and either
content: the bytes inline, when they are UTF-8 text with no NUL byte, at most 32 KiB, and you did not pass "save": true (up to 3 bytes may be trimmed at an edge so no character is split; range is then a few bytes narrower than asked, and note says so); orpath: a local file. A range that is binary or over 32 KiB is saved to a file the session can read (note says so). A whole object is a read-only copy in fused-render's cache. The file name is a shell-safe version of the object's name (unusual characters become _, the extension is kept). A saved range of at most 256 bytes also carries hex, its bytes as lowercase hex, so a few bytes (a magic number, a length) need no file read.One range call returns at most 64 MiB; a longer window is cut short, not refused. When you need more, compare range.end with size and read the next window from range.end.
A parquet file ends with the footer, its length (4 bytes, little-endian) and PAR1. Read the tail:
{"url": "s3://fused-asset/census/block_hex_2025_10k/586079829779021823.parquet", "offset": -65536}
The bytes are binary, so the result is a path. Parse it with any Python that has pyarrow (python3 footer.py <path>):
import io, struct, sys
import pyarrow.parquet as pq
tail = b"".join(open(p, "rb").read() for p in sys.argv[1:]) # the saved tail, in order
assert tail[-4:] == b"PAR1", "not the end of a parquet file"
n = struct.unpack("<I", tail[-8:-4])[0] # footer length
if n + 8 > len(tail):
print(f"footer is {n} bytes: read again with offset {-(n + 8)}")
else:
md = pq.read_metadata(io.BytesIO(tail[-(n + 8):]))
print(md.num_rows, "rows,", md.num_row_groups, "row groups")
print(md.schema.to_arrow_schema())
This file's footer is 140,109 bytes, larger than the 64 KiB tail, so the script prints read again with offset -140117. Read {"url": "…", "offset": -140117} and run it on the new path: 267,209 rows, 343 row groups, and the schema. A footer over 64 MiB comes back cut short (no PAR1 at the end): read on from each range.end until it reaches size, with "save": true on each read so that even a last window of a few bytes is a file, and pass every saved path, in order.
That schema and row count are this one file's. In a partitioned dataset a partition column (such as month in month=…/) may exist only in the folder names, and files can differ in schema, so check more than one file before describing the whole dataset.
{"url": "s3://fused-asset/data/tiger/State_3digit_Zipcode.csv", "offset": 0, "length": 4096}
Comes back inline as content. The last line may be cut off mid-row.
{"url": "s3://fused-asset/census/block_hex_2025_10k/586079829779021823.parquet"}
400 KB, so the whole file: path is the cached copy, opened like any local file.
curl, aws s3, boto3, fsspec, fused files or fused.api aimed at a bucket fused-render serves, from the session: the tools are where fused-render will add signed access to private buckets, and they share its cache.path and read one object at a time. Work over a whole dataset belongs in a UDF, not in a download.path when passing it to a shell.s3:// URL itself on the server (see fused-integrations, Amazon S3); never put a local or cache path in a UDF.| The error says | Do |
|---|---|
| tools absent, or the integration is disabled | The Fused (Canvases) integration is off in fused-render. Tell the user; do not work around it. |
| the index is still loading | Retry shortly; fused-render is still fetching its index. |
| bad path or arguments | path must be a folder URL, s3://<bucket>/<prefix>/, in a bucket fused-render serves; s3_read takes an object URL, not a folder; offset and length are integers. |
it is a file (a file URL passed as path) | Read it with s3_read, or list its parent folder. |
| not found | The index is a snapshot, and an object or folder may have been deleted since. List the parent folder with path to see what is there. (A range of a file fused-render already downloaded is served from its cached copy without checking the bucket; a whole-file read re-checks.) |
| bucket not supported | fused-render does not serve that bucket. Use s3_search to see what is available; tell the user if what they need is not there. |
| range not satisfiable | The offset is at or past the object's size. Check size and read again. |
| still downloading | A whole-file read waits about 40 s. Call s3_read again with the same url. |
| download interrupted | fused-render restarted mid-download. Call s3_read again with the same url. |
| not enough free disk space | fused-render keeps a reserve free and refuses the read. Tell the user; do not retry in a loop. A smaller range may still work. |
| too large for a whole download | Over 100 MiB: read a range, or pass allow_large only as the table above says. |
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.