/beads-remote:beads-remotefrom beads-remote
Set up beads (bd) in a repo so its issues sync through a git remote on any host (GitLab, GitHub, Gitea, a bare repo on disk), or bring an existing remote's beads into a fresh clone. Use when the user wants beads shared across machines, a Box or a factory, asks to "sync beads", "add a beads remote", "bd init with a remote", or when bd sync/push fails on a repo that has no Dolt remote yet.
Ships in beads-remote. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Dolt stores beads in the repo's own git remote under refs/dolt/data (plus a __dolt_remote_info__
branch), so no extra server or account is needed: whoever can push the code can push the beads.
Run the script from anywhere inside the repo:
scripts/beads-remote.sh # the repo's origin, prefix = directory name
scripts/beads-remote.sh --prefix web # choose the prefix of a new database
scripts/beads-remote.sh --url [email protected]:org/repo.git
scripts/beads-remote.sh --cache-dir /var/tmp/cache/dolt-remote/web # repo on EFS/NFS
It does only what is missing, so it is safe to run again:
https://, http://, ssh:// and file:// get git+; git@host:path
becomes git+ssh://git@host/path; a path becomes git+file://..beads yet: if the remote already has refs/dolt/data, clones those beads (their prefix wins);
else bd init --stealth (beads files stay out of git via .git/info/exclude).--allow-git-origin, since sharing the code remote is the point) and sets
sync.remote. A remote of the same name pointing elsewhere is an error, never overwritten.--cache-dir, moves Dolt's git-remote-cache there (embedded databases only).refs/dolt/data exists on the remote.scripts/test.sh runs the whole round trip against a bare repo in a temp dir.
git ls-remote <url> work (SSH key, credential helper,
a URL rewrite such as a broker's insteadOf) makes the push work. Check that first..dolt makes pushes slow: use
--cache-dir on local disk, and recreate that directory at login if the disk is wiped on reboot
(a dangling cache symlink breaks every push).BEADS_DOLT_SHARED_SERVER=1) keeps the database outside .beads;
--cache-dir is skipped there.refs/dolt/data and the
__dolt_remote_info__ branch. Push rules that restrict branch names or refs block it.--stealth. To commit .beads/ config with the code, run
bd init yourself first; the script then only adds the remote.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub zach-source/claude-factory --plugin beads-remote