forming-an-openrig-mental-model
What it does
This skill gives a quick, accurate introduction to OpenRig, a tool for running teams of coding agents. It is for agents or people who are new to OpenRig or returning after a break.
When to use it
- βWhen you have just started in an OpenRig seat and do not know how the pieces fit.
- βWhen someone mentions rig, pod, seat or topology and you are unsure what they mean.
- βWhen you are about to act on a guess about how OpenRig works.
Skill link
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI just started in an OpenRig seat and do not know what a rig, pod or seat is. Give me the quick picture.β
5 new skills a week. 1 minute to read.
How it works
It explains OpenRig as a control plane that starts teams of agents from a YAML file, snapshots them when they go down and restores them when they come back, then points to deeper docs.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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 |
FAQ
What is a rig?
A rig is a topology of agents working together as one system, which OpenRig starts and manages.
What happens when a rig goes down?
OpenRig snapshots it automatically, and when it comes back the agents resume their conversations.
Is this the full manual?
No, it is a fast on-ramp, and the reference docs hold the full detail.
Details
Original description by the author
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
Popularity
- GitHub stars
- 8.6k
- Ranking position
- #12387
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-operated-software
8.6kHelps your agent design, build or debug an ongoing app whose live backend includes AI agents, such as a Markdown or JSON agent control plane.
agent-operated-workflows
8.6kHelps your agent decide whether a bounded procedure should be run by an AI agent or by ordinary code, and how to resume it from verified evidence.
applying-a-permission-policy
8.6kHelps your agent set up the command permissions an AI coding agent uses during team setup, so routine commands run with fewer approval prompts.
claude-compaction-restore
8.6kHelps a Claude Code agent rebuild its working picture after its context is compacted, using a saved restore map, its transcript and the files it touched.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.