Agent skill

Bb CLI

by davidondrej in davidondrej/skills

Use this when controlling bb. An agent skill from davidondrej/skills.

MITAuto-check passedAgent Workflows

Install Bb CLI

skills CLI
$ npx skills add davidondrej/skills --skill bb-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davidondrej/skills bb-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davidondrej/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/agent-orchestration/bb-cli .claude/skills/bb-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bb-cli
GitHub stars
4.1k
Token cost
~823 tokens
SKILL.md length
378 words
Files
10 (incl. references)
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Use this when controlling bb. An agent skill from davidondrej/skills.

  • Agent Workflows work in your project
  • SKILL.md covers Start with context, Read only the relevant reference, Command habits and Common checks, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Bb CLI is an agent skill from davidondrej/skills. Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `references/app-settings.md`, `references/command-index.md` and `references/configuration.md`).

It sits in Agent Workflows. The repository describes itself as: access to david ondrej's personal agent skills. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “/bb-cli”

What it can do on your machine

Read from SKILL.md and the folder at commit ea32e5f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bb CLI loads about 823 tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 378 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~823
With references · SKILL.md plus every file in references/, read only if the agent opens them
~17k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davidondrej/skills at commit ea32e5f, republished under its MIT licence (© davidondrej). 378 words, ~823 tokens.

Download SKILL.mdSave it as .claude/skills/bb-cli/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
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.
Show full SKILL.md (159 more words)Show less

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.

© davidondrej, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (references) in skills/agent-orchestration/bb-cli of davidondrej/skills.

  • SKILL.md
  • references/app-settings.md
  • references/command-index.md
  • references/configuration.md
  • references/failure-recovery.md
  • references/plugins.md
  • references/theme-commands.md
  • references/theming.md
  • references/thread-creation.md
  • references/thread-operation.md

Open the folder on GitHubat commit ea32e5f

Compare with similar skills

Bb CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bb CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bb CLI this skilldavidondrej/skills4.1k—~823Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k62 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official37k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k34 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 62 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    37k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 34 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    794 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from davidondrej/skills

All 51 skills in this repo
  • Nagent

    davidondrej/skills

    Launch a new bb worker thread with the right project, model, worktree, and task brief.

    4.1k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • Browser Harness

    davidondrej/skills

    Direct browser control via CDP. An agent skill from davidondrej/skills.

    4.1k GitHub starsUsed in 2 repos~3k tokens
    Auto-check passed
  • Persistent Localhost

    davidondrej/skills

    Manage persistent dev servers, APIs, and other local processes on a port using macOS LaunchAgents.

    4.1k GitHub stars~618 tokensUpdated yesterday
    Auto-check passed
  • Reset Cursor Acp

    davidondrej/skills

    Reset a stuck Cursor ACP thread in <chat-system and reload its configuration.

    4.1k GitHub stars~728 tokensUpdated yesterday
    Auto-check passed
  • Anti Sleep

    davidondrej/skills

    Keep a Mac awake for a set duration or while a process runs.

    4.1k GitHub stars~640 tokensUpdated yesterday
    Auto-check: warnings
  • Boat

    davidondrej/skills

    Manage Boat (boat.dev, formerly Box by Ascii) cloud sandboxes via API, CLI, and SSH.

    4.1k GitHub stars~2k tokensUpdated yesterday
    Auto-check: notes

Categories

Questions about Bb CLI

What does Bb CLI do?

Use this when controlling bb. An agent skill from davidondrej/skills. Bb CLI is an agent skill from davidondrej/skills. Use this when controlling bb.

When should I use Bb CLI?

Bb CLI fits situations like: agent Workflows work in your project.

How do I install Bb CLI in Claude Code?

Run `npx skills add davidondrej/skills --skill bb-cli -a claude-code`. Or copy the skill folder (skills/agent-orchestration/bb-cli in davidondrej/skills) into .claude/skills/bb-cli in your project. Claude Code loads it when a task matches its description.

How do I install Bb CLI in Codex?

Run `npx skills add davidondrej/skills --skill bb-cli -a codex`. Or copy the skill folder (skills/agent-orchestration/bb-cli in davidondrej/skills) into .agents/skills/bb-cli in your project. Codex loads it when a task matches its description.

Can I use Bb CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davidondrej/skills --skill bb-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bb-cli, .gemini/skills/bb-cli, .github/skills/bb-cli and .opencode/skills/bb-cli in your project.

What does Bb CLI need to run?

SKILL.md names no scripts, command-line tools or credentials: Bb CLI is instructions for the agent only.

Does Bb CLI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bb CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bb CLI use?

Bb CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bb CLI use?

About 823 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 16k tokens, read only when the agent opens those files.

What are the alternatives to Bb CLI?

Skills that share tags, products or a category with Bb CLI: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 37k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bb CLI?

davidondrej (a GitHub user) maintains it in davidondrej/skills, which has 4,105 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on October 6, 2026.

Source: davidondrej/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.