topology-mutation-and-seat-management
ما الذي تفعله
تغطي هذه المهارة تغيير فريق يعمل من وكلاء الذكاء الاصطناعي، مثل إضافة المقاعد أو إزالتها أو إعادة تشغيلها أو ربط جلسة. وهي موجهة للأشخاص الذين يشغّلون OpenRig ويريدون تغيير إعداد حي.
متى تستخدمها
- ✓عندما تحتاج إلى إضافة وكلاء أكثر إلى فريق يعمل بالفعل.
- ✓عندما تحتاج إلى إزالة مقعد وكيل لم يعد لازمًا من فريق يعمل.
- ✓عندما تريد ربط جلسة طرفية أو وكيل موجود بفريق دون أن تبدأ من جديد.
رابط المهارة
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/topology-mutation-and-seat-management/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أضف وكيلين إلى فريقي العامل دون إعادة بناء الإعداد كله.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يستخدم الوكيل أوامر 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 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
الأسئلة الشائعة
هل أستطيع تغيير فريق أثناء تشغيله؟
نعم، تغطي المهارة الأوامر التي تضيف أجزاء من فريق حي أو تزيلها أو تعيد تشغيلها.
ماذا لو أزلت وكيلًا عن طريق الخطأ؟
تركز المهارة على إزالة المقاعد بنظافة حتى لا تبقى مراجع قديمة. افحص الفريق بعد أي إزالة.
هل أحتاج إلى معرفة أسماء الأوامر؟
لا، يبحث وكيلك عن خيارات الإصدار المثبت لديك ويشرح كل خطوة.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-operated-software
8.6kيساعد وكيلك على تصميم تطبيق مستمر أو بناءه أو تصحيحه، يعمل فيه وكلاء الذكاء الاصطناعي ضمن الخادم الخلفي، مع مستوى تحكم بملفات Markdown أو JSON.
agent-operated-workflows
8.6kيساعد وكيلك على تحديد هل يشغّل وكيل الذكاء الاصطناعي إجراءً محددًا أم كود برمجي عادي، وكيف يستأنفه من أدلة موثّقة.
applying-a-permission-policy
8.6kيساعد وكيلك على ضبط أذونات الأوامر التي يستخدمها وكيل البرمجة أثناء إعداد الفريق، لتعمل الأوامر الروتينية بعدد أقل من طلبات الموافقة.
claude-compaction-restore
8.6kيساعد وكيل Claude Code على إعادة بناء صورة عمله بعد ضغط سياقه، باستخدام خريطة استعادة محفوظة وسجل المحادثة والملفات التي لمسها.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.