hub
Share one plans history across your machines through a self hosted hub that stores only ciphertext. Install it with ./install.sh --with hub, which writes HUB_URL and HUB_NETWORK and walks you through joining or starting a hub.
- License 许可
- MIT
- 所属仓库
- ryuudotgg/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- hub
- optional
- true
- description
- Share one plans history across your machines through a self hosted hub that stores only ciphertext. Install it with ./install.sh --with hub, which writes HUB_URL and HUB_NETWORK and walks you through joining or starting a hub.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml43 B
03 SKILL.md 正文
Hub
The hub carries plans events, revisions and leases between the operator's enrolled machines. It holds ciphertext, public keys and signatures, never a key, so everything an agent reads still comes from the local store, and every plans verb works offline as it always has. HUB_URL and HUB_NETWORK come from the environment first, then skills.conf. With no URL, no verb touches the network.
Verbs an agent runs
skills hub statusprints the hub, this device, the chain and the queues, orno hub configuredwith exit 1, ornot enrolled. Itsoffline:andfork detectedlines, and a last line startingthe hub holds other events under this device, are what to report when sync looks stale.skills hub syncpushes and pulls now, with a longer budget than the sync every write verb already runs. Exit 75 with aleftline is progress: run it again until it exits 0, and quote theleftline to the operator if it stops shrinking between runs. Aheld <n> blobsline waits on the operator to upgrade the hub, while a sync that names an event, blob or chunk too slow to send exits 1 and needs a rerun from a faster network: report either one and move on. Aquarantinedline waits on the operator: never pass--publish-quarantineyourself.skills hub deviceslists the enrolled and revoked devices.skills hub join <url> <invite>enrolls this machine with the lineskills hub inviteprinted on another one. Run it only with a line the operator gave you in this task.
Verbs that ask the operator
skills hub init, skills hub invite, skills hub revoke, skills hub recover, skills hub recovery rotate and plans lease break change who can read the vault or who holds a plan. They carry no allow rule. Never run one on your own initiative: name the command and what it changes, and let the operator run it. init and recovery rotate print a recovery code once, and that code is full vault authority, so never copy it into a reply, a file or a log.
Setting it up
./install.sh --with hub at a terminal asks whether to join an existing hub or start a new one, the network mode and the URL. Joining asks for the invite line and runs the join. Starting one prints the docker compose command for the mode, from the files in apps/hub/, and the skills hub init step that follows it. Without a terminal, --hub-url <url> and --hub-network public|tailscale|local write the two keys and print the enrollment step. ./install.sh --without hub removes both keys.
04 同仓库更多 Skills
unslop
Cut AI tells from any writing. Must always apply.
technical-writing
Write or review docs, RFCs, readmes, and PR descriptions against a layered standard: Diátaxis structure, Google developer style sentences, STE instruction rules, and Global English syntax.
tdd
Fix a bug by writing a regression test that fails first, when a cheap local test path exists.
show-me-your-work
Keep a reviewable decision trail for unattended work: a TSV log, one row per decision (project, plan, branch, evidence, result), local and uncommitted.
principle-type-system-discipline
Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.
principle-subtract-before-you-add
Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.