Skip to content
Agent Orchestration
Skill

/bb-cli

Inspect or manage BB state with the bb CLI; use for BB commands and configuration.

From plugin
bb
5.7k32 skills

Claude Code

$ npx -y skills add get-bb/bb --skill bb-cli --agent claude-code

SKILL.md

bb-cli.SKILL.md
name: bb-cli
description: "Inspect or manage BB state with the bb CLI; use for BB commands and configuration."

BB CLI

Use bb for BB state and actions. `bb guide` is the reference manual; this skill says where to look and how to use bb well.

Start with context

bb status --json
  • `bb guide` prints the concepts and the chapter index. `bb guide <chapter>`

is the full reference for one area.

  • `bb guide commands <group>` prints every command in a group with its options.

`bb <command> --help` shows current flags and defaults.

  • references/command-index.md lists every core command path and alias.

Find the chapter

| Task | Read | | ----------------------------------------------------------------------- | ------------------------------ | | Spawn, hand off, or fork threads; edit a sent message | `bb guide threads` | | List, inspect, wait on, or open threads | `bb guide thread-inspection` | | Message threads, answer interactions, manage queues | `bb guide thread-messaging` | | Stop, clear, compact, retry, archive, or delete threads | `bb guide thread-lifecycle` | | Worktree setup hooks, environment inspection, commits, pull requests | `bb guide environments` | | Enroll, create, update, suspend, or remove machines; move the server | `bb guide machines` | | Projects, sources, attachments, project files | `bb guide projects` | | Providers, models, service tiers, custom models | `bb guide providers` | | Run a command on another machine; dev servers and long-running commands | `bb guide terminals` | | Settings, keyboard shortcuts, sidebar preferences, themes, files, voice | `bb guide customization` | | `AGENTS.md` and skills | `bb guide agent-configuration` | | Plugins and marketplaces | `bb guide plugins` | | Scheduled work | the `automations` skill | | Built-in browser tabs | `bb guide browser` | | `--json` output shapes and the error envelope | `bb guide json` | | Writing theme CSS | references/theming.md |

A plugin's commands and settings are documented in that plugin's own skill. `bb plugin list` shows which commands each plugin contributes.

Command habits

  • Resolve names and IDs with a list or show command before mutation.
  • Pass the project explicitly. Pass an environment or machine selector when the

default host is uncertain, and query provider models on the machine that will run the thread.

  • Keep file paths on the machine that owns the selected workspace.
  • Use `--json` when output controls later work. Parse stdout only: a failure

prints the error envelope on stdout and the message on stderr, so `2>&1` corrupts the JSON.

  • Read the whole error before running `--help`; it names the missing flag with

the current ID filled in.

  • Pass long or multi-line text with `--message-file <path>` or

`--prompt-file <path>` (`-` reads stdin). Inside double quotes the shell runs backticks and `$(...)` before bb sees the text.

  • Prefer non-interactive commands. Pass `--yes` only for a destructive command

the user confirmed.

  • Inspect real status, logs, and diffs instead of assuming.
  • Examples use POSIX shell syntax. In PowerShell, read an environment variable

as `$env:NAME`, separate commands with `;`, and continue a line with a backtick.

Working with threads

  • Give each task one clear owner. Spawn independent tasks separately.
  • Give spawned threads clear prompts: objective, constraints, expected

deliverable, validation to perform, and what to report back.

  • Let threads work. Do not poll with shell sleeps or repeated log and status

reads; use `bb thread wait <thread-id>` when you must block.

  • `bb thread tell` steers the active turn by default. Steer for a wrong

direction, a hard stop, or a critical clarification; use `--mode queue` for non-urgent follow-ups. A send reported as `queued` is not a failure; do not resend it.

  • For a review or fix pipeline, spawn the follow-up with

`--environment <environment-id>` from `bb thread show <thread-id> --json` so it sees the same files.

  • To check whether a thread ever received a message, search

`bb thread log <thread-id> --all`, not the default page.

  • `status` is the run state, so an archived thread can read `idle`. Check

`thread.archivedAt` in `bb thread show <thread-id> --json` before treating a thread as live.

  • Before retrying a failed thread, read `bb thread show <thread-id> --json` and

`bb thread log <thread-id>`. Treat a thread the user stopped as intentionally stopped unless they ask you to continue.

Safety

  • Never move the server, abandon a move, or unlock an old copy without the

user's explicit confirmation in this conversation. Run `bb server move --to <machine> --check`, show them the checklist, and run it without `--check` only after they confirm. Never pass `--yes` for them.

  • Only the owner can change a machine's permission limit, in the app. Read it

with `bb machine show <id-or-name> --json` and ask the user to change it.

  • Keep secrets out of command arguments, logs, and transcripts.

`bb machine env set` reads its value from stdin, and enrollment bundles travel through a private file or environment variable. Machine and environment inputs are persisted and readable, so they never carry credentials. Do not print `serverHeaders`.

  • Install a registry skill or plugin by its ID. Never infer an install source
Read more
@get-bb
Ships withbb

bb is an agentic IDE that builds itself. It can control, customize, and automate itself, laying the groundwork for your own software factory. Every surface — the desktop app, web app, CLI, and HTTP API — is a first-class way to drive bb.

Stars on GitHub

Momentum

stars in total
5.7k
Star history of get-bb/bb on GitHub, a chart by star-history.com

Other skills on bb.

account-pool

account-pool

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

@get-bb@get-bbInstall Skill
agent-annotations

agent-annotations

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

@get-bb@get-bbInstall Skill
automations

automations

Schedule or manage recurring and one-shot BB agent or script automations.

@get-bb@get-bbInstall Skill
bb-account

bb-account

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

@get-bb@get-bbInstall Skill
bb-cloud-ai

bb-cloud-ai

Check, turn off, or troubleshoot bb cloud, the hosted service that writes thread titles and commit messages and transcribes voice…

@get-bb@get-bbInstall Skill
bb-plugin-authoring

bb-plugin-authoring

Create or change BB plugins and Plugin SDK extensions, including CLI commands, agent tools, providers, and UI surfaces.

@get-bb@get-bbInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about bb-cli.

Which coding agents can use bb-cli?
bb-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.