Auto tmux Operator
tradecatlabs/vibe-coding-cn
Operates tmux sessions like an administrator: reads pane output, sends keys, inspects many panes at once, and coordinates multiple AI terminals through a swarm state script, built on oh-my-tmux.
Walks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files.
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mvschwarz/openrig openrig-upgrade --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .claude/skills/openrig-upgrade && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .claude/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgradeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mvschwarz/openrig openrig-upgrade --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .agents/skills/openrig-upgrade && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .agents/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mvschwarz/openrig openrig-upgrade --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .cursor/skills/openrig-upgrade && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .cursor/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mvschwarz/openrig.git --path skills/_canonical/core/openrig-upgrade--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mvschwarz/openrig openrig-upgrade --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .gemini/skills/openrig-upgrade && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .gemini/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mvschwarz/openrig openrig-upgradeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .github/skills/openrig-upgrade && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .github/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mvschwarz/openrig --skill openrig-upgrade -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mvschwarz/openrig openrig-upgrade --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mvschwarz/openrig.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/_canonical/core/openrig-upgrade .opencode/skills/openrig-upgrade && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openrig-upgrade" agent skill from https://github.com/mvschwarz/openrig/tree/main/skills/_canonical/core/openrig-upgrade into .opencode/skills/openrig-upgrade/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openrig-upgrade", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openrig-upgradeWalks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files.
An OpenRig upgrade here is an agent-led sequence, not a single command; there is deliberately no end-to-end upgrade subcommand. For each step the agent inspects the live host, decides on one bounded change and states its expected effect, performs it once, observes the process, listener, database, plugin and seat surfaces it could have touched, then continues, adapts or stops. A failed expectation counts as information, not a reason for a blind retry.
The skill separates the planes involved: seats normally live in tmux and can outlast a daemon restart, while the daemon, database, wrappers and managed plugin projection are what changes. The rig down command tears seats down, so it is not part of an upgrade that must preserve continuity. Before acting you name the rigs and seats that matter, and when recovery crosses an instance boundary a single executor and queue store must be recorded. Helper scripts back up the SQLite database, inspect the upgrade, migrate telemetry state for 0.5.9 and refresh the managed plugin.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1f69831. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 4 files in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
OpenRig Upgrade Procedure loads about 2.9k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 1,384 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from mvschwarz/openrig at commit 1f69831, republished under its Apache-2.0 licence (© mvschwarz). 1,384 words, ~2,898 tokens.
.claude/skills/openrig-upgrade/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.An upgrade is an observed agent workflow, not a transaction hidden behind one command. Hosts differ, process state drifts, local plugin files accumulate, and the useful response to a failed step depends on what is still alive.
The agent owns the sequence. Stop after every mutation and observe the actual effect before choosing the next step. There is deliberately no end-to-end upgrade subcommand.
Keep these planes separate:
rig down tears down seats. It is not part of a continuity-preserving upgrade.Before acting, name the rigs and seats whose continuity matters. On a production host, use the host's normal operator ceremony. On a recovery-friendly build VM, the orchestrator may adopt a tested runtime directly, but still observes each step and stops on unexplained drift.
Before either lane changes runtime state, record one host-qualified executor and explicitly select the queue store that owns the recovery ruling. State whether the original owner continues, waits, or transfers; an open obligation in another store is not exclusive custody of this ruling. If the original store is down, retain its owner's disposition in the surviving ruling and communicate it to that owner before a competing executor acts.
A refused claim means reconcile ownership with the ruling owner before any further runtime action; it does not authorize continuing under a separate older row. A return names the full executor address and deliberately selected store. Read the resulting row there, including source, destination, body, and the original owner's disposition, before resuming. Receipt creation alone does not establish that a waiting lane received or accepted the transfer.
For every step:
Let SKILL_DIR be the directory containing this SKILL.md. These scripts emit
JSON and do not decide the upgrade sequence.
node "$SKILL_DIR/scripts/inspect-upgrade.mjs"This asks the installed rig for its version, daemon status, node inventory,
and plugin inventory. A missing surface remains visible with a suggested next
probe. ready: false means the agent must resolve or consciously bound the gap;
it does not mean the script should mutate anything.
Take continuity snapshots first:
rig snapshot <rig-id>
node "$SKILL_DIR/scripts/backup-sqlite.mjs" \
--source "$OPENRIG_HOME/openrig.sqlite" \
--destination "/safe/path/openrig-before-upgrade.sqlite"The helper refuses to overwrite a destination, uses SQLite's backup operation,
and verifies the backup with PRAGMA integrity_check. It does not stop the
daemon or restore a database.
Plugin trees may contain skills as well as hooks and metadata. Compare the last packaged ancestor, the target package, and the live installed tree:
node "$SKILL_DIR/scripts/refresh-managed-plugin.mjs" \
--ancestor /path/to/previous/package/plugin \
--target /path/to/target/package/plugin \
--live "$OPENRIG_HOME/plugins/<plugin>"Review the sorted decisions. To apply only refresh-safe and add-safe files:
node "$SKILL_DIR/scripts/refresh-managed-plugin.mjs" \
--ancestor /path/to/previous/package/plugin \
--target /path/to/target/package/plugin \
--live "$OPENRIG_HOME/plugins/<plugin>" \
--apply-safeThe helper never deletes a live file and never overwrites a local modification. Local deletions, live-only files, target removals, and ambiguous types are reported for the agent to resolve. Re-run the plan after any manual resolution.
Version 0.5.9 puts context-usage telemetry in
$OPENRIG_HOME/state/context-usage, provider telemetry in
state/provider-usage, the addressable library under context/, and the
default System World at context/system/system-world.yaml. Existing 0.5.8
homes cross that boundary through an Agent-Operated Migration: the target
runtime reads canonical-first with legacy-fallback while all new writes use the
canonical state roots. An explicitly configured custom context-library root
stays stable throughout activation.
The helper supplies bounded, inspectable operations. The agent owns their sequence and the target-runtime activation between them. With an exact protected preimage path, first inspect and then prepare canonical directories, the default System World, and a config pin to the existing library. Preparation does not copy telemetry, rewrite live collector settings, or run lifecycle actions:
--help prints the phase grammar without inventorying the instance. With no
phase flag the helper intentionally runs the read-only plan; unknown options
fail nonzero before plan or mutation.
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" --help
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" \
--home "$OPENRIG_HOME"
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" \
--home "$OPENRIG_HOME" \
--apply-state \
--preimage "$OPENRIG_HOME/backups/layout-0.5.9-before"Activate the exact target runtime using the ordinary upgrade workflow. Then wait until every bounded post-apply legacy tail is followed by newer paired new-root samples for that same seat. This proves temporal convergence without blanket process replacement; a later legacy write remains a hard stop. Capture the verification JSON; copied old sidecars are not evidence:
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" \
--home "$OPENRIG_HOME" \
--verify \
--preimage "$OPENRIG_HOME/backups/layout-0.5.9-before" \
> /safe/path/layout-0.5.9-verify.jsonOnly a successful receipt authorizes the separately invoked non-destructive finalizer. It copies an unconfigured legacy library into the canonical root without overwriting anything; a custom context-library root remains stable:
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" \
--home "$OPENRIG_HOME" \
--apply-library \
--preimage "$OPENRIG_HOME/backups/layout-0.5.9-before" \
--verification /safe/path/layout-0.5.9-verify.jsonStop on every reported issue: malformed or foreign telemetry, a reserved-path conflict, a library collision, config drift, resumed legacy writes, byte drift, or a missing fresh dual sample all require the named repair before continuing. Verification binds the exact accepted tail bytes to their paired-newer samples; the finalizer revalidates them immediately before switching config. The helper never removes the legacy telemetry or library. Their later retirement is a separate agent decision after stable runtime, writer, reader, and recovery proof. It does not stop/start the daemon, launch a seat, touch the database, or decide whether the upgrade proceeds.
To recover, restore the prior runtime as the agent-led workflow requires, then reverse only helper-owned config, System World, empty-directory, and copied library effects. Real state samples and both legacy recovery sources remain for inspection:
node "$SKILL_DIR/scripts/migrate-telemetry-state-0.5.9.mjs" \
--home "$OPENRIG_HOME" \
--rollback "$OPENRIG_HOME/backups/layout-0.5.9-before"This is a decision guide, not a command recipe. Adapt paths and checks to the host in front of you.
rig snapshot <rig-id> for each protected rig.rig daemon stop. Verify both the listener and the identified daemon
process are gone. If the command returns while either remains, stop: inspect
identity and use the host's authorized recovery procedure. Do not blindly
signal a PID.rig daemon start or the host's known wrapper. Verify
daemon status, process path, listener, version, and database integrity.rig ps --nodes -A --json, representative
rig capture, and rig restore-check where applicable. -A is required:
without it the node read is your CURRENT rig only, and a daemon upgrade
protects seats across every rig on the host — so the narrow form reports
success while seats outside your rig went unchecked.rig context get reference/whats-new.md,
and tell your user anything in it that changes how they work.rig down, destructive restore, credential changes,
or broader authority than the operator has.When stopping, report the last proven-good state, the first failed expectation, the exact evidence, and the smallest decision needed from the owner. Preserve live seats and the database unless recovery specifically requires otherwise.
Prefer starting the previous known runtime against the still-valid database. Restore the database backup only when a migration or corruption finding requires it; a degraded projection alone is not proof that the database should be replaced. After rollback, repeat the same process, listener, database, plugin, and seat observations used during the forward path.
© mvschwarz, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts) in skills/_canonical/core/openrig-upgrade of mvschwarz/openrig.
Open the folder on GitHubat commit 1f69831
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in mvschwarz/openrig, which our catalogue first saw on October 7, 2026.
OpenRig Upgrade Procedure next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| OpenRig Upgrade Procedure this skillmvschwarz/openrig | 5.9k | 1 repos | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Auto tmux Operatortradecatlabs/vibe-coding-cn | 17k | — | ~4.7k | Automated safety check: Pass | MIT | |
| Agent of Empires Session Manageragent-of-empires/agent-of-empires | 3.3k | — | ~2.5k | Automated safety check: Pass | MIT | |
| DB Ops SopOpenDCAI/DataMind | 423 | — | ~388 | Automated safety check: Pass | Apache-2.0 | |
| Oh My OpencodeLeoYeAI/openclaw-master-skills | 2.2k | — | ~5.1k | Automated safety check: Notes | MIT | |
| Huashu Agent Swarmalchaincyf/huashu-skills | 1.7k | 1 repos | ~576 | Automated safety check: Pass | MIT |
tradecatlabs/vibe-coding-cn
Operates tmux sessions like an administrator: reads pane output, sends keys, inspects many panes at once, and coordinates multiple AI terminals through a swarm state script, built on oh-my-tmux.
agent-of-empires/agent-of-empires
Launches, monitors and organizes AI coding agent sessions such as Claude Code or Codex inside tmux, tracking status, capturing output and managing git worktrees for parallel branches.
OpenDCAI/DataMind
Database operations runbook — backup, recovery, performance tuning, troubleshooting.
LeoYeAI/openclaw-master-skills
Multi-agent orchestration plugin for OpenCode. An agent skill from LeoYeAI/openclaw-master-skills.
alchaincyf/huashu-skills
多Agent蜂群并行协作,纯git自组织,适合大型项目开发。当用户提到"蜂群模式"、"多agent"、"并行开发"、"agent swarm"时使用。
agent-of-empires/agent-of-empires
Starts, monitors and organizes coding agent sessions that run in tmux through the aoe command, including groups, profiles and worktree-based parallel work.
mvschwarz/openrig
Re-grounds a long-running agent in the current product outcome by running a path-based trace to the root of its topology and work trees.
mvschwarz/openrig
Helps set up a continuing agent software team for a real repository with OpenRig, choosing between manual work, queue handoffs and an explicit Workflow.
mvschwarz/openrig
Loads one section of a Markdown file by its path#h2-slug address with a bundled resolver script, for use outside OpenRig's context library.
mvschwarz/openrig
Separates a stable agent seat's identity from its changing occupant, and records honest, two-part provenance whenever one occupant replaces another.
mvschwarz/openrig
A skill your agent uses when addressing a registered remote OpenRig host, choosing its transport, or interpreting a cross-host result.
mvschwarz/openrig
A skill your agent uses when opening OpenRig fleet terminals as a herdr wall — turning a rig, pod, mission, slice, or saved view into live interactive agent tiles via rig terminal, watching another…
Categories
Walks an agent through upgrading the OpenRig CLI and daemon one observed step at a time, keeping live seats alive and reconciling managed plugin files. An OpenRig upgrade here is an agent-led sequence, not a single command; there is deliberately no end-to-end upgrade subcommand. For each step the agent inspects the live host, decides on one bounded change and states its expected effect, performs it once, observes the process, listener, database, plugin and seat surfaces it could have touched, then continues, adapts or stops.
OpenRig Upgrade Procedure fits situations like: preparing an OpenRig CLI or daemon upgrade on a host with running agent seats; refreshing managed plugin and skill files without overwriting local edits; recovering from a half-finished upgrade where some processes are still alive.
Run `npx skills add mvschwarz/openrig --skill openrig-upgrade -a claude-code`. Or copy the skill folder (skills/_canonical/core/openrig-upgrade in mvschwarz/openrig) into .claude/skills/openrig-upgrade in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mvschwarz/openrig --skill openrig-upgrade -a codex`. Or copy the skill folder (skills/_canonical/core/openrig-upgrade in mvschwarz/openrig) into .agents/skills/openrig-upgrade in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mvschwarz/openrig --skill openrig-upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openrig-upgrade, .gemini/skills/openrig-upgrade, .github/skills/openrig-upgrade and .opencode/skills/openrig-upgrade in your project.
Going by SKILL.md and its folder, OpenRig Upgrade Procedure needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: An OpenRig installation with its CLI and daemon; tmux.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
OpenRig Upgrade Procedure is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with OpenRig Upgrade Procedure: Auto tmux Operator (tradecatlabs/vibe-coding-cn, 17k stars), Agent of Empires Session Manager (agent-of-empires/agent-of-empires, 3.3k stars), DB Ops Sop (OpenDCAI/DataMind, 423 stars) and Oh My Opencode (LeoYeAI/openclaw-master-skills, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mvschwarz (a GitHub user) maintains it in mvschwarz/openrig, which has 5,854 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 8, 2026.
Source: mvschwarz/openrig on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.