openrig-cmux
它能做什么
这个技能说明如何在 cmux 中,把一组 OpenRig 智能体打开为实时终端方块。适合希望在一个屏幕上观察或操作多个智能体的人。
适用场景
- ✓你想在 cmux 中以实时方块显示 OpenRig 智能体的时候。
- ✓你想在 cmux 中打开某个 rig、pod、任务或已保存视图的时候。
- ✓你需要从 OpenRig 检查 cmux 运行状况的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/openrig-cmux/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的支付 rig 打开为 cmux 墙,让我一次看到它所有的智能体。”
每周 5 个新技能,1 分钟读完。
工作原理
它使用 rig 终端命令并指定 cmux 提供者,由 OpenRig 决定显示哪些智能体,再由 cmux 绘制这些方块。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
openrig-cmux
cmux is a provider for OpenRig views — the same rig terminal surface as herdr, rendering the
tiles into cmux instead. It is the provider OpenRig already shipped (the existing "Launch in cmux"
affordance generalizes onto rig terminal <provider>), kept working. The OpenRig-semantic half is
identical to openrig-herdr: OpenRig decides which agents form a view; the provider renders the
pixels. Read openrig-herdr first for the full model — this skill only calls out what differs for
cmux.
Provider status — cmux is best-effort
- herdr is the default and the proof-gated provider; cmux is best-effort — it ships on the
same
rig terminal <provider>+ web-launcher neighborhood, but a cmux miss is not a slice failure. Reach for cmux when it is specifically wanted; otherwise default to herdr (rig terminal open <view>with no--provider). - Views are provider-agnostic: the same view + the same agents + the same semantics carry across herdr and cmux. A saved view opens in either.
The surface (same three verbs, --provider cmux)
rig terminal open <view> --provider cmux [--json] # open a view into cmux (herdr is the no-flag default)
rig terminal views [--json] # the same view library, provider-agnostic
rig terminal status --provider cmux [--json] # cmux liveness / health
<view> resolves exactly as with herdr: a rig name · pod:<rig>/<podNamespace> ·
mission:<id> · slice:<id> (derived live) · a saved-view name.
What carries over unchanged from openrig-herdr
All of these behave identically — see openrig-herdr for the detail:
- Honest-partial / honest-degrade — opened / absent / degraded, each named; partial opens exit 0,
zero-pane exits non-zero; an http-registered host's agents degrade with the reason ("host
<id>is http-registered; tiles need ssh"), never silently dropped. - Read-only policy — a rig or
pod:view is interactive;mission:/slice:views are read-only by construction; a saved view is per-member (readOnly). A read-only pane istmux attach -r(clientreadonly=1, keystrokes physically cannot reach the agent). See openrig-herdr. - Safety rails (the fleet-safety rail) — a tile is a view (nested
tmux attach) of a daemon-owned session; never move/join/kill/re-parent a daemon-owned pane; closing a tile detaches one client and leaves the session untouched; never live-flip tmux options on a running seat in production (prove it in an isolated environment first). - Scroll + copy out of the box — the daemon's terminal defaults (per-session scroll at launch + the server's clipboard defaults); running seats pick up wheel-scroll at their next relaunch.
- Limits — tile chrome v1 = a plain label; same-size panes for duplicate/multi-view membership (the different-size resize mismatch is an inherent tmux multi-client limit, documented not fixed).
cmux-specific notes
- Open-or-focus per agent — cmux's shipped integration opens a node or focuses it if already open; expect focus (not a duplicate) when a seat is already tiled in cmux.
- The shipped "Launch in cmux" affordance is preserved (byte-compatible) and generalizes into the provider + view picker; opening cmux from the web launcher still works.
- No AGPL arm's-length concern — unlike herdr, cmux is OpenRig's shipped provider integration; the clean-room/never-embed rail that applies to herdr is not a cmux constraint. (This skill itself is still authored clean-room.)
Saved views — provider-agnostic
Saved views are hand-authored in terminal-views.yaml (v1 has no save/write verb) and are
provider-agnostic — see openrig-herdr for the exact schema, the store facts (atomic tmp+rename,
byte-stable, at the OpenRig home root), and the derived-views-never-persisted rule. Reopen any saved
view in cmux with rig terminal open <id> --provider cmux. Derived views (a rig, pod:<rig>/<pod>,
mission:<id>, slice:<id>) are computed live and never written to the file.
常见问题
cmux 是默认选项吗?
不是。默认是 herdr,cmux 是你需要时可选的尽力而为方案。
两种方式都能使用这些视图吗?
可以。已保存的视图可以在 herdr 或 cmux 中打开,显示的是相同的智能体。
如果 cmux 出错会怎样?
技能说明,cmux 的失败不会被视为工作本身的失败。
详情
作者的原始描述
Use when opening OpenRig fleet terminals into cmux — turning a rig, pod, mission, slice, or saved view into live agent tiles via `rig terminal --provider cmux`, or driving cmux on an agent's request. Same OpenRig view semantics as openrig-herdr (the verbs, honest-partial/degrade, read-only cross-rig, scroll/copy, same-size-only duplicates); cmux is the **best-effort** provider (herdr is the default and the proof-gated one). Prefer openrig-herdr unless cmux is specifically wanted.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12406
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。