Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.
Scanned 8/31/2026
Install to Claude Code
npx -y skills add get-bb/bb --skill bb-cli --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Bb Cli?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/get-bb-bb-cli)More formats (shields.io, HTML) on the badges page.
---
name: bb-cli
description: Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.
---
# BB CLI
Use bb for BB state and actions. Inspect the current context before you choose
IDs, machines, workspaces, providers, or models.
## Start with context
```sh
bb status --json
```
Use JSON when command output controls later work. Use human output for quick
inspection.
Run `bb --version` for the CLI version. Use `bb --help` or `bb help [command]`
for help. Run bb guide for the system overview. Run bb guide <chapter> for one
area. Use bb <group> --help for current flags and defaults.
A standalone CLI targets http://127.0.0.1:38886. Use BB_SERVER_URL and
BB_HOST_DAEMON_PORT only for an intentional non-default target.
## Read only the relevant reference
- Read references/command-index.md to find the exact core command path. Use
live help for current flags and defaults.
- Read references/configuration.md for settings, agent instructions, skills,
remote clients, and environment setup scripts.
- Read references/thread-creation.md before you spawn or fork threads, create
projects, select machines, or create environments.
- Read references/thread-operation.md for messages, queues, interactions,
panes, terminals, inspection, and long-running commands.
- Read references/failure-recovery.md when a thread fails, stops, or needs plan
or goal recovery.
- Read references/theme-commands.md for palette and favicon commands. Read
references/theming.md before you create or edit theme CSS.
- Read references/plugins.md for plugin discovery, install, build, update,
configuration, runtime, and contributed commands.
- Read references/app-settings.md for complete app setting keys and effects.
## Command habits
- Resolve names and IDs with a list or show command before mutation.
- Pass an explicit project when a command can act across projects.
- Pass an environment or machine selector when the default host is uncertain.
- Query provider models on the machine that will run the thread.
- Prefer non-interactive commands and machine-readable output for automation.
- Pass `--yes` for a confirmed destructive command in a non-interactive shell.
- Treat plugin commands as normal top-level commands after installation.
- Inspect real status, logs, API results, or diffs instead of assumptions.
- Keep file paths on the machine that owns the selected workspace.
## Common checks
```sh
bb project list --json
bb machine list --json
bb provider list --environment "$BB_ENVIRONMENT_ID" --json
bb thread show "$BB_THREAD_ID" --json
bb environment status "$BB_ENVIRONMENT_ID" --json
bb plugin list --json
bb skill list --environment "$BB_ENVIRONMENT_ID" --json
```
## Completion
Confirm the command result and any affected thread, environment, plugin, or
remote service. Report the stable ID or URL that the user needs next.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!