openrig-herdr
它能做什么
这个技能说明如何使用 herdr,把一组 OpenRig 智能体打开为实时、可交互的终端方块。适合希望在一个屏幕上观察或同时操作多个智能体的人。
适用场景
- ✓你想把 rig、pod 或任务视为实时智能体终端来查看的时候。
- ✓你想只读地观察另一个 rig 的时候。
- ✓你希望智能体同时打开多个视图的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我所有的 rig 和当前任务打开为 herdr 视图,让我看到每个智能体都在工作。”
每周 5 个新技能,1 分钟读完。
工作原理
它使用 rig 终端命令列出视图、检查提供者,并把某个视图以平铺墙的形式打开为一组实时会话。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
openrig-herdr
OpenRig decides which agents make up a view (a rig, a pod, a mission, a slice, or a saved
group); herdr renders the pixels. A view opens as live, interactive terminal tiles — each tile
is a nested tmux attach to a daemon-owned agent session, so you get the real session, not a
snapshot. OpenRig owns the semantics; herdr owns the surface. You drive it entirely through the
rig terminal CLI, which rides the installed herdr binary at arm's length — never link, embed, or
plugin it.
The whole surface — three verbs
rig terminal open <view> [--provider herdr|cmux|rex] [--json] # herdr is the default provider
rig terminal views [--json] # list openable views (saved + derived)
rig terminal status [--provider] [--json] # provider liveness / health
Inside Rex, rig terminal open <view> --window opens the view as a new Rex session instead, on the same Rex
server as your terminal, and asks the Rex app to show it. --provider rex opens it there from anywhere.
<view> resolves, in order, to one of:
- a rig name — every live agent in that rig, auto-laid-out;
pod:<rig>/<podNamespace>— every live agent in one pod of a rig (the rig's inventory filtered by pod);mission:<id>— the agents working that mission (derived live from topology);slice:<id>— the agents working that slice (derived live);- a saved-view name — a user-defined group (see Saved views).
Compose a view from a sentence
An agent asked "open all my rigs plus a mission as views" runs one open per target:
rig terminal open acme-web # a whole rig, live agents as tiles
rig terminal open mission:site-relaunch # exactly the agents working the mission
rig terminal open slice:search-filters # the agents working one slice
No hand-listing of seats: the mission/slice membership is derived from live topology at open time.
Read the result honestly — partial and degrade
The result is a partition — every seat lands in exactly one bucket, each named:
- opened — the live agents now showing as tiles.
- absent — seats in the view that aren't currently live: named and skipped, never silently dropped. A view that opens some of its seats is a success (the partial is disclosed) and exits 0. Only a view where no pane opens exits non-zero.
- degraded — an agent that structurally cannot tile, named with the reason. The v1 case:
an agent on a host registered over HTTP has no ssh path, so its tile can't be composed — it reads
as "host
<id>is http-registered; tiles need ssh" and is skipped, never dropped. (ssh-reachable hosts tile via an ssh-wrapped attach; full http-host tiling is deferred to the cross-host transport seam.)
Read --json to branch on the partition programmatically; the exit code alone tells you opened-something
(0) vs opened-nothing (non-zero).
Read-only — who's interactive, who's watch-only
Read-only is composed into the pane at open time — a read-only tile is a tmux attach -r, the client
reports readonly=1, and it physically cannot send input. The current policy, by view kind:
- A rig view or a
pod:view is interactive — you asked for that rig (or pod) directly, so you can drive its agents. mission:andslice:views are read-only by construction — these derived views cut across rigs; you watch and scroll, you don't keystroke into them.- A saved view is per-member — each member carries its own
readOnly(omit = interactive;true=attach -r).
So you don't have to remember to be careful: the view kind (and, for a saved view, the per-member flag) sets it at open time.
Safety rails (hard — the fleet-safety rail)
- A tile is a view (a nested
tmux attach) of a daemon-owned session. Never move, join, kill, or re-parent a daemon-owned pane. Closing a tile detaches one tmux client — the daemon's session is untouched and its addressing (send/capture/nudge) is unaffected. - Host-local read-only viewing mutates nothing. Anything that would change a live daemon session's shared state (e.g. flipping a tmux option on a running seat) is a config/design change — prove it in an isolated environment, never live-flip in production.
Scroll + copy work out of the box
On a freshly-launched agent tile the mouse wheel scrolls the pane's history and a drag-select copies to
常见问题
这些方块是快照吗?
不是。每个方块都实时连接到智能体的真实会话。
在只读视图中能修改另一个 rig 的智能体吗?
技能说明,观察另一个 rig 是只读的。
需要安装什么?
技能说明应通过 rig 终端命令使用已安装的 herdr 程序。
详情
作者的原始描述
Use 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 rig read-only, or driving herdr on an agent's request ("open all my rigs + a mission as views"). Covers the `rig terminal open|views|status` verbs, the honest-partial/degrade reading of the result, the read-only-by-construction rail for cross-rig views, scroll/copy out of the box, and the same-size-only duplicate-pane limit. herdr is the default, proof-gated provider.
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12407
- 许可证
- 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 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。