Skip to content
Back to skills

Fused Workbench Cli

FSecurity

Reference for the legacy Fused Python SDK command line interface, now namespaced under `fused workbench`. Use when the user asks how to run, push, share, or otherwise manage UDFs, canvases, files, or secrets via the Fused workbench CLI, or when authoring shell commands that invoke `fused workbench`.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 10, 2026
ai-agentspythongoshellbashnodetestingdebugginggitapi

Works with

  • claude code
  • terminal
  • cli
  • api
  • mcp

Security analysis

F0/100
  • criticalPipes output to a shell interpreter
  • criticalPipes output to a shell interpreter
  • criticalModifies startup scripts or system services for persistence
  • criticalModifies startup scripts or system services for persistence
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 30, 2026

npx -y skills add fusedio/skills --skill fused-workbench-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fused Workbench Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fused Workbench Cli
[![Security: F — Skills Directory](https://www.skillsdirectory.com/api/skills/fusedio-fused-workbench-cli/badge)](https://www.skillsdirectory.com/skills/fusedio-fused-workbench-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fused-workbench-cli
description: Reference for the legacy Fused Python SDK command line interface, now namespaced under `fused workbench`. Use when the user asks how to run, push, share, or otherwise manage UDFs, canvases, files, or secrets via the Fused workbench CLI, or when authoring shell commands that invoke `fused workbench`.
---

# Fused CLI (workbench)

Blocks that start with `<!-- fused-render:only` apply only inside a fused-render canvas clone and are unwrapped there; ignore them elsewhere.

<!-- fused-render:strip -->
> **Namespace note:** The Fused repo was consolidated with OpenFused. The bare `fused` command is now the OpenFused agent toolkit; the legacy proprietary SDK CLI documented here lives under **`fused workbench`** (e.g. `fused workbench canvas push`, `fused workbench run`). The package and install command are unchanged (`uv tool install 'fused[vector]'`). For the new top-level toolkit, see the `agent-core` plugin's `fused-cli` skill.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
> **Namespace note:** The Fused repo was consolidated with OpenFused. The bare `fused` command is now the OpenFused agent toolkit; the legacy proprietary SDK CLI documented here lives under **`fused workbench`** (e.g. `fused workbench canvas validate`, `fused workbench run`). The package and install command are unchanged (`uv tool install 'fused[vector]'`). For the new top-level toolkit, see the `agent-core` plugin's `fused-cli` skill.
-->

> **The app may already provide `fused` — check before installing.** If the environment variable `FUSED_RENDER_FUSED_CLI_DIR` is set, `fused` is supplied by the fused-render app as a **pre-release** build, and the app prepends that wrapper directory to `PATH` for every child process. In that case: do **not** install fused, do **not** run `uv tool install`, and do **not** run (or ask the user to run) a plugin install such as `fused workbench claude plugin add` — the app registers the plugin itself. If `fused` looks broken there, report the problem to the user instead of installing over it: an install cannot take effect anyway, because the app's wrapper directory always wins on `PATH`.

## Which command form? (check first)

<!-- fused-render:strip -->
The `workbench` namespace exists in the 2.9.2b0+ pre-releases and in released versions from 2.9.5 on; on the pre-releases the bare `fused` is a different CLI, so forms such as `fused whoami` fail with `No such command`. Released versions before 2.9.5 (2.9.1, 2.9.3, and so on) don't have it and use the same commands **without** `workbench`: `fused canvas push`, `fused run`, `fused claude plugin add`, and so on. Everything below is written with `fused workbench …`; run `fused workbench --help` once, and if it fails with `No such command 'workbench'`, drop the word `workbench` from every command in this and the other workbench skills. That is the expected result on a release before 2.9.5, not a broken install: don't reinstall or upgrade fused to get the namespace. Note that `codex` / `copilot` plugin subcommands may be missing too; if so, use the agent's own CLI as described under **Session start**.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
The `workbench` namespace exists in the 2.9.2b0+ pre-releases and in released versions from 2.9.5 on; on the pre-releases the bare `fused` is a different CLI, so forms such as `fused whoami` fail with `No such command`. Released versions before 2.9.5 (2.9.1, 2.9.3, and so on) don't have it and use the same commands **without** `workbench`: `fused canvas validate`, `fused run`, `fused claude plugin add`, and so on. Everything below is written with `fused workbench …`; run `fused workbench --help` once, and if it fails with `No such command 'workbench'`, drop the word `workbench` from every command in this and the other workbench skills. That is the expected result on a release before 2.9.5, not a broken install: don't reinstall or upgrade fused to get the namespace. Note that `codex` / `copilot` plugin subcommands may be missing too; if so, use the agent's own CLI as described under **Session start**.
-->

## Session start

**Before any task that requires the CLI or authentication, run `fused workbench whoami`** to confirm the CLI is available and authenticated. If the command is not found — and `FUSED_RENDER_FUSED_CLI_DIR` is **not** set (see the note above; if it is set, stop and report to the user instead):

```sh
uv tool install 'fused[vector]' --upgrade  # permanently installs (or repairs) fused on PATH
```

Then re-register the plugin for the agent you are running in, and open a new session:

| Agent | Command |
| --- | --- |
| Claude Code | `fused workbench claude plugin add` |
| Codex | `fused workbench codex plugin add` |
| GitHub Copilot CLI | `fused workbench copilot plugin add` |

If an older `fused` reports `No such command 'codex'` (or `'copilot'`), use the agent's own CLI instead: `codex plugin marketplace add fusedio/skills` then `codex plugin add workbench@fused-marketplace`, or `copilot plugin marketplace add fusedio/skills` then `copilot plugin install workbench@fused-marketplace`.

This is the complete reinstall — no other context is needed.

## Finding the CLI

`fused` is installed as part of the `fused` Python package. The CLI ships in `fused>=2`, which requires **Python 3.10 or newer** — on Python 3.9 `pip install fused` falls back to a 1.x release that has no `fused` entry point. If `fused` is not on `PATH`, locate or install it before running any commands:

1. **Check PATH first:** `which fused` — if found, use it directly.
2. **Not found? Install permanently (recommended)** — unless `FUSED_RENDER_FUSED_CLI_DIR` is set, in which case skip installing entirely (see the note above): `uv tool install 'fused[vector]'` — installs fused as a persistent tool so it is always on PATH, even in new sessions. The `vector` extra bundles `geopandas`/`pandas`/`shapely` so local `fused workbench run` works (without it, deserializing a result DataFrame raises `ModuleNotFoundError: No module named 'pandas'`). Requires `uv` ([install instructions](https://docs.astral.sh/uv/getting-started/installation/)).
3. **Quick one-off (no permanent install):** `uvx fused` — runs the latest version without touching PATH. Use this only when you don't need `fused` to persist across sessions.
4. **Project venv:** if the project uses a `.venv`, run `uv run fused` or `.venv/bin/fused`. Confirm the venv is Python 3.10+ (`.venv/bin/python --version`); if it's 3.9, recreate it with `uv venv --python 3.11 .venv` before installing.
5. **Conda env:** the binary may live inside a conda environment (`~/miniforge3/envs/<env>/bin/fused`). Activate the env or call the full path. If the env is on Python 3.9, create a new one with `conda create -n fused python=3.11`.

### Windows

On Windows the same rules apply, with a few differences:

- **Check PATH:** use `where fused` (not `which`) in cmd/PowerShell.
- **Python Launcher:** Windows ships a `py` launcher — use `py --version` to check the active version and `py -3.11 -m pip install "fused[vector]>=2"` to target a specific version.
- **`fused` not found after `pip install`:** the Scripts directory (`%APPDATA%\Python\Python3XX\Scripts\` or `%LocalAppData%\Programs\Python\Python3XX\Scripts\`) is often not on PATH. Run `python -m site --user-scripts` to print the exact path, then add it to PATH (search "environment variables" in the Start menu → edit the `Path` user variable) and open a new terminal.
- **Install `uv` on Windows (if not present):**
  ```powershell
  powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  ```
  Restart the terminal after installing, then use `uvx fused` as usual.

## Global flags

<!-- fused-render:strip -->
- `--env TEXT` (env: `FUSED_ENV`): `prod`, `stg`, `unstable`, `dev`, a dev PR number, or a base URL. Put it right after `workbench`: `fused workbench --env unstable canvas push ./my_canvas --canvas my_canvas`. `fused --env ...` before `workbench` is a different flag and leaves the command on the default environment. When the target is the `base_url` that `~/.fused/settings.toml` sets explicitly, that file's `[auth]` is kept; any other target uses the default Fused sign-in.
- `--format [json|text]` (env: `FUSED_CLI_FORMAT`) — set to `json` for machine-readable output. Put it right after `workbench`, like `--env`.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
- `--env TEXT` (env: `FUSED_ENV`): `prod`, `stg`, `unstable`, `dev`, a dev PR number, or a base URL. Put it right after `workbench`: `fused workbench --env unstable run my_canvas my_udf`. `fused --env ...` before `workbench` is a different flag and leaves the command on the default environment. When the target is the `base_url` that `~/.fused/settings.toml` sets explicitly, that file's `[auth]` is kept; any other target uses the default Fused sign-in.
- `--format [json|text]` (env: `FUSED_CLI_FORMAT`) — set to `json` for machine-readable output. Put it right after `workbench`, like `--env`.
-->

<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
### Run in the canvas's environment (required)

A canvas clone belongs to exactly one Fused environment, and every `fused workbench` command you run for it (`run`, `udf-schema`, `canvas validate`, `whoami`, `secrets`, `files`, and the rest) must target that environment. A run against another environment still succeeds and prints a result, but it executed on the wrong deployment, with that deployment's runtime, secrets, files and published UDFs, so it proves nothing about this canvas.

**The environment is the path segment after `canvas/` in the clone's path**: `~/Fused/canvas/<env>/user/<name>`, where `<env>` is `unstable`, `prod` or `custom`. Read it from `pwd` before the first run of a session, and name it when you report a test result ("ran on unstable").

- **`unstable` or `prod` clone:** pass it explicitly on every command, right after `workbench`: `fused workbench --env unstable run <canvas> <udf>`. The app's `fused` wrapper also picks it from the working directory, but only when the command starts inside the clone and goes through that wrapper, so do not rely on it alone.
- **`custom` clone:** pass no `--env` and leave `FUSED_ENV` unset. The CLI then uses the deployment that `~/.fused/settings.toml` names, which is that clone's target.

What silently sends a run to the wrong environment (usually the `settings.toml` custom deployment), and so is not allowed in a clone:

- **Any `fused` that is not the app's wrapper**: `uv run fused …`, `uv run --with fused …`, `uvx fused …`, `.venv/bin/fused`, `python -m fused`, or an absolute path to another install. Run the bare `fused` on `PATH` (check with `which fused`: it must sit under `$FUSED_RENDER_FUSED_CLI_DIR`).
- **Python that imports `fused` directly** (`python -c 'import fused; fused.load("my_udf")()'`, a test script, a notebook). The SDK does not read `FUSED_ENV`; only the CLI does. Test with `fused workbench --env <env> run` instead. If a Python script is truly unavoidable, call `fused._env("<env>")` right after `import fused`, before anything else (skip that call for a `custom` clone).
- **Running from outside the clone folder** (after a `cd` elsewhere, or from a scratch directory) without `--env`: the wrapper then falls back to the app's default environment.
- **Setting `FUSED_ENV` or `--env` to anything other than the clone's environment**, including copying an `--env` value from an example in these skills.

If a result looks wrong for this canvas (a UDF "not found" that exists on the canvas, a missing secret, stale code), check the environment first.
-->

## Top-level commands

| Command        | Purpose |
| ---            | --- |
| `canvas`       | Manage canvases |
| `checkpoint`   | Manage canvas checkpoints |
| `claude`       | Manage the Fused plugin for Claude Code |
| `completion`   | Print or install shell tab completion |
| `cronjob`      | Manage scheduled UDF runs |
| `files`        | Manage files stored in Fused |
| `integrations` | Manage third-party integration OAuth and tokens |
| `json-ui`      | Inspect JSON-UI component schemas |
| `login`        | Authenticate and persist credentials |
| `logout`       | Clear local credentials |
| `run`          | Run a UDF and print the result |
| `secrets`      | Manage kernel and user secrets |
| `udf`          | Search and manage UDFs |
| `udf-schema`   | Print the API schema for a UDF |
| `whoami`       | Show info about the authenticated user (`--team` for the team) |

Batch jobs are not under `fused workbench`. They are the top-level `fused job` group (`list`, `status`, `logs`, `cancel`, `metrics`; fused 2.10.1+). See the `fused-jobs` skill.

## `fused workbench canvas`

Most canvas subcommands take a `CANVAS_REF` (name or ID) plus:
- `--id` — treat the ref as a canvas ID rather than a name
- `--team` (where supported) — treat the name as a team canvas name

<!-- fused-render:strip -->
| Subcommand | Args / notable options |
| --- | --- |
| `create NAME` | Create a new canvas |
| `delete CANVAS_REF` | `--id` |
| `export CANVAS_REF` | `--output FILE` (required), `--team`, `--id` — downloads a zip bundle |
| `list [CANVAS_REF]` | `--team`, `--id` — lists all, or shows one |
| `pull CANVAS_REF` | `-o/--output DIR`, `--team`, `--id`, `-f/--force`, `-n/--dry-run`, `--show-diff` — same as `export` then extracts; prompts per file on conflict unless `--force`. Pass `--show-diff` (recommended when invoked by an AI assistant) to print a unified diff for every file write or removal so you can summarize the change set back to the user. The changes will be applied with `--show-diff`. |
| `push SOURCE_DIR` | `--canvas TEXT` (defaults to dir name), `--id`, `--no-validate` (skip the pre-push `validate`), `--no-ignore` (include gitignored / `.fusedignore` files). Replaces remote UDF list — UDFs missing locally are removed. If no canvas with that name exists, a new one is created. **Canvas names must match `[a-zA-Z0-9_]` — no spaces or hyphens.** |
| `validate CANVAS_DIR` | `--skip CHECK` (repeatable). Checks, without running UDFs: `node_files`, `edge_refs`, `orphaned_files` (warning), `widget_json_parse`, `widget_refs` (`{{name}}` inside `.json` widgets), `widget_params`. Exit 1 on errors. Skips files that `.fusedignore` / `.gitignore` exclude, as `push` does (so an ignored `CLAUDE.md` is not orphaned, and a node whose source file is ignored fails `node_files`). Runs automatically inside `push`, which validates ignored files too under `--no-ignore`. **Does not inspect `.html` files** — check HTML `{{udf}}` / `fused.runPython` names by hand (see the `html-template-nodes` skill). **Does not check folder `childUdfOrder` refs** either. |
| `rename CANVAS_REF NEW_NAME` | `--id` |
| `share CANVAS_REF` | `--client-id TEXT`, `--new-token`, `--id`. Prints `https://<host>/canvas/<token>`. Each JSON-UI widget or HTML template node in the canvas is then also reachable standalone at `https://<host>/share/<token>/<udfName>` (query params hydrate canvas params). Re-running reuses the token; `--new-token` rotates it and breaks existing links. **Does not change the access scope**: a freshly pushed canvas stays `team`, so anonymous visitors (and headless `run-shared-widget`) get `"This canvas is not shared publicly."` until the scope is set to public in the Workbench share dialog. |
| `unshare CANVAS_REF` | `--id` |
| `serve-mcp CANVAS_REF` | `--token` (treat ref as `fc_…` share token), `--team`, `--id`, `--host TEXT` (default `127.0.0.1`), `--port INTEGER` (default `8765`), `--path TEXT` (default `/mcp`), `--claude` (register with Claude Code via `claude` CLI) — serves the shared canvas's OpenAPI as a local MCP server. The canvas must be shared first (`fused workbench canvas share <ref>`) |
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
> **This folder is a live canvas clone.** fused-render keeps it in sync with the canvas on the server. Never run `fused workbench canvas pull` or `fused workbench canvas push` here (nor `pull --force`, `--no-validate` or `--no-ignore`): they are refused.
>
> - Edit the files. The canvas publishes itself when your turn ends, not during it.
> - Changes made on the server arrive in this folder automatically, and the session hook names the files that changed. Re-read those files before editing them.
> - Verify with `fused workbench canvas validate .` and the `canvas_screenshot` tool. `what: "layout"` shows where nodes, folders and edges sit, drawn from this folder's `canvas.toml` as it is now: no open canvas needed, this turn's edits included, nothing run. `what: "canvas"` and `what: "udf"` photograph the user's canvas page, for what a node's output looks like. `fused workbench run` (UDFs) and `fused workbench json-ui validate` (widgets) stay useful, run in the clone's own environment (see **Run in the canvas's environment** under Global flags).
> - If a `what: "canvas"` or `what: "udf"` call says the canvas is not open, open it yourself, then call it again: `open "$FUSED_RENDER_ORIGIN/canvases/<env>/<canvas>"` on macOS. A `what: "layout"` call never needs the canvas open.

| Subcommand | Args / notable options |
| --- | --- |
| `create NAME` | Create a new canvas |
| `delete CANVAS_REF` | `--id` |
| `export CANVAS_REF` | `--output FILE` (required), `--team`, `--id` — downloads a zip bundle |
| `list [CANVAS_REF]` | `--team`, `--id` — lists all, or shows one |
| `validate CANVAS_DIR` | `--skip CHECK` (repeatable). Checks, without running UDFs: `node_files`, `edge_refs`, `orphaned_files` (warning), `widget_json_parse`, `widget_refs` (`{{name}}` inside `.json` widgets), `widget_params`. Exit 1 on errors. Skips files that `.fusedignore` / `.gitignore` exclude (so an ignored `CLAUDE.md` is not orphaned, and a node whose source file is ignored fails `node_files`). **Does not inspect `.html` files** — check HTML `{{udf}}` / `fused.runPython` names by hand (see the `html-template-nodes` skill). **Does not check folder `childUdfOrder` refs** either. |
| `rename CANVAS_REF NEW_NAME` | `--id` |
| `share CANVAS_REF` | `--client-id TEXT`, `--new-token`, `--id`. Prints `https://<host>/canvas/<token>`. Each JSON-UI widget or HTML template node in the canvas is then also reachable standalone at `https://<host>/share/<token>/<udfName>` (query params hydrate canvas params). Re-running reuses the token; `--new-token` rotates it and breaks existing links. **Does not change the access scope**: a freshly pushed canvas stays `team`, so anonymous visitors (and headless `run-shared-widget`) get `"This canvas is not shared publicly."` until the scope is set to public in the Workbench share dialog. |
| `unshare CANVAS_REF` | `--id` |
| `serve-mcp CANVAS_REF` | `--token` (treat ref as `fc_…` share token), `--team`, `--id`, `--host TEXT` (default `127.0.0.1`), `--port INTEGER` (default `8765`), `--path TEXT` (default `/mcp`), `--claude` (register with Claude Code via `claude` CLI) — serves the shared canvas's OpenAPI as a local MCP server. The canvas must be shared first (`fused workbench canvas share <ref>`) |
-->

<!-- fused-render:strip -->
- When pushing a canvas, prefer to test the canvas to make sure your changes work. For JSON UI nodes and HTML template nodes, render them with `fused workbench json-ui run-shared-widget <token> <node_name>` (or `run-inline-widget` for an uncommitted JSON-UI config); for UDFs, run them using `fused workbench run`.

**Directory name ≠ canvas name.** By default `push` uses the source directory's name as the canvas name. If your local folder is named differently from the remote canvas (e.g. folder is `fused-canvas/`, remote canvas is `feedback_pipeline`), the push will try to create a new canvas with the folder's name — and fail if that name contains hyphens. Always pass `--canvas` explicitly when the names differ:

```bash
# Push ./fused-canvas/ to the existing canvas named "feedback_pipeline"
fused workbench canvas push ./fused-canvas --canvas feedback_pipeline
```

If you're unsure of the remote canvas name, run `fused workbench canvas list` first.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
- To check a change, use the `canvas_screenshot` tool for JSON UI nodes and HTML template nodes, and `fused workbench --env <env> run` for UDFs, in the clone's own environment (see **Run in the canvas's environment**). To check where nodes, folders and edges sit after you add, move or resize nodes, use `canvas_screenshot` with `what: "layout"` (see `canvas-toml`, "Layout rules"). A by-name run uses the version published before your turn; pass the local `.py` path to run what is on disk (a `fused.load("<sibling>")` in it fails with `UDF not found`).
-->

## Reading an existing canvas

<!-- fused-render:strip -->
To understand what a canvas contains, pull it locally first, then read the files:

```bash
fused workbench canvas pull CANVAS_REF -o ./local_canvas
```

Once pulled, the output directory contains:
- `canvas.toml` — nodes, edges, viewport (see the `canvas-toml` skill for the full format)
- `*.py` / `*.json` / `*.md` / `*.html` — one source file per node: Python UDF, JSON-UI widget, text box, HTML template node (see `html-template-nodes`)
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
In a canvas clone the canvas is already this folder; read the files directly:
- `canvas.toml` — nodes, edges, viewport (see the `canvas-toml` skill for the full format)
- `*.py` / `*.json` / `*.md` / `*.html` — one source file per node: Python UDF, JSON-UI widget, text box, HTML template node (see `html-template-nodes`)
-->

To inspect a single UDF's parameters without pulling the full canvas, use `fused workbench udf-schema CANVAS UDF`.

### Anti-patterns

<!-- fused-render:strip -->
| Avoid | Why | Instead |
| --- | --- | --- |
| `fused workbench canvas export` to inspect a canvas | Downloads a zip that needs manual extraction | `fused workbench canvas pull -o ./dir` extracts automatically |
| `fused workbench canvas pull --dry-run` then reading local files | `--dry-run` prints what would be created/updated/removed but writes nothing to disk | Omit `--dry-run` when you need to read files locally |
| Running `fused workbench run` on each UDF to understand what it does | Executes UDFs remotely — slow and consumes compute | Read the `.py` source files after pulling |
| `fused workbench canvas list` to see canvas structure | Only shows metadata (name, ID) — not nodes or UDF content | Pull the canvas and read `canvas.toml` |
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
| Avoid | Why | Instead |
| --- | --- | --- |
| `fused workbench canvas export` to inspect this canvas | Downloads a zip of what this folder already holds | Read the files in this folder |
| Running `fused workbench run` on each UDF to understand what it does | Executes UDFs remotely — slow and consumes compute | Read the `.py` source files |
| `fused workbench canvas list` to see canvas structure | Only shows metadata (name, ID) — not nodes or UDF content | Read `canvas.toml` |
-->

## `fused workbench files`

| Subcommand | Args / notable options |
| --- | --- |
| `delete PATH` | `--max-deletion-depth TEXT` (integer or `"unlimited"`) |
| `download PATH LOCAL_PATH` | `-r/--recursive`, `--dry-run` (with `-r`) |
| `get PATH` | Prints file contents to stdout |
| `list PATH` | `--details`, `-r/--recursive` |
| `sign_url PATH` | Returns a signed URL |
| `upload LOCAL_PATH REMOTE_PATH` | `--timeout FLOAT`, `-r/--recursive`, `--dry-run` (with `-r`) |

## `fused workbench secrets`

User secrets are read-only — `--user` is only valid on `get` and `list`.

| Subcommand | Args / notable options |
| --- | --- |
| `delete KEY` | `--client-id TEXT` |
| `get KEY` | `--user`, `--client-id TEXT` |
| `list` | `--user`, `--client-id TEXT` |
| `set KEY VALUE` | `--client-id TEXT` |

## `fused workbench integrations`

OAuth-style connectors for third-party services. Each provider exposes the same three subcommands (`connect`, `token`, `revoke`); Snowflake's `connect` takes extra flags because it uses customer-owned OAuth clients.

| Subcommand | Args / notable options |
| --- | --- |
| `list` | List integrations and their connection status |
| `<provider> connect` | `--open / --no-open` — start OAuth and print the authorization URL (opens automatically in a tty unless `--no-open`) |
| `<provider> token` | Print a short-lived access token for the provider (sensitive output) |
| `<provider> revoke` | Disconnect the provider and remove stored tokens |
| `snowflake connect` | Adds `--account-identifier TEXT`, `--client-id TEXT`, `--client-secret TEXT`, `--client-secret-2 TEXT` (for key rotation) on top of `--open/--no-open` |

Providers: `airtable`, `google-drive` (alias `gdrive`), `hubspot`, `notion`, `snowflake`.

## `fused workbench json-ui`

Inspect, validate, and render JSON-UI widget component schemas (the same schemas covered by the `json-ui-schemas` skill). Use these subcommands as your primary debugging tools when authoring or editing `widget_*.json` files — they're faster than round-tripping through the canvas UI.

| Subcommand | Args / notable options |
| --- | --- |
| `catalog-prompt` | Print the JSON-UI catalog prompt (component overview) |
| `schemas [COMPONENTS]...` | Print JSON Schemas for one or more component names, or all if omitted. The CLI is authoritative when it disagrees with `reference.md` |
| `validate CONFIG_OR_PATH` | Validate an inline JSON5 config string or a path to a `.json`/`.json5` file. Run this after every non-trivial widget edit to catch missing required props, enum violations and props outside `props` (not unknown prop keys) before pushing |
| `run-inline-widget CANVAS_SHARE_TOKEN WIDGET_CONFIG` | Open a share URL with an inline widget query and capture a screenshot. `--print-url-only`, `--browser [chrome\|firefox]`, `--wait INTEGER` (give async data time to load), `--screenshot-filename FILE` (save PNG to file instead of printing base64). Screenshotting needs selenium importable by the CLI — on a missing install the error names the extras to add (`ImportError: selenium is required for JSON-UI run. Install it with: pip install 'fused[workbench]'`). The canvas access scope must be public for the anonymous headless browser |
| `run-shared-widget CANVAS_SHARE_TOKEN WIDGET_NAME` | Open a shared widget page (`/share/<token>/<name>`) and capture a screenshot. Same options as `run-inline-widget`. Requires the canvas to be shared first (`fused workbench canvas share <ref>`). **Works for HTML template nodes too** — pass the `.html` stem as `WIDGET_NAME`. Only JSON-UI-tagged browser logs are printed; page `console.log` output from an HTML node is not surfaced |

**No selenium (e.g. the fused-render CLI):** only `--print-url-only` works.
Make the canvas public in the Share dialog, then open the printed URL in any headless browser.
Both `/canvas/<token>` and `/share/<token>/<name>` render without login once public.

<!-- fused-render:strip -->
**Debugging flow:** edit the widget JSON → `fused workbench json-ui validate <file>` → push → `fused workbench json-ui run-shared-widget <share-token> <widget-name> --screenshot-filename out.png` to confirm it renders. Use `run-inline-widget` when iterating on a widget that hasn't been committed yet. For an HTML template node there is no `validate` step (it is plain HTML): push → `run-shared-widget <token> <html_node> --wait 5 --screenshot-filename out.png`; `run-inline-widget <token> '{"type":"html","props":{"value":"..."}}'` renders an HTML snippet through the JSON-UI `html` widget with the same `window.fused` bridge.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
**Debugging flow:** edit the widget JSON → `fused workbench json-ui validate <file>` → the `canvas_screenshot` tool to confirm it renders. For an HTML template node there is no `validate` step (it is plain HTML): edit → `canvas_screenshot`. There is no push step: the canvas publishes itself.
-->

## `fused workbench claude`

Manage Fused for Claude Code via the `claude` CLI. `fused workbench codex plugin` and `fused workbench copilot plugin` take the same `add` / `update` / `remove` subcommands for Codex and GitHub Copilot CLI; `add-mcp` is Claude-only.

**First-time install (skip entirely if `FUSED_RENDER_FUSED_CLI_DIR` is set — the app installs and registers everything itself; see the note at the top):** `uv tool install 'fused[vector]'` then `fused workbench claude plugin add` (or `fused workbench codex plugin add` / `fused workbench copilot plugin add`) — this permanently installs `fused` on PATH so the agent can find it in every future session. After opening a new session, verify with `fused workbench whoami`.

**If fused is not found in a new session** and `FUSED_RENDER_FUSED_CLI_DIR` is **not** set: run `uv tool install 'fused[vector]'` (no other context needed) then re-register the plugin as in **Session start**, and open a new session. If that variable *is* set, do neither — report the problem to the user.

| Subcommand | Purpose |
| --- | --- |
| `plugin add` | Register the marketplace and install `workbench@fused-marketplace` |
| `plugin update` | Update `workbench@fused-marketplace` to the latest version |
| `plugin remove` | Remove the workbench plugin |
| `add-mcp CANVAS_REF` | Register the hosted canvas MCP endpoint with Claude Code (same as Workbench "Copy MCP"). Options: `--token`, `--team`, `--id`, `--create-session-token/--no-create-session-token` (default: on), `--session-max-age TEXT` (default `1h`) |

## `fused workbench completion`

| Subcommand | Args / notable options |
| --- | --- |
| `install` | `--shell [auto\|bash\|zsh\|fish]`, `--dry-run`, `-y/--yes` — append a one-liner to `~/.bashrc`/`~/.zshrc` or write fish's completion file |
| `print {bash\|zsh\|fish}` | Print a completion script suitable for `eval` or fish's completions dir |

## Calling UDFs: HTTP vs `fused workbench run`

Use this to decide which approach to suggest:

| | `fused workbench run` | HTTP API |
| --- | --- | --- |
| **When to use** | Local development, testing, debugging | External integrations, bots, callers without Fused credentials |
| **Canvas must be shared?** | No — works on private canvases | Yes — `fused workbench canvas share` must be run first |
| **Auth required?** | Yes — must be authenticated as the canvas owner | No — share token in the URL is sufficient |
| **Caller environment** | Anywhere `fused` CLI is installed | Any HTTP client (curl, browser, another service) |

**Default to `fused workbench run` during development.** Only suggest HTTP when the goal is an external caller or a production integration that runs without Fused credentials. Never suggest an HTTP call on a canvas that hasn't been shared — it will return 404 or 403.

## Calling UDFs via HTTP

Every shared canvas exposes a public HTTP API — no Fused SDK or credentials required on the caller side. This is the foundation for building bots, external integrations, and any service that calls Fused from outside Python.

### HTTP API URL format

Once the canvas is public, each UDF is callable as:

```
GET https://udf.ai/<share_token>/<udf_name>?param1=value1&param2=value2&format=json
```

- `format=json` returns a JSON array of row objects (one per DataFrame row). Omitting it returns a binary format.
- Parameters are passed as query string values — strings, integers, and booleans all work.

**Example:**
```bash
curl "https://udf.ai/fc_abc123/ask_question?question=what+is+fused&format=json"
# → [{"answer": "Fused is a platform for running Python in the cloud..."}]
```

### Discover available UDFs

The `.api.json` endpoint returns an OpenAPI spec listing all UDFs in the canvas and their parameters:

```bash
curl "https://udf.ai/<share_token>.api.json"
```

Use this to build tool lists for LLM agents — the `summary` field in each path is the UDF's docstring, which the canvas bot uses as the tool description.

---

## `fused workbench run CANVAS UDF`

Runs a UDF and prints the result. The `UDF` argument is passed to `fused.load`, which accepts:

- Fused identifier: `user@example.com/my_udf` or `my_udf` (resolved against `CANVAS` as the collection)
- Local Python file: `udf.py` or any `.py` path
- GitHub tree/blob URL: `https://github.com/org/repo/tree/...` or `.../blob/...`
- Inline UDF source: a string containing at least one newline is treated as Python module text

Options:

- `--engine [remote|local]`
- `--instance-type TEXT` — remote instance type override
- `--max-retry INTEGER` — default 0; retries any failure except a UDF error
- `--cache-max-age TEXT` — e.g. `10s`, `5m`, `1h`
- `--cache / --no-cache`
- `--disk-size-gb INTEGER`
- `--stdin` — read UDF source from stdin instead of passing `UDF` (do not pass `UDF` with `--stdin`)
- `--verbose / --no-verbose` — show UDF stdout/stderr (default on)
- `--output-file FILE` — write the raw result (Parquet for a DataFrame); a printed DataFrame is truncated
- `--profile` — per-line timings
- `--team`, `--id` — treat `CANVAS` as a team canvas name or a canvas ID

<!-- fused-render:strip -->
> **`fused[vector]` required for local result deserialization.** When running via `uv run`, the result DataFrame is deserialized locally and requires `pandas` to be available in that environment. Without it you get `ModuleNotFoundError: No module named 'pandas'` even if the UDF itself doesn't use pandas. Install `fused[vector]` — it pulls in `geopandas` (and therefore `pandas`), plus `shapely`, which most UDFs need:
>
> ```bash
> uv run --no-project --with 'fused[vector]' fused workbench run my_canvas my_udf --param=value
> ```
>
> `--no-project` avoids pulling in the current directory's dependencies, which can conflict with fused's requirements. If you only need plain `pandas` and not the geospatial stack, `--with fused --with pandas` also works.

<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
> **Run it in the canvas's environment.** In a clone the form is `fused workbench --env <env> run <canvas> <udf>`, with `<env>` taken from the clone's path, and no `--env` for a `custom` clone (see **Run in the canvas's environment** above). Use the app's bare `fused`, never `uv run` / `uvx`: those bypass the app's wrapper and run against whatever `~/.fused/settings.toml` names.
-->

Additionally, `fused workbench run` accepts **arbitrary keyword args matching the UDF's signature**, e.g. `--abc=123` is forwarded as the `abc` parameter to the UDF. These pass-through args are not listed in `--help`. A UDF parameter named like a `run` option (`engine`, `id`, `cache`, …) is taken by the CLI: rename it.

<!-- fused-render:strip -->
When running locally via `uv run`, install `fused[vector]` if the UDF returns a DataFrame — the CLI needs pandas to deserialize the result, and the error (`ModuleNotFoundError: No module named 'pandas'`) appears at result-read time, not inside the UDF itself. `fused[vector]` bundles `pandas` (via `geopandas`) along with `shapely`, covering both plain and geospatial DataFrames:

```bash
uv run --with 'fused[vector]' fused workbench run my_canvas my_udf --param=value
```

<!-- /fused-render:strip -->

## `fused workbench udf-schema CANVAS UDF`

Prints a UDF's API schema (parameter types, return shape) without executing it. The `UDF` argument is passed to `fused.load` and accepts the same forms as `fused workbench run`:

- Fused identifier: `user@example.com/my_udf` or `my_udf` (resolved against `CANVAS` as the collection)
- Local Python file: `udf.py` or any `.py` path
- GitHub tree/blob URL
- Inline UDF source (a string containing at least one newline is treated as Python module text)

Options:

- `--stdin` — read UDF source from stdin instead of passing `UDF` (do not pass `UDF` with `--stdin`)

Use this to introspect parameters before calling `fused workbench run` with `--<param>=<value>` kwargs, or to confirm a UDF's signature matches what a widget or downstream UDF expects.

## Tips

<!-- fused-render:strip -->
- If the CLI lives in a project venv, prefix with `uv run` so the right environment is used.
- For machine-readable output in scripts, pass `--format json`.
- Run `fused workbench <command> --help` to confirm flags before scripting — this reference may lag the CLI.
- When appropriate, give the user the URL to the created canvas so they can open it in their browser and see the result.
- **Prefer the CLI for debugging.** Before asking the user to open the canvas UI to check a change, try to reproduce locally: `fused workbench run` for UDFs, `fused workbench json-ui validate` / `run-shared-widget` for widgets, `fused workbench canvas pull --dry-run` to inspect what changed remotely. This catches most issues without a round trip.
<!-- /fused-render:strip -->
<!-- fused-render:only (this block applies only inside a fused-render canvas clone; ignore it anywhere else)
- Every command targets the clone's environment: `fused workbench --env <env> …` for an `unstable` or `prod` clone, no `--env` for a `custom` one, and always the app's bare `fused` (no `uv run` / `uvx`). See **Run in the canvas's environment**.
- For machine-readable output in scripts, pass `--format json`.
- Run `fused workbench <command> --help` to confirm flags before scripting — this reference may lag the CLI.
- When appropriate, give the user the URL to the created canvas so they can open it in their browser and see the result.
- **Prefer the CLI for debugging.** Before asking the user to open the canvas UI to check a change, try to reproduce locally: `fused workbench --env <env> run` for UDFs, `fused workbench json-ui validate` for widgets, `fused workbench canvas validate .` for the folder, and the `canvas_screenshot` tool to see the canvas rendered. This catches most issues without a round trip.
-->

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.