§ Commands · 18 in total

Every Bob command,
in one place.

Bob has eighteen commands across two surfaces — a CLI for scripts and power users, and an interactive menu for the four most-used operations. Below: how each surface works, then every command organized by how often you'll reach for it.

§ A · Two surfaces

CLI for scripts. Menu for everyday.

The CLI is the canonical surface — every command is here. The interactive menu is a wizard around the four most common operations: push, promote, branch, and tests. Use whichever fits the moment.

📦

Bob CLI

Scriptable · all commands · CI-friendly

~/projects/flowise · zsh
$
→ compiling 12 prompts
→ pushing to dev · flowise.dev
→ updating 3 custom JS nodes
deployed in 1.4s
$ _

Run any command directly: bob push my-agent --env dev. Tab-complete with bob <tab> in zsh. Best for repeatable work, scripts, and CI gates.

🧭

Interactive menu

Four wizards · arrow keys · safe defaults

Run bob with no arguments. The menu walks you through push/promote/branch/tests with prompts — no flags to memorize. Best for first-time use and the "is dev ok?" daily ritual.

§ 01 · Tier 1 · Primary

Tier 1 The daily loop.

Edit → compile → push → test → promote. If you only learn four commands, learn these.

compile

bob compile [agent]

Compiles Obsidian-flavored markdown prompts into the XML format Flowise expects. Writes to compiled/ alongside each source.

When Every time you edit a prompt. Always run before push.

push

bob push <agent> [--env <env>]

Compiles, pulls remote flow.json, injects compiled prompts and JS code into nodes, uploads back. Push-protected envs are refused.

When After every prompt or JS change you want to try in Flowise.

test

bob test --scenario <path> | --suite <name> | <pattern>

Runs YAML behavioral contracts against the same Flowise prediction endpoint your push targets. Reports per-turn timings and judge verdicts.

When Before you ship. Constantly during agent development.

promote

bob promote <fromEnv> <toEnv> [agent]

Copies a flow between environments — runs ID remapping, swaps credentials, injects target env state. Prod can only be promoted from stage.

When Releases. Move dev → stage when green; stage → prod after sign-off.

§ 02 · Tier 2 · Supporting

Tier 2 Regular toolkit.

Not every day, but every week. The commands a teammate learns in their second week.

predict

bob predict <agent> [-m "msg"] [--session-id <id>] [--env <env>]

Interactive chat against a deployed agent. Shows the execution path, classifier scores, and tool calls. Resume an existing session with --session-id.

When Debugging an agent's reply by hand. Faster than writing a scenario.

pull

bob pull <agent> [--env <env>]

Downloads flow.json from Flowise into flowise/agents/<agent>/. Use pull-code to also extract custom JS nodes into code/.

When After someone edits structure in the Flowise UI. Pulls them back into git.

validate

bob validate [--env <env>]

Cross-checks every local prompt has a matching node in Flowise — catches typos, renames, or missing nodes before you push.

When Pre-flight before a big push. CI gate.

branch

bob branch create <name> [--from dev] · delete · list

Manages branch environments — short-lived envs derived from dev (or another env) for feature work. Stored in config.yaml.

When Starting a feature that needs its own Flowise sandbox.

§ 03 · Tier 3 · Infrastructure

Tier 3 Setup & maintenance.

Useful, less often. Env setup, project workflow, the occasional remap.

update-ids

bob update-ids <agent> [--env <env>]

Remaps resource UUIDs (credentials, flow IDs, document store IDs) inside a flow when moving between envs that share workspaces but differ in resource bindings.

When After cross-workspace promotions, or when a flow was hand-copied between envs.

credentials

bob credentials <agent> [--env <env>]

Updates LLM/Agent node credential references in a flow to match what config.yaml says for a given env.

When Initial env setup. After rotating an LLM API key.

discover

bob discover <agent> [--env <env>]

Lists every LLM/Agent node in a Flowise flow and reports which prompts are mapped vs missing. Read-only.

When Onboarding to an unfamiliar agent. Auditing prompt coverage.

pull-tools

bob pull-tools [name...] [--env <env>]

Mirrors Flowise Custom Tools into flowise/tools/ as JS files with JSDoc YAML frontmatter. Local frontmatter wins on re-pull.

When When a teammate added or edited a shared tool in the Flowise UI.

push-tools

bob push-tools [name...] [--env <env>]

Pushes tool function bodies + descriptions + schemas (built from frontmatter inputs) up to Flowise.

When After editing a tool locally. Local frontmatter is the source of truth.

issue

bob issue <KEY> [--force] [--no-attachments] [--open]

Scaffolds issues/<KEY>/ with the Jira ticket prefilled, screenshots/ folder, and downloaded attachments. Mac-friendly.

When Starting work on a Jira ticket. Project workflow nicety, not core to Bob.

§ 04 · Tier 4 · Advanced

Tier 4 Escape hatches.

One-off, janitorial, or bootstrap. You will go weeks without typing these.

cleanup-export

bob cleanup-export

Inventories all Sandbox agentflows into a CSV for team review. Backs up each flow as JSON. Pre-marks flows tracked in config.yaml as keep.

When Quarterly Sandbox cleanup. Before a fresh round of experiments.

cleanup-delete

bob cleanup-delete <csv> [--execute]

Reads the reviewed CSV from cleanup-export and deletes flows marked DELETE. Dry-run by default. Refuses to delete tracked flows. Logs every action.

When After your team has reviewed the export CSV. Run dry-run first.

pull-node-config

bob pull-node-config

One-time bootstrap: extracts structuredOutput + updateState configurations from existing Flowise nodes into local prompt and JS frontmatter.

When Once, when adopting Bob on a pre-existing Flowise project.