forming-an-openrig-mental-model
Skill này làm gì
Skill này giới thiệu nhanh và chính xác về OpenRig, công cụ chạy các đội agent lập trình. Skill dành cho agent hoặc người mới làm quen với OpenRig, hoặc quay lại sau một thời gian nghỉ.
Khi nào nên dùng
- ✓Khi bạn vừa vào một seat OpenRig và chưa biết các phần ghép với nhau thế nào.
- ✓Khi ai đó nhắc đến rig, pod, seat hoặc topology và bạn không chắc nghĩa là gì.
- ✓Khi bạn sắp hành động dựa trên một phỏng đoán về cách OpenRig hoạt động.
Liên kết skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi vừa vào một seat OpenRig và chưa biết rig, pod hay seat là gì. Cho tôi bức tranh nhanh.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill giải thích OpenRig là một mặt phẳng điều khiển khởi động các đội agent từ file YAML, chụp snapshot khi chúng dừng và khôi phục khi chúng quay lại, rồi chỉ đến tài liệu sâu hơn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Forming an OpenRig Mental Model
You're new to OpenRig — or returning after time away — and you need to quickly understand what kind of system this is, what your seat is, and what the moves are. This skill is the fast on-ramp.
For depth, read the canonical reference docs the skill points to. This skill's job is to get you oriented — accurate enough to operate, fast enough to be useful — not to replace the canonical docs.
The 60-second mental model
OpenRig is a local control plane for multi-agent coding topologies. You declare a topology of agents in YAML, boot it with one command, and OpenRig manages tmux sessions, harness lifecycles, transcripts, snapshots, and restoration. When the system goes down, OpenRig snapshots; when it comes back, agents resume their conversations.
The product loop:
down (auto-snapshot) → up <rig-name> (auto-restore) → work → repeat
The unit of work is the rig — a topology of agents working together as a single system.
The four-layer model (where you live)
Everything in agent engineering happens at one of four layers. OpenRig operates at Layer 3.
| Layer | Name | Analogy | What it is |
|---|---|---|---|
| L0 | Model | CPU | Foundation model — Claude, GPT, Gemini. Stateless tokens-in/tokens-out. |
| L1 | Agent Core | Process loop | The reason-and-act cycle: observe, plan, choose, act, repeat. |
| L2 | Harness | Container / OS | Tools, memory, lifecycle around the model. Examples: Claude Code, Codex CLI. |
| L3 | Rig | Docker Compose / Terraform | Multi-agent topology — what agents exist, how they relate. OpenRig. |
You are an agent at L1 inside an L2 harness, configured by L3 OpenRig. OpenRig manages your harness; the harness wraps the model; the model generates your tokens.
Three pillars of context
OpenRig is built on three context-engineering pillars. When you're oriented, you should know which pillar you're operating in:
| Pillar | What it is | Where it lives |
|---|---|---|
| Ontology | What exists. Curated knowledge — facts, code maps, as-built docs. | Shipped public context packs plus project-authored docs; discover with rig context list. |
| Epistemology | Why an agent believes what it believes — reasoning, instincts, decisions. | Transcripts (auto-captured). Session logs. ADRs. |
| Topology | How agents are connected — pods, edges, communication paths. | OpenRig itself. RigSpec YAML. |
OpenRig manages topology and exposes public context through rig context.
Project-authored sources supply project-specific knowledge; transcripts retain
recorded work. These sources already coexist. Discover the configured library
and selected task context rather than assuming a particular private corpus:
rig context list shows the configured packs, and rig context work-install
lists what the current project declares (intent, context files, skills), so you
read only the pieces a task needs.
The core vocabulary (read these terms literally)
| Term | What it means |
|---|---|
| Rig | A topology of agents working together as a single system. Defined in YAML (RigSpec). The top-level object. |
| Pod | A bounded context group within a rig. Members of a pod share a context domain and continuity responsibility. Think Kubernetes pod for knowledge. |
| Member / Node | A single agent (or terminal-node service) within a pod. |
| Edge | A relationship between members or pods. Kinds: delegates_to, spawned_by, can_observe, collaborates_with, escalates_to. |
| Topology | The shape of the rig — how agents are grouped into pods, how edges connect them, how the whole thing fits together. |
| AgentSpec | A reusable agent blueprint. Defines skills, guidance, hooks, profiles, startup. File: agent.yaml. |
| RigSpec | The topology YAML. Defines pods, members, edges, culture. File: rig.yaml. |
| RigBundle | A portable archive of a RigSpec + vendored AgentSpecs. Move topologies across machines. |
| Agent Starter | A named, reusable starting context bundle. RigSpec member can declare starter_ref. |
| Skill | A markdown file with frontmatter that an agent loads at boot or on activation. Cross-runtime standard at agentskills.io. |
| Profile | A named configuration within an AgentSpec. The rig spec's member field selects which profile to use. |
| Culture | Rig-wide constitution — how the team communicates, what "done" means, escalation rules. File: CULTURE.md. |
| **Snapsho |
Câu hỏi thường gặp
Rig là gì?
Rig là một topology gồm các agent cùng làm việc như một hệ thống, do OpenRig khởi động và quản lý.
Điều gì xảy ra khi rig ngừng hoạt động?
OpenRig tự động chụp snapshot, và khi rig quay lại, các agent tiếp tục cuộc trò chuyện của chúng.
Đây có phải là sổ tay đầy đủ không?
Không. Đây là phần giới thiệu nhanh, còn tài liệu tham khảo chứa toàn bộ chi tiết.
Chi tiết
Mô tả gốc của tác giả
Use when the system around you does not make sense yet: you just booted into a seat and do not know how the pieces fit; someone said rig, pod, seat, fleet, topology, or slice and you are not certain what they mean here; you are unsure what kind of rig you are in or what it is for; you do not know how skills reach you or where context comes from; or you are about to act on a guess about how OpenRig works. Gives the runtime mental model fast, so you stop guessing.
repo: mvschwarz/openrig
Độ phổ biến
- Sao GitHub
- 8.6k
- Vị trí xếp hạng
- #12387
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-operated-software
8.6kGiúp agent của bạn thiết kế, xây dựng hoặc gỡ lỗi một ứng dụng đang chạy có backend là agent AI, như một lớp điều khiển agent bằng Markdown hoặc JSON.
agent-operated-workflows
8.6kGiúp agent của bạn quyết định một quy trình có ranh giới nên do agent AI hay code thông thường điều khiển, và cách tiếp tục từ bằng chứng đã xác minh.
applying-a-permission-policy
8.6kGiúp agent của bạn thiết lập quyền lệnh mà agent lập trình AI dùng khi cài đặt đội, để các lệnh thông thường chạy với ít lần xác nhận hơn.
claude-compaction-restore
8.6kGiúp agent Claude Code dựng lại bức tranh làm việc sau khi ngữ cảnh bị nén, bằng một bản đồ khôi phục đã lưu, transcript và các file nó đã chạm vào.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.