topology-mutation-and-seat-management
Was er macht
Dieser Skill behandelt das Ändern eines laufenden Agenten-Teams, etwa Seats hinzufügen, entfernen, neu starten oder eine Sitzung anhängen. Er richtet sich an Leute, die OpenRig betreiben und ein laufendes Setup ändern wollen.
Wann du ihn nutzt
- ✓Wenn du einem bereits laufenden Team weitere Agenten hinzufügen musst.
- ✓Wenn du einen nicht mehr benötigten Agenten-Seat aus einem laufenden Team entfernen musst.
- ✓Wenn du eine bestehende Terminal-Sitzung oder einen Agenten ohne Neustart an ein Team anbinden willst.
Link zum Skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Füge meinem laufenden Team zwei weitere Agenten hinzu, ohne das ganze Setup neu aufzubauen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent nutzt OpenRig-Befehle, um ein laufendes Team Schritt für Schritt zu ändern. Rollen, Verbindungen und Startangaben bleiben konsistent, damit die Änderung den Rest des Teams nicht bricht.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Topology Mutation and Seat Management
The ability to change a rig while it is alive: expand, shrink, launch, remove, discover, bind, adopt, and attach seats or sessions. Seat management includes the stable identifiers, edges, roles, and startup context that make those mutations coherent.
OpenRig should be easy to reach for. A user should be able to add capacity, retire capacity, adopt an existing session, or attach a terminal without rebuilding the whole topology. If mutation is rarely tested, users avoid it and the product collapses back into static launch scripts.
Use this when
- Adding seats to a running rig (
rig grow <rig-id> <member...>for the simple case, a fragment withrig expandorrig addotherwise; see below) - Removing capacity (
rig shrink/rig remove) - Launching/relaunching a node in a running rig (
rig launch) - Binding a discovered session into an existing logical node (
rig bind) - Adopting a topology + binding live sessions (
rig adopt) - Attaching a shell or agent into a rig node (
rig attach --self)
Adding seats: rig grow first, a fragment when you need more
rig grow <rig-id> <member...> adds one or more seats to a running rig without
writing YAML. Each seat gets the default agent spec and its default profile.
Check rig grow --help on your installed version; at the time of writing:
--pod <pod>: the target pod; inferred when the rig has one pod--new-pod <pod>: create a new pod for the seats (not together with--pod)--runtime <runtime>: one runtime for every named seat (defaultclaude-code)--cwd <path>: one working directory for every named seat (default: the current directory)--json: output for agents
Write a fragment instead when a seat needs something rig grow does not set: an
explicit model, a permission policy, a different agent spec or role profile, a
per-seat runtime or working directory, or startup files. Use
rig expand <rig-id> <pod-fragment-path> to add a pod, or
rig add <rig> <pod-namespace> <member-fragment-path> to add one member to an
existing pod (<rig> is the rig id or its exact unique name).
Don't use this when
- The rig is being created fresh from scratch — use
rig up(lifecycle, not mutation) - The intent is to scale specifically (add specialized capacity) — use
seat-scaling-and-specializationskill - The intent is occupant replacement on a stable seat — use
seat-continuity-and-handoverskill
Failure modes (4)
- A newly created seat lacks the queue, startup context, or role files it needs to operate. Topology mutation creates the seat, but the seat needs more than a tmux session to be useful.
- Edges and permissions are not updated when a seat is added or removed. Topology references go stale; later workflows route to nonexistent seats.
- Adopt/bind succeeds at the tmux/session layer but not at the OpenRig identity layer. The session is attached but
rig whoamidoesn't know about it; downstream consumers see partial state. - Shrink/remove leaves stale topology references that later workflows route into. Cleanup is part of the operation, not an afterthought.
Proof standard
Proof must cover mutation while a rig is active, not just in a clean test fixture. The useful matrix:
| Operation | What to verify |
|---|---|
| Add seat | New seat has queue, startup context, role; rig whoami resolves it |
| Remove seat | Stale references cleaned; edges/permissions updated |
| Adopt existing session | tmux session bound at OpenRig identity layer; rig whoami reports correctly |
| Attach observer terminal | External CLI attachment recorded |
| Verify topology projections after each move | rig ps --nodes reflects current truth, not pre-mutation cache |
A clean-fixture proof is necessary but not sufficient. Live-rig proof catches the failure modes that fixture-mode misses.
Stable roles during topology changes
Capacity changes must preserve useful roles, routing and durable work. Distinguish
adding or removing a seat from replacing its occupant; use
seat-continuity-and-handover for the latter.
Currently shipped surfaces
Per cli-reference.md v0.2.0:
rig grow <rig-id> <member...> [--pod <pod> | --new-pod <pod>] [--runtime <runtime>] [--cwd <path>](added after v0.2.0; checkrig grow --help)rig expand <rig-id> <pod-fragment-path>(with optionalsession_source)rig shrink <rigId> <podRef>rig launch <rig> <nodeRef>(the rig's
Häufige Fragen
Kann ich ein Team während des Laufs ändern?
Ja. Der Skill behandelt Befehle, die Teile eines laufenden Teams hinzufügen, entfernen oder neu starten.
Was ist, wenn ich versehentlich einen Agenten entferne?
Der Skill konzentriert sich darauf, Seats sauber zu entfernen, sodass keine alten Verweise zurückbleiben. Prüfe das Team nach jedem Entfernen.
Muss ich die Befehlsnamen kennen?
Nein. Dein Agent schlägt die Optionen für deine installierte Version nach und erklärt jeden Schritt.
Details
Originalbeschreibung des Autors
Use when changing a rig while it is alive — `rig grow` / `rig expand` / `rig shrink` / `rig launch` / `rig remove` / `rig discover` / `rig bind` / `rig adopt` / `rig attach`. Covers the 4 failure modes (newly created seat lacks queue/startup/role; edges and permissions not updated; adopt/bind succeeds at tmux but not OpenRig identity; shrink/remove leaves stale topology references) and the rule that mutation must work while the rig is active, not just in clean fixtures.
repo: mvschwarz/openrig
Beliebtheit
- GitHub-Sterne
- 8.6k
- Platz im Ranking
- #12414
- Lizenz
- Apache-2.0
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
agent-operated-software
8.6kHilft deinem Agenten, eine laufende App zu entwerfen, zu bauen oder zu debuggen, deren Live-Backend KI-Agenten enthält, etwa eine Steuerungsebene aus Markdown- oder JSON-Agenten.
agent-operated-workflows
8.6kHilft deinem Agenten zu entscheiden, ob ein klar begrenzter Ablauf von einem KI-Agenten oder von gewöhnlichem Code ausgeführt werden sollte, und wie er anhand geprüfter Belege fortgesetzt wird.
applying-a-permission-policy
8.6kHilft deinem Agenten, die Befehlsberechtigungen einzurichten, die ein KI-Coding-Agent beim Team-Setup nutzt, damit Routinebefehle mit weniger Freigabeabfragen laufen.
claude-compaction-restore
8.6kHilft einem Claude-Code-Agenten, nach einer Kontext-Kompaktierung sein Arbeitsbild wiederherzustellen, mit einer gespeicherten Wiederherstellungskarte, seinem Transkript und den berührten Dateien.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.