bb-cli
This skill enables the agent to control BB via the bb CLI, managing threads, environments, projects, machines, providers, skills, plugins, and settings.
Community author
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- MIT (permissive)
- Pin
- 7874889pinned Oct 9, 2026
- Context cost
- about 770 tokenswhen the skill loads
- GitHub stars
- 4,110on davidondrej/skills
- Scripts
- None found
What it does
“Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.”
Generated summary from the skill's own text
This skill enables the agent to control BB via the bb CLI, managing threads, environments, projects, machines, providers, skills, plugins, and settings. The agent inspects current context before executing commands and uses JSON output for automation while reading command references to find the exact syntax needed for each operation.
When to use it
- Inspecting or modifying BB state like threads, environments, or projects
- Creating or forking threads and selecting machines or providers
- Installing, configuring, or updating plugins and skills
- Troubleshooting thread failures or recovering from stopped operations
When not to
- Inspecting other threads without explicit user request
- Assuming state instead of querying actual status first
- Using symlinks as project or environment root directories
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add davidondrej/skills --skill bb-cliInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install davidondrej/skills bb-cli@7874889bd037d411f6079e38ee8601557c4a8995Installs the commit we checked (7874889).
Copy by hand
Download the folder at 7874889 and put it in .claude/skills/bb-cli for Claude Code and in .agents/skills/bb-cli for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "bb-cli" by davidondrej. Source, pinned to commit 7874889bd037d411f6079e38ee8601557c4a8995: https://github.com/davidondrej/skills/tree/7874889bd037d411f6079e38ee8601557c4a8995/skills/agent-orchestration/bb-cli 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/bb-cli/ for Claude Code and .agents/skills/bb-cli/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/davidondrej/bb-cli
SKILL.md at the pin
--- 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 Never inspect or message other threads unless the user explicitly requests that action. 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. - BB rejects symlinks as project/environment roots (`Root path ... must not be a symlink`). Use real directories. Before a rename or rollback, check every affected environment and thread; changing only project sources is not enough. ## 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.
From davidondrej/skills at 7874889, shown as plain text under its license: MIT (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 7874889Files
- SKILL.md3.3 KB · ce194029318b
- references/
- app-settings.md4.4 KB · 19eb32f7bb96
- command-index.md5.0 KB · 9c2a9ffd8f4e
- configuration.md3.7 KB · 4e88b9f2ae0c
- failure-recovery.md2.5 KB · 3068bec2a82f
- plugins.md14 KB · 6237879832f4
- theme-commands.md3.5 KB · e21f46d940c5
- theming.md12 KB · d4eb1f0395c4
- thread-creation.md11 KB · cadcd25aa3d1
- thread-operation.md11 KB · e92ab4c1ffc3
10 files, 69 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 7874889Related in AI and agents
agent-builder
Agent Builder orchestrates the creation, modification, testing, and publishing of n8n Agents.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.3K tokens · pinned 6 days ago
intent-recognition
Classifies automation requests by determining which primitive owns the top-level control flow (workflow, agent, needs clarification, or out-of-scope) and…
by n8nOfficial publisher
Claude Code, Codex, Cursor +4 · about 6.9K tokens · pinned 6 days ago
planned-task-runtime
This skill manages follow-up interactions with a background task execution system, handling task completion synthesis, failure replanning, workflow building…
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago
skill-creator
This skill guides agents through creating new skills that extend Gemini CLI with specialized knowledge, workflows, and tool integrations.
by GoogleOfficial publisher
Contains scripts
Gemini CLI · about 5K tokens · pinned 6 days ago
-21risk-automation
This skill automates 21risk operations by connecting to the 21risk toolkit through Composio's Rube MCP server.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
-2chat-automation
This skill automates 2chat tasks by integrating with Composio's 2chat toolkit through Rube MCP.
by ComposioOfficial publisher
Agents not labelled yet · about 680 tokens · pinned 6 days ago