Skip to content
Skillpedia
Deploy & cloud (DevOps)8.6k Β· #12407

openrig-herdr

What it does

This skill shows how to open a group of OpenRig agents as live, interactive terminal tiles using herdr. It is for people who want to watch or work with several agents on one screen.

When to use it

  • βœ“When you want to see a rig, pod or mission as live agent terminals.
  • βœ“When you want to watch another rig read-only.
  • βœ“When you want your agent to open several views at once.

Skill link

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/openrig-herdr/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œOpen all my rigs and the current mission as herdr views so I can see every agent working.”

5 new skills a week. 1 minute to read.

How it works

It uses the rig terminal command to list views, check the provider, and open a view as a tiled wall of live sessions.

Technical content (original SKILL.md)

Original text by the author, straight from 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: and slice: 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

FAQ

Are the tiles snapshots?

No, each tile is a live connection to the agent's real session.

Can I change another rig's agents from a read-only view?

The skill says watching another rig is read-only.

What do I need installed?

The skill says to use the installed herdr program through the rig terminal command.

Details

Original description by the author

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

Popularity

GitHub stars
8.6k
Ranking position
#12407
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills