cross-host-rig-commands

cross-host-rig-commands is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 28 tokens per session (1,379 once invoked), scanned A, original, Apache-2.0.

A guide for running OpenRig commands on another computer through a single SSH connection. OpenRig is a system for managing groups of coding agents and their sessions.

In plain words
What is it for?
Use it to inspect remote agents, send or capture remote sessions, operate another host, and define remote hosts in the OpenRig registry.
Why use it?
It makes remote agent operations explicit and helps identify whether failures come from the connection, permissions, remote service, or command.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect remote agents, send or capture remote sessions, operate another host, and define remote hosts in the OpenRig registry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/cross-host-rig-commands
About the project

OpenRig is a software harness that coordinates Claude Code and Codex coding agents as one system, with agent teams defined in YAML and launched together. It is for organizing persistent teams of coding agents that can delegate work to specialists and return results or decisions. The catalogue lists 53 skills and one plugin as add-ons for OpenRig.

mvschwarz/openrig · 9,013 stars · on GitHub · openrig.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvschwarz/openrig --skill cross-host-rig-commands
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cross-host-rig-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/cross-host-rig-commands/github.svg)](https://agentmods.dev/skills/mvschwarz/openrig/cross-host-rig-commands)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/cross-host-rig-commands"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/cross-host-rig-commands/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cross-host-rig-commands

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvschwarz/openrig/cross-host-rig-commands"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/cross-host-rig-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 62
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01379
Opus 5.5 $0.00011 $0.00552
Sonnet 5.5 $0.00006 $0.00276
Haiku 4.5 $0.00003 $0.00138

Measured yesterday against content hash 2d6ff1521091, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cross-host-rig-commands scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/daemon/specs/agents/shared/skills/core/cross-host-rig-commands/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cross-host rig commands

Use a registered host address and the entry's declared transport. SSH entries run a remote CLI through a single-hop shell; HTTP entries use the remote daemon. These paths have different prerequisites and command coverage. Check the exact command's help and the target installation before a consequential operation.

Choose and inspect the destination

rig host list shows registered hosts. rig host add --help describes registry writes; rig host doctor --help describes reachability checks. Inspect the configured OpenRig home rather than assuming the default ~/.openrig/hosts.yaml. Registry changes affect later routing, so make them within the requested scope.

hosts:
  - id: test-vm
    transport: ssh
    target: test-vm.local
    user: example-user
  - id: remote-dev
    transport: http
    url: http://remote-dev.example:7433
    bearer_env: REMOTE_RIG_TOKEN

The registry requires a hosts array, unique non-empty ids and a supported transport. SSH needs a non-empty target; user and notes are optional. HTTP needs a URL and accepts at most one of bearer_env or bearer_file. Omitting both is valid for a tokenless target. A configured but unavailable bearer is a permission failure, not anonymous fallback. The default scoped launch filters the bearer variables named by a readable, parseable hosts.yaml from inherited values. If the registry can't be read or parsed, its bearer variables aren't excluded by this filter. With terminal.inherit_tmux_environment on, OpenRig skips the scoped environment, so credential variables already in tmux's environment can reach a seat. For a seat that runs cross-host rig commands, point that host's entry at a bearer_file readable by the process sending the command. Don't put the token itself in the seat's env:: spec values travel with exports and bundles. Host ids also have reserved-name validation; use the actual validator's error rather than inventing an alias that collides.

Address the intended operation

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +8 lines 2d6ff1521091
  2. 22d ago Changed · +7 lines da0a31fa551a
  3. 1mo ago Changed · +1 lines 79ee21fa7da1
  4. 2mo ago Changed · -64 lines · -85 tokens per session 844a578d0f51
  5. 3mo ago First seen · 189 lines · 113 tokens per session scan A c3c12955d400

Subscribe to this mod's changes

cross-host-rig-commands is a skill published in the GitHub repository mvschwarz/openrig (9,013 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 1,379 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cross-host-rig-commands compared with skills from other repositories

cross-host-rig-commands next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cross-host-rig-commandsmvschwarz/openrigSkill9.0ktodayApache-2.0A28Claude Code, Codex
metisWholiver/metisSkill4431mo agoMITA35Claude Code, Codex
metis-browserWholiver/metisSkill4431mo agoMITA82Claude Code, Codex
dynamic-resourcesWholiver/metisSkill4431mo agoMITA11Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
verifyHmbown/CodeWhaleSkill41kyesterdayMITA25Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code