cross-host-rig-commands
Agent skill frommvschwarz/openrig
Use when addressing a registered remote OpenRig host, choosing its transport, or interpreting a cross-host result.
How to install cross-host-rig-commands
install cross-host-rig-commands
# install the openrig pack with the skills CLI
npx skills add mvschwarz/openrig# or add only this skill to Claude Code: copy the folder
skills/_canonical/core/cross-host-rig-commands/
# into
~/.claude/skills/cross-host-rig-commands/ (all projects)
.claude/skills/cross-host-rig-commands/ (one project)
1# Cross-host rig commands23Use a registered host address and the entry's declared transport. SSH entries4run a remote CLI through a single-hop shell; HTTP entries use the remote daemon.5These paths have different prerequisites and command coverage. Check the exact6command's help and the target installation before a consequential operation.78## Choose and inspect the destination910`rig host list` shows registered hosts. `rig host add --help` describes registry11writes; `rig host doctor --help` describes reachability checks. Inspect the12configured OpenRig home rather than assuming the default `~/.openrig/hosts.yaml`.13Registry changes affect later routing, so make them within the requested scope.1415```yaml16hosts:17 - id: test-vm18 transport: ssh19 target: test-vm.local20 user: example-user21 - id: remote-dev22 transport: http23 url: http://remote-dev.example:743324 bearer_env: REMOTE_RIG_TOKEN25```2627The registry requires a hosts array, unique non-empty ids and a supported28transport. SSH needs a non-empty target; user and notes are optional. HTTP needs29a URL and accepts at most one of bearer_env or bearer_file. Omitting both is30valid for a tokenless target. A configured but unavailable bearer is a permission31failure, not anonymous fallback. Host ids also have reserved-name validation;32use the actual validator's error rather than inventing an alias that collides.3334## Address the intended operation3536```bash37…
Excerpt shown under the repository's Apache-2.0 license.
