topology-mutation-and-seat-management

topology-mutation-and-seat-management is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 120 tokens per session (1,331 once invoked), scanned A, original, Apache-2.0.

Guidance for changing the layout of a running rig, where a rig is a group of connected sessions or worker nodes. It covers adding, removing, starting, finding, adopting, binding, and attaching nodes while the rig stays active.

In plain words
What is it for?
Use it for commands such as expanding or shrinking a rig, launching or removing nodes, adopting discovered sessions, binding them to logical nodes, or attaching a shell or agent.
Why use it?
It helps prevent incomplete changes, such as a new node missing its startup settings, permissions, role, or connection to the rig's identity.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for commands such as expanding or shrinking a rig, launching or removing nodes, adopting discovered sessions, binding them to logical nodes, or attaching a shell or agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/topology-mutation-and-seat-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvschwarz/openrig --skill topology-mutation-and-seat-management
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for topology-mutation-and-seat-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/topology-mutation-and-seat-management/github.svg)](https://agentmods.dev/skills/mvschwarz/openrig/topology-mutation-and-seat-management)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/topology-mutation-and-seat-management"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/topology-mutation-and-seat-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for topology-mutation-and-seat-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvschwarz/openrig/topology-mutation-and-seat-management"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/topology-mutation-and-seat-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01331
Opus 5 $0.00060 $0.00665
Sonnet 5 $0.00024 $0.00266
Haiku 4.5 $0.00012 $0.00133

Measured 3d ago against content hash 32dccee6817b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

topology-mutation-and-seat-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on 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 capacity to a running rig (rig expand <rig> <pod-fragment-path>)
  • 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)

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-specialization skill
  • The intent is occupant replacement on a stable seat — use seat-continuity-and-handover skill

Failure modes (4)

  1. 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.
  2. Edges and permissions are not updated when a seat is added or removed. Topology references go stale; later workflows route to nonexistent seats.
  3. Adopt/bind succeeds at the tmux/session layer but not at the OpenRig identity layer. The session is attached but rig whoami doesn't know about it; downstream consumers see partial state.
  4. Shrink/remove leaves stale topology references that later workflows route into. Cleanup is part of the operation, not an afterthought.

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +2 lines 32dccee6817b
  2. 12d ago First seen · 119 lines · 120 tokens per session scan A 9ba55ef83d26

Subscribe to this mod's changes

topology-mutation-and-seat-management is a skill published in the GitHub repository mvschwarz/openrig (66 stars, last pushed 2d ago), licensed Apache-2.0. It adds 120 tokens to every session and 1,331 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.