Tooluck logoTooluck
SKILL.md

topology-mutation-and-seat-management

Agent skill frommvschwarz/openrig

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.

How to install topology-mutation-and-seat-management

install topology-mutation-and-seat-management
# install the openrig pack with the skills CLI
npx skills add mvschwarz/openrig

# or add only this skill to Claude Code: copy the folder

skills/_canonical/core/topology-mutation-and-seat-management/

# into

~/.claude/skills/topology-mutation-and-seat-management/ (all projects)

.claude/skills/topology-mutation-and-seat-management/ (one project)

skills/_canonical/core/topology-mutation-and-seat-management/SKILL.md

Apache-2.0Full file
1# Topology Mutation and Seat Management
2
3The ability to change a rig **while it is alive**: expand, shrink,
4launch, remove, discover, bind, adopt, and attach seats or sessions.
5Seat management includes the **stable identifiers, edges, roles, and
6startup context** that make those mutations coherent.
7
8**OpenRig should be easy to reach for.** A user should be able to add
9capacity, retire capacity, adopt an existing session, or attach a
10terminal **without rebuilding the whole topology.** If mutation is
11rarely tested, users avoid it and the product collapses back into
12static launch scripts.
13
14## Use this when
15
16- Adding seats to a running rig (`rig grow <rig-id> <member...>` for the simple case, a fragment with `rig expand` or `rig add` otherwise; see below)
17- Removing capacity (`rig shrink` / `rig remove`)
18- Launching/relaunching a node in a running rig (`rig launch`)
19- Binding a discovered session into an existing logical node (`rig bind`)
20- Adopting a topology + binding live sessions (`rig adopt`)
21- Attaching a shell or agent into a rig node (`rig attach --self`)
22
23## Adding seats: `rig grow` first, a fragment when you need more
24
25`rig grow <rig-id> <member...>` adds one or more seats to a running rig without
26writing YAML. Each seat gets the default agent spec and its `default` profile.
27Check `rig grow --help` on your installed version; at the time of writing:
28
29- `--pod <pod>`: the target pod; inferred when the rig has one pod
30…

Excerpt shown under the repository's Apache-2.0 license.

More skills in openrig

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates