Repository navigation
Sync declared skills into bb user skills - #57
Merged
Merged
Conversation
bb injects user skills from the server's data directory into every provider thread on every machine, so one sync on the bb server replaces per-machine installs for bb threads. The sync reads the same ai/skillset.json, fetches public and private repositories with git, and only replaces or prunes skills it created, so a failed fetch or a hand-installed skill is never clobbered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Skills install per machine today, so every bb machine needs
install-skills.pyand drifts whenever its dotfiles checkout falls behind (the Mac Mini was four commits behind and still installedimprove-animations). bb already distributes user skills from the server's data directory to threads on every machine, so a single sync on the server can replace those installs for bb threads.sync-bb-skills.pyfills that directory fromai/skillset.json: public and private repositories over git (private ones through the server'sghcredentials), GitHub tree URLs, marketplace plugin skills, and the Interface Craft installer. It rewrites only changed skills, never replaces a skill it did not create, and skips pruning for any source that fails to fetch.sync-bb-skills.shis the entry point for a bb script automation on the server; it runs the sync from a clean checkout ofmain, so manifest changes apply on the next run.🤖 Generated with Claude Code