User Guide
Advanced

Build a workbench with a third-party agent

Copy one prompt and have Claude Code, Codex, or a similar agent build a workbench on your computer from the official template, preview it locally, then package it and import it into Floatboat.

Start Claude Code or Codex in the folder where you want the project to live. Click Copy prompt below, paste it in, and press Enter. The agent asks what you want first, then clones the official template, installs what it needs, names your workbench, and starts building.

Prompt for your agent
Please build me a workbench from Floatboat's official workbench template. Template repository: https://github.com/floatboatai/floatboat-workbench-template

Work through these steps in order, and after each one, tell me how it went in a sentence or two:

1. Based on what I want, suggest a registry name, a display name, and a short description. The registry name is the workbench's permanent English name once it's listed, and it can only use lowercase letters, digits, - and _. Check them with me before you go any further.
2. Check Node.js and pnpm on this computer. The template needs Node 22.16 or a later 22.x release, and pnpm 10.22. If either is missing or the wrong version, tell me what to install and wait for my OK.
3. Clone the template repository into a new folder in the current directory, named after the registry name. Inside it, run pnpm install --frozen-lockfile --ignore-scripts, and run every later command from that folder.
4. Read AGENTS.md and .agents/skills/floatboat-workbench/SKILL.md in that folder, and follow them from here on: initialize the workbench with the names I approved, build the features, and keep the docs and app/manifest.json up to date as you go.
5. If it needs Floatboat features like models, calendars, or connectors, remind me to open Floatboat and sign in first.
6. Run the checks and tests. Once they pass, start the local preview and send me the full preview address.
7. When I say it looks good, package it, then tell me where the .fbworkbench file is and how to import it into Floatboat.

Before you do anything, ask me what kind of workbench I want and who it's for. Start step 1 once I've told you.

When it asks, a sentence or two is plenty. A shop owner might say: "A shop inventory workbench. Let me log deliveries and daily sales, highlight anything under 10 in stock, and make a restock list every Monday." Swap in your own job. A teacher could track homework, and a freelancer could keep quotes and payments.

Before it downloads the template and dependencies or runs a command, the agent may ask for your permission. Check that it's one of the steps in the prompt, and if so, say yes.

You'll need a terminal for this. Never used one? That's fine. You can also build a workbench by chatting in Floatboat. Start with Workbench.

The rest of this page walks through each step: how to package your workbench and import it into Floatboat, how to list it on the marketplace, and what each command does if you'd rather do it yourself.

What you need

Get these installed first:

  • Node.js 22 (22.16 or a later 22.x release) and pnpm 10.22.
  • Git. To make your own GitHub repository from the template, you'll also need a GitHub account.
  • Claude Code or Codex, or another agent that works in the terminal.

If you want to try Floatboat features like calling models or reading your calendar while you build, open Floatboat and sign in too. For UI and local data alone, you can leave it closed.

Start from the template

Want to go step by step, or keep the code in a GitHub repository of your own? Follow these three steps. If you used the prompt at the top, the agent has already done them for you, except that it clones the template directly instead of making you a repository of your own.

Create a repository from the template

Open floatboat-workbench-template, click Use this template to make your own repository, and clone it to your computer.

Install dependencies

In the repository folder, run:

pnpm install --frozen-lockfile --ignore-scripts

Those two flags mean: install exactly the versions the template has locked, and don't run the packages' own install scripts. Copy it as is.

Name your workbench

pnpm workbench:init -- --registry shop-inventory --name "Shop inventory" --description "Track stock and sales, and get reminded to restock"

--registry is the registry name, your workbench's fixed name on the marketplace. Once it's listed, it can't change, so pick it now. It can only use lowercase letters, digits, -, and _.

Let the agent write it

The template comes with instructions and a skill written for agents. The agent follows them to write the code, and keeps the docs and manifest up to date as it goes.

If you started with the prompt at the top, the agent is already following them, so just keep telling it what to change. If you set up the repository yourself, start your agent in the repository folder and call the template's skill directly:

  • Claude Code: type /floatboat-workbench, and describe what you want.
  • Codex: type $floatboat-workbench, and describe what you want.

Describe it like the example at the top: a sentence or two on what it should do and who it's for.

Your app code lives in app/. The workbench's name, version, and the Floatboat capabilities it uses go in a manifest file, app/manifest.json. The agent keeps that in step with the code.

Preview it locally

Once there's something to look at, run these in order:

pnpm workbench:check
pnpm test
pnpm dev

The first two check and test your code. The third starts the preview. pnpm dev prints a local address; open it in your browser to see the workbench.

From then on, each time you save, it checks your changes first and only reloads when they pass. If a check fails, the last working version stays up, so the page doesn't break.

When Floatboat is open and signed in, pnpm dev connects to it on its own, and you can try model, calendar, and automation calls right away. If Floatboat isn't running, those calls say they're not connected, and everything else still works.

List the capabilities you use

Put the Floatboat capabilities your workbench needs under capabilities in the manifest, such as llm, calendar, or automation.

Listing one doesn't guarantee access. Floatboat checks again against the signed-in account on every call. Every capability and how to use it is in How workbenches work.

Package it and import it into Floatboat

Happy with it? Turn it into a single file and load it into Floatboat.

Package

pnpm run package

This creates a .fbworkbench file in artifacts/.

Watch the command: it's pnpm run package, not pnpm pack. They look alike, but Floatboat won't accept the file pnpm pack makes.

Test data from your previews isn't included by default.

Import it in Floatboat

Open Floatboat, click My in the sidebar, switch to Workbenches, click Import workbench, and pick your .fbworkbench file.

The My page in Floatboat, with Shop inventory and Customer follow-ups cards under the Workbenches tab. Number 2 outlines the Import workbench button at the top right, next to Import from share code and Create workbench. Number 1 outlines the store icon at the bottom of the Shop inventory card, which is what you click to list it.

Floatboat then installs the dependencies, builds it, and creates a new space just for it. This takes a little while. When it's done, follow the prompts to connect any files or services it needs.

List it on the marketplace

An imported workbench can be listed on the Workbench marketplace, just like one you built inside Floatboat. Anyone can list for free. To charge for it, join the Creator Plan first.

Ship a new version

When you're ready for a new version:

  1. Make your changes in the template repository.
  2. Raise version in app/manifest.json, for example from 1.0.0 to 1.1.0.
  3. Note what changed in changelog.
  4. Package again.

A version number that's been listed can't be used again, so each new submission needs a higher one.

Something not working?

pnpm install or the build fails. Run node -v to check your version. The template needs Node 22.x (22.16 or later). Version 23 and above aren't supported, so switch back to 22 and try again.

Floatboat says the file isn't valid when you import. Make sure you picked the .fbworkbench file that pnpm run package created in artifacts/, not one from pnpm pack.

Model calls in the workbench say they're not connected. Open Floatboat, sign in, and refresh the preview. If you have several copies of Floatboat running, follow docs/platform.md in the template to pick the one to connect to.

A connector call the agent wrote doesn't work. Usually the action name is a guess. Have the agent run pnpm workbench:catalog to look up the exact name first.

What's next

On this page