Repository navigation
Description
The workflow
- A user updates the
bbCLI or connects an agent running on another machine. - The agent reads
bbusage guidelines from its installed global skills. - The agent needs accurate, up-to-date CLI commands, flags, and workflows for the currently installed
bbversion.
What happens today
Today, bb copies static skill trees directly to local directories:
bb skill install-cli-skillscopies directories into~/.agents/skillsand~/.claude/skillson each machine (code permalink).- The server tracks skill tree directory hashes and flags machines as
missing,installed, oroutdated(code permalink). - The host daemon extracts and synchronizes full file trees across hosts (code permalink).
When the bb CLI updates without re-running bb skill install-cli-skills, the files on disk drift out of sync. Agents read stale references, invoke deprecated flags, and fail tasks.
What you would expect
Adopt the pattern used by agent-browser:
-
A single static entrypoint skill stub:
Install only one discovery stub into agent skill directories (e.g.,~/.agents/skills/bb/SKILL.md). This file never needs updates between releases. -
Dynamic CLI-served skills:
The stub instructs the agent to fetch documentation dynamically from the CLI:bb skills list # list available skill topics bb skills get core # load core workflow and conventions bb skills get threads # load thread management instructions bb skills get plugins # load plugin development workflows
-
Guaranteed version alignment:
Thebbbinary embeds and prints the exact skill definitions for its current version. Updating the CLI automatically updates all instructions without touching agent skill directories. -
Lower context footprint:
Agents load only the specific sub-skill topics they need on demand.
Context and alternatives
- Current workaround: Users must remember to run
bb skill install-cli-skillsacross every enrolled machine after each update. - Precedent:
bb guide [chapter]already renders compiled templates directly from the CLI binary (code permalink). Aligningbb skillwith this architecture removes cross-machine sync machinery and prevents version drift entirely. - Reference: See
agent-browser/skills/agent-browser/SKILL.md. - Origin thread:
thr_yacwqkyeer
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 3, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotClassification: Feature · Priority: Medium · Effort: High
Labels:
cli,hostNo pull request: the issue requests new behavior, so this rule skips report and fix work.
adamkrawczyk commentedon Sep 22, 2026
Saw your note on bb's skill install flow copying static trees into ~/.agents/skills and ~/.claude/skills per machine. Noticed bb also carries both CLAUDE.md and AGENTS.md — could be a candidate for one cross-agent config source instead of maintaining both by hand.
I work on LoopSkill (app.loopskill.io), a federated skill/agent-config registry — versioned pulls instead of copy-on-install, so an agent always resolves the current bb version's skill tree rather than a stale local copy. Not pitching a migration, just curious whether that install-time staleness problem (point 3 in your workflow) is something you've hit in practice. Happy to send a quick diff sketch if useful.