Ryuu's Skills
Hub

Hub

What the hub is, what it carries between your machines, and why everything keeps working without it.

The hub lets your machines share one plans history. It is a small server you run yourself, from apps/hub in this repository, and it stores what your machines send it encrypted, so whoever runs its host, reads its disks or holds its backups learns neither your plans nor your project names. Every enrolled machine sees the others' events, plan and ctx revisions, project files, leases and, under each project's session policy, session transcripts, each applied to its own store as if it had happened there.

It Is Opt In

The hub ships as the optional hub extension. ./install.sh --with hub installs it and writes two keys to skills.conf, HUB_URL and HUB_NETWORK, described under Configuration. Without HUB_URL, nothing syncs. The only verbs that reach a hub then are skills hub init and skills hub recover, which take its URL as an argument.

Everything Keeps Working Offline

Nothing local depends on the hub. Every plans verb works without one, and offline with one, exactly as it does on a single machine. After each verb that writes, and at session start, the CLI runs a sync with a 2 second budget. skills plans frontier, skills plans lint and skills recall only record a plan or ctx file that changed on disk while they read it, and leave that for the next sync. A sync that fails or runs out of time leaves its work for the next one and never changes a verb's exit code. Only the hub verbs say why the hub was not reached: skills hub status prints one offline: <reason> line, and skills hub sync prints hub sync: <reason> and exits 1. A skills hub sync that runs out of time with work still queued prints a left line counting what remains to push and to pull and exits 75; run it again until it exits 0.

What needs the hub says so when it cannot reach it. skills plans pin refuses with hub offline, skills plans move --to cannot upload, and the hub verbs that change trust stop. skills plans start still starts the plan and records a provisional lease. A fork detected line stops syncing until you act, as Security explains.

Project Files

Sync carries every regular file under a project folder of the plans directory, at any depth, with its executable bit. It leaves out its own temporary files; the plan and ctx files, which travel as revisions of the store; each project's index.tsv; and any path that matches one of the seven default patterns: plans.db, plans.db-*, *.lock, .revisions-spool/, .resume-*, .DS_Store and _archive/.

To keep more out, write a .plansignore at the root of the plans directory or at the top of a project folder. It takes gitignore patterns, ! included, read relative to the folder it sits in. The defaults apply first, then the plans directory's file, then the project's, and the last pattern that matches a path decides. As in git, a ! pattern cannot bring back a file inside a folder that is left out. A .plansignore filters only what this machine sends, never what it lands from another machine, and it is never synced itself, so each machine keeps its own. Sync carries no deletions, so a pattern added later stops sending the file's next changes but takes no copy back from the hub or from the other machines.

Sync never follows a symlink and never sends a file over 128 MiB. skills hub sync prints a line for each one it passes, skipped symlink <path> or skipped <path>, larger than 128 MiB.

A pulled file never overwrites a local edit to its contents. When both machines changed what a file holds, sync keeps the local one and prints conflict <path>, kept the local file. The conflict stays open until sync sends a newer local version, or until you delete the local file, which lets the next sync land the pulled copy.

The Dashboard Stays Local

The hub serves no web page, and no browser ever talks to it. skills dash reads the store on this machine, and other machines' data reaches that store only through the CLI's sync. Why it only runs here explains why there is no hosted dashboard.

The Commands

skills hub init <url> [--code <code>] [--label <label>]
skills hub invite [--label <label>] [--for <hours>h|<days>d] [--no-wait]
skills hub join <url> <invite>
skills hub devices
skills hub revoke <device id or label>
skills hub recover <url> [--label <label>]
skills hub recovery rotate
skills hub sync [--publish-quarantine]
skills hub status

An agent runs status, sync, devices, and join with a line you gave it. init, invite, revoke, recover and recovery rotate change who can read your plans, so they carry no allow rule and only you run them. The same goes for skills plans lease break, which takes a plan from another machine.

skills hub status is the first thing to run when a sync looks stale:

$ skills hub status
hub https://skills-hub.example.ts.net (tailscale)
tailnet example.ts.net
device Studio Mac eacbe61fd4e82e5130cb97cd643c47c7
devices 3
epoch 1
chain 2 entries
head a664424fff4f85c46a66da6fb12eda37b35858bb54a0eb02694d3cdaa473edd6
incarnation e8c1da62994016bfbe6920911bb628d6
queue 0
quarantined 0
fetching 0
history 0
conflicts 0
leases 0
transcripts: 0 chunks pending, 0 withheld
last sync 2026-11-12T15:51:40.098Z

devices counts the recovery identity as one. queue is the events and files waiting to be pushed, fetching the files pulled events name that have not landed yet, history what a reconciliation still has to send back to a restored hub, and conflicts the files kept because both machines changed them. Each one has its own line under the count until it is dealt with: conflict <path>, run skills plans show --conflict <Project> <id> for a plan or ctx file, readable with skills plans show --conflict, and conflict <path>, kept the local file for any other project file. With no HUB_URL it prints no hub configured and exits 1, and on a store that has not joined it prints not enrolled. Once sync has stopped on a store restored or copied from another machine, it ends with the sentence sync stopped on, without the hub sync: prefix, unless another problem line takes its place.

In This Section

  • Setting Up: join a hub from a new machine, or start one.
  • Network Modes: public, tailscale and local, and what each requires of the URL.
  • Security: what the hub can see, what it cannot do, and what is not defended.
  • Recovery: the recovery code, a lost machine, a restored hub and backups.
  • Leases: how one plan runs on one machine at a time.

On this page