agentsclimarketplace

Openrig installer

Skill mvschwarz/openrig/packages/daemon/specs/agents/shared/skills/core/openrig-installer

Use when installing or upgrading OpenRig on a host, especially the V0.3.1 upgrade flow which includes the substrate-kernel → daemon-managed-kernel migration ceremony. Covers npm install, rig setup, rig daemon start (auto-boots kernel), and the canonical verification commands. NOT for ordinary kernel operation post-install — use openrig-operator skill for that.From its SKILL.md

Install
npx -y skills add mvschwarz/openrig --skill openrig-installer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • runs commandsInstructs the agent to run 8 commands, including `npm install -g @openrig/cli` and 7 more.

SKILL.md

5.3 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

OpenRig Installer

This skill teaches the operator agent how to install + upgrade OpenRig cleanly. The V0.3.1 upgrade is the one with the migration ceremony (substrate kernel → daemon-managed kernel); other upgrades follow the same install / setup / start shape with no migration.

Fresh install

npm install -g @openrig/cli
rig setup

rig setup is idempotent — safe to re-run if a step fails. It probes host prereqs (tmux present, Node version, writable state path, optional cmux), then invokes rig daemon start per the L2 factoring (OQ-B). The daemon's start path auto-boots the kernel rig per the V0.3.1 slice 05 kernel-rig-as-default logic.

Verification after install

rig ps --nodes --rig kernel --json

Should report 4 members (advisor.lead + operator.agent + operator.human + queue.worker) all ready. If a runtime is unavailable the daemon picks the matching variant (rig-claude-only.yaml or rig-codex-only.yaml); the topology stays the same shape with the unavailable runtime omitted from the agent membership.

Entry point for chatting with the rig:

rig capture advisor-lead@kernel

Or click the CMUX button on the topology graph in the UI at /topology.

V0.3.1 upgrade ceremony (one-time migration)

Operators with a kernel spec stored outside the daemon-managed location (any pre-V0.3.1 layout, typically wherever you kept your own rigs/kernel/ directory) must migrate to ~/.openrig/specs/rigs/kernel/ as a one-time step during the V0.3.1 upgrade. The V0.3.1 upgrade IS the migration moment; it's not a separate ceremony.

Migration steps

  1. Snapshot first. Take a snapshot of the running substrate kernel so the migration is reversible:

    rig snapshot kernel
    
  2. Stop the substrate kernel (so the migration doesn't race a running rig):

    rig down kernel --snapshot
    
  3. Copy your existing kernel spec into the daemon-managed location:

    mkdir -p ~/.openrig/specs/rigs/kernel
    cp -r /path/to/old/kernel-spec/* ~/.openrig/specs/rigs/kernel/
    
  4. Upgrade the CLI + daemon:

    npm install -g @openrig/[email protected]
    rig daemon stop
    rig daemon start
    

    At this point the new daemon detects ~/.openrig/specs/rigs/kernel.yaml exists and skips the V0.3.1 builtin-kernel boot (the already-managed-rig branch). The substrate-rooted topology continues to run under daemon management.

  5. Verify the migrated kernel matches expectations:

    rig ps --nodes --rig kernel --json
    
  6. Decommission the old copy (only after verifying the daemon-managed copy works):

    rm -rf /path/to/old/kernel-spec
    

If migration fails

The pre-step snapshot is the rollback. rig restore <snapshot-id> --rig kernel revives the prior topology. Then npm install -g @openrig/[email protected] rolls the CLI back and you can retry later.

Operator agent's role in install + upgrade

The operator agent shepherds operators through these steps when the user asks "how do I upgrade?" or "what's the V0.3.1 ceremony?". The agent reads this skill on demand via find-skills — it does not need to memorize the steps; it consults the canonical reference (this file) and walks the operator through.

3-part error remediation

What failedWhy it mattersFix
npm install -g @openrig/cli permission deniedGlobal install needs writable npm prefix; macOS Homebrew default is usually writable; some custom Node installs aren'tEither fix the npm prefix permissions or use sudo npm install -g; check npm config get prefix
rig setup host prereq failtmux, Node version, or writable state path missingrig doctor lists each missing piece + the install command; run those, retry rig setup
rig daemon start auth-block errorNeither Claude Code nor Codex authenticated; kernel rig requires at least oneRun claude auth login OR codex login; then retry rig daemon start
rig daemon start "kernel already managed"An existing managed rig named kernel exists; the daemon skips builtin-boot per designThis is the expected path after migration — no action needed
rig ps --rig kernel --json returns emptyDaemon healthy but no kernel rig managed; likely the migration step copied content but did not bootrig up kernel from inside ~/.openrig/specs/rigs/kernel/; or invoke the daemon's cold-boot path explicitly

What this skill is NOT

  • Not the canonical OpenRig command surface; that lives in the openrig-user skill.
  • Not the kernel-operating-procedure for post-install daily use; that's openrig-operator.
  • Not for project rigs; project rigs install themselves via rig up <spec> after the kernel is in place.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.