본문으로 건너뛰기
Skillpedia
에이전트8.6k · #12414

topology-mutation-and-seat-management

하는 일

이 스킬은 좌석 추가, 제거, 재실행, 세션 연결처럼 실행 중인 AI 에이전트 팀을 바꾸는 방법을 다룹니다. 처음부터 다시 시작하지 않고 살아 있는 설정을 바꾸려는 OpenRig 사용자를 위한 것입니다.

사용하는 경우

  • ✓이미 실행 중인 팀에 에이전트를 더 추가해야 할 때.
  • ✓더 이상 필요 없는 에이전트 좌석을 실행 중인 팀에서 제거해야 할 때.
  • ✓기존 터미널 세션이나 에이전트를 처음부터 다시 시작하지 않고 팀에 붙이고 싶을 때.

스킬 링크

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“실행 중인 팀에 에이전트 두 명을 더 추가해 주세요. 전체 설정을 다시 만들지는 말아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 OpenRig 명령으로 살아 있는 팀을 한 단계씩 바꿉니다. 역할, 연결, 시작 세부 사항을 일관되게 유지해 변경이 나머지 팀을 망가뜨리지 않도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 with rig expand or rig add otherwise; 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 (default claude-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-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.

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; check rig grow --help)
  • rig expand <rig-id> <pod-fragment-path> (with optional session_source)
  • rig shrink <rigId> <podRef>
  • rig launch <rig> <nodeRef> (the rig's
자주 묻는 질문

팀이 실행 중일 때도 바꿀 수 있나요?

네. 이 스킬은 실행 중인 팀의 일부를 추가, 제거, 재실행하는 명령을 다룹니다.

실수로 에이전트를 제거하면 어떻게 하나요?

스킬은 좌석을 깔끔하게 제거해 오래된 참조가 남지 않도록 하는 데 초점을 둡니다. 제거 후에는 팀을 확인하세요.

명령 이름을 알아야 하나요?

아닙니다. 에이전트가 설치된 버전의 옵션을 찾아보고 각 단계를 설명합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
8.6k
순위
#12414
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬