[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DMPDN1SNHBZ3A4QW19AAK8":3,"skill-same:01M7DMPDN1SNHBZ3A4QW19AAK8":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7DMPDN1SNHBZ3A4QW19AAK8","forming-an-openrig-mental-model",null,"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.","mvschwarz\u002Fopenrig-world","mvschwarz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F171890339?v=4","01M7DM95A4N5936P8G2FTSPMY7","Mike Schwarz","01M7DM95AX80NY8HZA7XXDYAZR",16,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fforming-an-openrig-mental-model\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: forming-an-openrig-mental-model\ndescription: >-\n  Use when the system around you does not make sense yet: you just booted into a seat and do not\n  know how the pieces fit; someone said rig, pod, seat, fleet, topology, or slice and you are not\n  certain what they mean here; you are unsure what kind of rig you are in or what it is for; you do\n  not know how skills reach you or where context comes from; or you are about to act on a guess\n  about how OpenRig works. Gives the runtime mental model fast, so you stop guessing.\nmetadata:\n  cli_surfaces_referenced:\n    - ask\n    - capture\n    - down\n    - ps\n    - send\n    - transcript\n    - up\n    - whoami\n  openrig:\n    stage: factory-approved\n    sibling_skills:\n      - openrig-user\n      - openrig-architect\n      - openrig-upgrade\n      - agent-operated-workflows\n      - agent-operated-software\n---\n\n# Forming an OpenRig Mental Model\n\nYou're new to OpenRig — or returning after time away — and you need to\nquickly understand what kind of system this is, what your seat is, and what\nthe moves are. This skill is the fast on-ramp.\n\nFor depth, read the canonical reference docs the skill points to. This\nskill's job is to get you *oriented* — accurate enough to operate, fast\nenough to be useful — not to replace the canonical docs.\n\n---\n\n## The 60-second mental model\n\nOpenRig is a **local control plane for multi-agent coding topologies**. You\ndeclare a topology of agents in YAML, boot it with one command, and OpenRig\nmanages tmux sessions, harness lifecycles, transcripts, snapshots, and\nrestoration. When the system goes down, OpenRig snapshots; when it comes\nback, agents resume their conversations.\n\nThe product loop:\n\n```\ndown (auto-snapshot) → up \u003Crig-name> (auto-restore) → work → repeat\n```\n\nThe unit of work is the **rig** — a topology of agents working together as\na single system.\n\n---\n\n## The four-layer model (where you live)\n\nEverything in agent engineering happens at one of four layers. **OpenRig\noperates at Layer 3.**\n\n| Layer | Name | Analogy | What it is |\n|---|---|---|---|\n| L0 | Model | CPU | Foundation model — Claude, GPT, Gemini. Stateless tokens-in\u002Ftokens-out. |\n| L1 | Agent Core | Process loop | The reason-and-act cycle: observe, plan, choose, act, repeat. |\n| L2 | Harness | Container \u002F OS | Tools, memory, lifecycle around the model. Examples: Claude Code, Codex CLI. |\n| L3 | Rig | Docker Compose \u002F Terraform | Multi-agent topology — what agents exist, how they relate. **OpenRig.** |\n\nYou are an agent at L1 inside an L2 harness, configured by L3 OpenRig.\nOpenRig manages your harness; the harness wraps the model; the model\ngenerates your tokens.\n\n---\n\n## Three pillars of context\n\nOpenRig is built on three context-engineering pillars. When you're oriented,\nyou should know which pillar you're operating in:\n\n| Pillar | What it is | Where it lives |\n|---|---|---|\n| **Ontology** | What exists. Curated knowledge — facts, code maps, as-built docs. | Shipped public context packs plus project-authored docs; discover with `rig context list`. |\n| **Epistemology** | Why an agent believes what it believes — reasoning, instincts, decisions. | Transcripts (auto-captured). Session logs. ADRs. |\n| **Topology** | How agents are connected — pods, edges, communication paths. | OpenRig itself. RigSpec YAML. |\n\nOpenRig manages topology and exposes public context through `rig context`.\nProject-authored sources supply project-specific knowledge; transcripts retain\nrecorded work. These sources already coexist. Discover the configured library\nand selected task context rather than assuming a particular private corpus:\n`rig context list` shows the configured packs, and `rig context work-install`\nlists what the current project declares (intent, context files, skills), so you\nread only the pieces a task needs.\n\n---\n\n## The core vocabulary (read these terms literally)\n\n| Term | What it means |\n|---|---|\n| **Rig** | A topology of agents working together as a single system. Defined in YAML (RigSpec). The top-level object. |\n| **Pod** | A bounded context group within a rig. Members of a pod share a context domain and continuity responsibility. Think Kubernetes pod for knowledge. |\n| **Member \u002F Node** | A single agent (or terminal-node service) within a pod. |\n| **Edge** | A relationship between members or pods. Kinds: `delegates_to`, `spawned_by`, `can_observe`, `collaborates_with`, `escalates_to`. |\n| **Topology** | The shape of the rig — how agents are grouped into pods, how edges connect them, how the whole thing fits together. |\n| **AgentSpec** | A reusable agent blueprint. Defines skills, guidance, hooks, profiles, startup. File: `agent.yaml`. |\n| **RigSpec** | The topology YAML. Defines pods, members, edges, culture. File: `rig.yaml`. |\n| **RigBundle** | A portable archive of a RigSpec + vendored AgentSpecs. Move topologies across machines. |\n| **Agent Starter** | A named, reusable starting context bundle. RigSpec member can declare `starter_ref`. |\n| **Skill** | A markdown file with frontmatter that an agent loads at boot or on activation. Cross-runtime standard at `agentskills.io`. |\n| **Profile** | A named configuration within an AgentSpec. The rig spec's member field selects which profile to use. |\n| **Culture** | Rig-wide constitution — how the team communicates, what \"done\" means, escalation rules. File: `CULTURE.md`. |\n| **Snapshot** | Point-in-time capture of a rig — sessions, conversations, state. Restorable. |\n| **Session name** | `{pod}-{member}@{rig}`. The canonical address for tmux sessions and agent-to-agent messaging. |\n\nThe session-name format `{pod}-{member}@{rig}` is your address. When you\nrun `rig whoami --json`, you get back your full topology context: rig name,\npod, member, peers, edges, transcript path. With `output.compact` enabled,\na large rig's peer list can be a bounded, edge-first selection: `peersNote`\nthen says how many are not shown; `rig whoami --json --all-peers` lists them all.\n\n---\n\n## Rig classes (what kind of rig am I in?)\n\nOpenRig has five rig classes. The class determines authoring discipline,\nsupervision, and lifecycle policy.\n\n| Class | Purpose | Lifecycle |\n|---|---|---|\n| **kernel** | Host-level supervision, intake, authoring. One per host. | Always on; never auto-hibernated. |\n| **project** | Long-lived team bound to a codebase. | Stays hot when active; hibernates on explicit request. |\n| **ephemeral** | Short-lived mission (research, build, migration, spike). | Spawn → work → retire. |\n| **infra-build** | Subclass of ephemeral whose output becomes permanent infrastructure. | Retired only after output verified in place. |\n| **managed-app** | Services-backed rig with specialist agents (e.g., a vault specialist, a skill librarian). | Long-lived; accessed by other rigs. |\n\nYou're probably in a project rig or managed-app rig if you're doing\nsubstantive work. Knowing your class helps you understand the supervisory\nexpectations on your seat.\n\n---\n\n## How skills load (the most important thing to get right)\n\nSkills are an **established cross-runtime standard** at\n`https:\u002F\u002Fagentskills.io\u002Fspecification`. Both Claude Code and Codex build on it.\n\n### The shape\n\nA skill is a directory containing `SKILL.md` (uppercase). The SKILL.md has\nYAML frontmatter (`name`, `description`) and a Markdown body. Optional\nsibling directories: `references\u002F`, `scripts\u002F`, `assets\u002F`.\n\n### Progressive disclosure (why skills scale)\n\nThe harness reads frontmatter cheaply at boot — names + descriptions of all\navailable skills. Body content loads only when a skill activates. This is\n**ambient awareness** — you know all the skills exist; you only pay token\ncost when you reach for one.\n\n### Where skills come from in OpenRig\n\n- **Per-agent loadout:** your AgentSpec's `profile.uses.skills: [...]`\n  determines what skills get projected into your seat's own skill storage\n  before your harness boots. A Claude seat gets them through OpenRig's\n  generated plugin, named `openrig:\u003Cid>`; a Codex seat through its skill\n  catalog. A seat without that storage gets them in the project's\n  `.claude\u002Fskills\u002F` or `.agents\u002Fskills\u002F`. This is the **structural\n  composition** layer.\n- **Cross-pod sharing:** AgentSpecs can `imports: [shared]` to access a\n  shared skill pool. Built-in agents commonly do this.\n- **Belt-and-suspenders:** the spec projects skill files; startup guidance\n  also tells you to load specific skills. Both paths matter — if the\n  projection silently fails, the guidance still tells you what to read.\n\n### Where skills live (sources of truth)\n\n| Home | Purpose |\n|---|---|\n| `\u003COpenRig home>\u002Fstate\u002Fseats\u002F\u003Crig id>\u002F\u003Clogical seat>\u002F\u003Cruntime>\u002F` | A team seat's own skills, outside the project. Claude loads them through the generated plugin (`plugin\u002Fskills\u002F`); Codex reads them by path from the seat's `catalog.md` (`skills\u002F`). Populated at launch. |\n| `\u003Crig-cwd>\u002F.claude\u002Fskills\u002F`, `\u003Crig-cwd>\u002F.agents\u002Fskills\u002F` | The project's own skills, which the harness also loads. A seat without its own storage gets its skills here. |\n| `~\u002F.claude\u002Fskills\u002F`, `~\u002F.agents\u002Fskills\u002F` | User-level harness skill directories. Inspect the current projection and harness configuration to determine which skills are installed and where they came from. |\n| `packages\u002Fdaemon\u002F{specs\u002Fagents\u002Fshared\u002Fskills,assets\u002Fplugins\u002F*\u002Fskills}\u002F` (source checkout) | Product skills that ship with OpenRig — the spec pool + the bundled plugin assets (openrig-user, openrig-architect, forming-an-openrig-mental-model, queue-handoff, claude-compaction-restore, …). |\n| the skills authoring workspace | Skill authoring source (not runtime-loaded). |\n\nThe product already discovers its installed shared skill pool and serves\npackaged context through `rig context list\u002Fget`. Discovery and retrieval do\nnot prove that every skill was projected into every harness. Inspect the\nselected profile and actual runtime directories; do not assume a universal\nhome\u002Fbootstrap installation from this table.\n\n---\n\n## The product loop (your day-to-day)\n\n```\nrig up \u003Crig-name>         # boot or restore the topology\nrig ps --nodes            # see what's running\nrig whoami --json         # know who you are\nrig send \u003Csession> \"msg\"  # talk to a peer\nrig capture \u003Csession>     # see a peer's terminal\nrig transcript \u003Csession>  # read a peer's history\nrig down \u003CrigId>          # snapshot and stop every agent; check rig ps first, only when asked\nrig up \u003Crig-name>         # restore from snapshot\n```\n\nThe first command in any new seat is `rig whoami --json`. It tells you your\nrig, pod, member, peers, edges, and transcript path. **Treat it as ground\ntruth — your CLAUDE.md or AGENTS.md startup overlay can be wrong; whoami\nis authoritative.**\n\n---\n\n## Cultural posture (how to behave)\n\nOpenRig has a few load-bearing cultural principles. Internalize these:\n\n- **Honesty over convenience.** If resume fails, say so loudly. Don't\n  silently launch fresh.\n- **The agent is the power user.** The CLI is designed for a 10x staff\n  engineer at the terminal. You're that user.\n- **CLI is context engineering.** Every error message and help text gives\n  you information to act on. Read errors carefully.\n- **Convention over invention.** Follow docker\u002Fgit\u002Fkubectl patterns. Agent\n  muscle memory is real.\n- **Semi-deterministic is OK.** Core contracts are solid; edge cases are\n  agent-handled.\n- **Pets, not cattle (today).** OpenRig is currently optimized for long-lived\n  agents that develop instincts over sessions. Cattle support is on the\n  roadmap.\n\n---\n\n## What you should do in your first 10 minutes\n\nIf you're booting into a new seat in an OpenRig rig:\n\n1. **`rig whoami --json`** — recover identity. Know your rig, pod, member,\n   peers (`--all-peers` when `peersNote` says some are not shown).\n2. **Read your role guidance** — typically delivered via startup files.\n   `guidance\u002Frole.md` for your specific seat.\n3. **Read the rig's `CULTURE.md`** if it has one — the team operating\n   manual.\n4. **Check what skills you have** — `rig skill loadout --seat self` shows\n   your seat's own skills; `.claude\u002Fskills\u002F` or `.agents\u002Fskills\u002F` in your\n   cwd hold the project's. Each skill has a frontmatter description that\n   tells you when to reach for it.\n5. **Check your peers** — `rig ps --nodes` and the queue first (who is up,\n   who holds what). Capture a peer (`rig capture \u003Cpeer-session>`) only when\n   you actually need to see its screen.\n6. **Check the transcripts** if you're returning to an in-flight workstream\n   — `rig transcript \u003Csession> --tail 100` for recent context.\n7. **Ask `rig ask \u003Crig> \"\u003Cquestion>\"`** if you need cross-cutting evidence\n   from the rig's transcripts and chat.\n\nYou're now oriented enough to start doing useful work.\n\n**Permission policy (at setup):** OpenRig sets only a minimal usability floor on your harness permissions, then offers recommended policies you opt into (Locked \u002F Standard \u002F Open — or YOLO to bypass). If you're creating or bringing up a rig, that's a choice you make, not something OpenRig decides for you — see openrig-user's \"Permission policy — pick one at setup\" and the `applying-a-permission-policy` skill.\n\n---\n\n## Going deeper (canonical references)\n\nFor real depth, these are the load-bearing canonical docs:\n\n| Reference | What it covers |\n|---|---|\n| `docs\u002Fas-built\u002FREADME.md` (source checkout) | As-built map of territory — daemon architecture, system overview, package boundaries; routes to architecture and UI modules via `codemap.md` |\n| `rig --help`, then `rig \u003Ccommand> --help` | The installed CLI surface, subcommands and flags |\n| `rig context get reference\u002Frig-spec.md` | The RigSpec YAML format — pods, members, edges, all fields |\n| `docs\u002Freference\u002Fagent-spec.md` (source checkout) | The AgentSpec YAML format — resources, profiles, imports |\n| `docs\u002Freference\u002Fagent-startup-guide.md` (source checkout) | The 7-layer startup layering model; delivery hints |\n| [Core vocabulary above](#the-core-vocabulary-read-these-terms-literally) | Vocabulary used in this skill (read literally) |\n| `openrig-operating-model` skill | Placement and operating-model guidance — topology and work trees, context altitude |\n| `openrig-architect` skill | Rig and topology authoring |\n| `https:\u002F\u002Fagentskills.io\u002Fspecification` | The cross-runtime skill standard |\n\nIf you're going to be authoring rigs, use the `openrig-architect` skill before\ntouching YAML.\n\n---\n\n## What this skill is NOT for\n\n- **Compaction recovery.** That's `claude-compaction-restore`. Different\n  skill, different scenario.\n- **Operating a specific rig.** Specific rigs have their own DESIGN.md and\n  CULTURE.md. Read those.\n- **Authoring a new rig.** Use the `openrig-architect` skill for that.\n- **Day-to-day OpenRig operation.** Use `openrig-user` for that.\n\nThis skill exists to **form your initial mental model of OpenRig as a\nsystem**. Once oriented, reach for the role-specific or task-specific skills\nthat fit your actual work.\n\n---\n\n## Common misorientations to avoid\n\n| Misorientation | Reality |\n|---|---|\n| \"OpenRig is a chat interface or assistant\" | No. OpenRig is a control plane that *manages* your harness sessions. The chat happens inside the harness; OpenRig is around it. |\n| \"Pods are workflow groups\" | No. Pods are **context domains** — agents that share working context. If two agents communicate every turn, they should be in one pod; if they communicate rarely, they shouldn't be. |\n| \"Edges represent reporting hierarchy\" | No. Edges describe *coordination shape* — who delegates to whom, who observes whom. Avoid hierarchy interpretations; they distort behavior. |\n| \"I should manage Codex's compaction the way I manage Claude's\" | No. Codex auto-compacts cleanly; Claude doesn't. Different runtimes, different lifecycles. |\n| \"MEMORY.md auto-loads, so I don't need to read it\" | Maybe. Sometimes MEMORY.md auto-loads via system reminders; sometimes not. Don't assume. If your work touches the topics it covers, read it explicitly. |\n| \"Skills inherit from a parent or compose like classes\" | No. Skills are flat artifacts; composition happens via AgentSpec `profile.uses.skills` (structural) or soft cross-references in skill bodies (advisory). Not via OO-style inheritance. |\n| \"The substrate `shared-docs\u002Fskills\u002F` folder is the canonical runtime path\" | No. The harness doesn't read there. It's an authoring workspace. Runtime loads from the seat's own skill storage, `.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F`, and product built-in. |\n\n---\n\n## Disaster-recovery test for this skill\n\nIf you read only this skill, can you:\n\n1. State what kind of system OpenRig is, in one sentence?\n2. Name the four layers and where you live?\n3. Run `rig whoami --json` and interpret the output?\n4. Find your role guidance and your peers?\n5. Identify what kind of rig you're in (kernel \u002F project \u002F ephemeral \u002F etc.)?\n6. Know where to look for a skill body (which folder)?\n7. Know what to read next for depth (the canonical references)?\n\nIf yes — you're oriented. If no — tell your peer or the human; missing\ncontext is fixable, but only if surfaced.\n","# Forming an OpenRig Mental Model\n\nYou're new to OpenRig — or returning after time away — and you need to\nquickly understand what kind of system this is, what your seat is, and what\nthe moves are. This skill is the fast on-ramp.\n\nFor depth, read the canonical reference docs the skill points to. This\nskill's job is to get you *oriented* — accurate enough to operate, fast\nenough to be useful — not to replace the canonical docs.\n\n---\n\n## The 60-second mental model\n\nOpenRig is a **local control plane for multi-agent coding topologies**. You\ndeclare a topology of agents in YAML, boot it with one command, and OpenRig\nmanages tmux sessions, harness lifecycles, transcripts, snapshots, and\nrestoration. When the system goes down, OpenRig snapshots; when it comes\nback, agents resume their conversations.\n\nThe product loop:\n\n```\ndown (auto-snapshot) → up \u003Crig-name> (auto-restore) → work → repeat\n```\n\nThe unit of work is the **rig** — a topology of agents working together as\na single system.\n\n---\n\n## The four-layer model (where you live)\n\nEverything in agent engineering happens at one of four layers. **OpenRig\noperates at Layer 3.**\n\n| Layer | Name | Analogy | What it is |\n|---|---|---|---|\n| L0 | Model | CPU | Foundation model — Claude, GPT, Gemini. Stateless tokens-in\u002Ftokens-out. |\n| L1 | Agent Core | Process loop | The reason-and-act cycle: observe, plan, choose, act, repeat. |\n| L2 | Harness | Container \u002F OS | Tools, memory, lifecycle around the model. Examples: Claude Code, Codex CLI. |\n| L3 | Rig | Docker Compose \u002F Terraform | Multi-agent topology — what agents exist, how they relate. **OpenRig.** |\n\nYou are an agent at L1 inside an L2 harness, configured by L3 OpenRig.\nOpenRig manages your harness; the harness wraps the model; the model\ngenerates your tokens.\n\n---\n\n## Three pillars of context\n\nOpenRig is built on three context-engineering pillars. When you're oriented,\nyou should know which pillar you're operating in:\n\n| Pillar | What it is | Where it lives |\n|---|---|---|\n| **Ontology** | What exists. Curated knowledge — facts, code maps, as-built docs. | Shipped public context packs plus project-authored docs; discover with `rig context list`. |\n| **Epistemology** | Why an agent believes what it believes — reasoning, instincts, decisions. | Transcripts (auto-captured). Session logs. ADRs. |\n| **Topology** | How agents are connected — pods, edges, communication paths. | OpenRig itself. RigSpec YAML. |\n\nOpenRig manages topology and exposes public context through `rig context`.\nProject-authored sources supply project-specific knowledge; transcripts retain\nrecorded work. These sources already coexist. Discover the configured library\nand selected task context rather than assuming a particular private corpus:\n`rig context list` shows the configured packs, and `rig context work-install`\nlists what the current project declares (intent, context files, skills), so you\nread only the pieces a task needs.\n\n---\n\n## The core vocabulary (read these terms literally)\n\n| Term | What it means |\n|---|---|\n| **Rig** | A topology of agents working together as a single system. Defined in YAML (RigSpec). The top-level object. |\n| **Pod** | A bounded context group within a rig. Members of a pod share a context domain and continuity responsibility. Think Kubernetes pod for knowledge. |\n| **Member \u002F Node** | A single agent (or terminal-node service) within a pod. |\n| **Edge** | A relationship between members or pods. Kinds: `delegates_to`, `spawned_by`, `can_observe`, `collaborates_with`, `escalates_to`. |\n| **Topology** | The shape of the rig — how agents are grouped into pods, how edges connect them, how the whole thing fits together. |\n| **AgentSpec** | A reusable agent blueprint. Defines skills, guidance, hooks, profiles, startup. File: `agent.yaml`. |\n| **RigSpec** | The topology YAML. Defines pods, members, edges, culture. File: `rig.yaml`. |\n| **RigBundle** | A portable archive of a RigSpec + vendored AgentSpecs. Move topologies across machines. |\n| **Agent Starter** | A named, reusable starting context bundle. RigSpec member can declare `starter_ref`. |\n| **Skill** | A markdown file with frontmatter that an agent loads at boot or on activation. Cross-runtime standard at `agentskills.io`. |\n| **Profile** | A named configuration within an AgentSpec. The rig spec's member field selects which profile to use. |\n| **Culture** | Rig-wide constitution — how the team communicates, what \"done\" means, escalation rules. File: `CULTURE.md`. |\n| **Snapshot** | Point-in-time capture of a rig — sessions, conversations, state. Restorable. |\n| **Session name** | `{pod}-{member}@{rig}`. The canonical address for tmux sessions and agent-to-agent messaging. |\n\nThe session-name format `{pod}-{member}@{rig}` is your address. When you\nrun `rig whoami --json`, you get back your full topology context: rig name,\npod, member, peers, edges, transcript path. With `output.compact` enabled,\na large rig's peer list can be a bounded, edge-first selection: `peersNote`\nthen says how many are not shown; `rig whoami --json --all-peers` lists them all.\n\n---\n\n## Rig classes (what kind of rig am I in?)\n\nOpenRig has five rig classes. The class determines authoring discipline,\nsupervision, and lifecycle policy.\n\n| Class | Purpose | Lifecycle |\n|---|---|---|\n| **kernel** | Host-level supervision, intake, authoring. One per host. | Always on; never auto-hibernated. |\n| **project** | Long-lived team bound to a codebase. | Stays hot when active; hibernates on explicit request. |\n| **ephemeral** | Short-lived mission (research, build, migration, spike). | Spawn → work → retire. |\n| **infra-build** | Subclass of ephemeral whose output becomes permanent infrastructure. | Retired only after output verified in place. |\n| **managed-app** | Services-backed rig with specialist agents (e.g., a vault specialist, a skill librarian). | Long-lived; accessed by other rigs. |\n\nYou're probably in a project rig or managed-app rig if you're doing\nsubstantive work. Knowing your class helps you understand the supervisory\nexpectations on your seat.\n\n---\n\n## How skills load (the most important thing to get right)\n\nSkills are an **established cross-runtime standard** at\n`https:\u002F\u002Fagentskills.io\u002Fspecification`. Both Claude Code and Codex build on it.\n\n### The shape\n\nA skill is a directory containing `SKILL.md` (uppercase). The SKILL.md has\nYAML frontmatter (`name`, `description`) and a Markdown body. Optional\nsibling directories: `references\u002F`, `scripts\u002F`, `assets\u002F`.\n\n### Progressive disclosure (why skills scale)\n\nThe harness reads frontmatter cheaply at boot — names + descriptions of all\navailable skills. Body content loads only when a skill activates. This is\n**ambient awareness** — you know all the skills exist; you only pay token\ncost when you reach for one.\n\n### Where skills come from in OpenRig\n\n- **Per-agent loadout:** your AgentSpec's `profile.uses.skills: [...]`\n  determines what skills get projected into your seat's own skill storage\n  before your harness boots. A Claude seat gets them through OpenRig's\n  generated plugin, named `openrig:\u003Cid>`; a Codex seat through its skill\n  catalog. A seat without that storage gets them in the project's\n  `.claude\u002Fskills\u002F` or `.agents\u002Fskills\u002F`. This is the **structural\n  composition** layer.\n- **Cross-pod sharing:** AgentSpecs can `imports: [shared]` to access a\n  shared skill pool. Built-in agents commonly do this.\n- **Belt-and-suspenders:** the spec projects skill files; startup guidance\n  also tells you to load specific skills. Both paths matter — if the\n  projection silently fails, the guidance still tells you what to read.\n\n### Where skills live (sources of truth)\n\n| Home | Purpose |\n|---|---|\n| `\u003COpenRig home>\u002Fstate\u002Fseats\u002F\u003Crig id>\u002F\u003Clogical seat>\u002F\u003Cruntime>\u002F` | A team seat's own skills, outside the project. Claude loads them through the generated plugin (`plugin\u002Fskills\u002F`); Codex reads them by path from the seat's `catalog.md` (`skills\u002F`). Populated at launch. |\n| `\u003Crig-cwd>\u002F.claude\u002Fskills\u002F`, `\u003Crig-cwd>\u002F.agents\u002Fskills\u002F` | The project's own skills, which the harness also loads. A seat without its own storage gets its skills here. |\n| `~\u002F.claude\u002Fskills\u002F`, `~\u002F.agents\u002Fskills\u002F` | User-level harness skill directories. Inspect the current projection and harness configuration to determine which skills are installed and where they came from. |\n| `packages\u002Fdaemon\u002F{specs\u002Fagents\u002Fshared\u002Fskills,assets\u002Fplugins\u002F*\u002Fskills}\u002F` (source checkout) | Product skills that ship with OpenRig — the spec pool + the bundled plugin assets (openrig-user, openrig-architect, forming-an-openrig-mental-model, queue-handoff, claude-compaction-restore, …). |\n| the skills authoring workspace | Skill authoring source (not runtime-loaded). |\n\nThe product already discovers its installed shared skill pool and serves\npackaged context through `rig context list\u002Fget`. Discovery and retrieval do\nnot prove that every skill was projected into every harness. Inspect the\nselected profile and actual runtime directories; do not assume a universal\nhome\u002Fbootstrap installation from this table.\n\n---\n\n## The product loop (your day-to-day)\n\n```\nrig up \u003Crig-name>         # boot or restore the topology\nrig ps --nodes            # see what's running\nrig whoami --json         # know who you are\nrig send \u003Csession> \"msg\"  # talk to a peer\nrig capture \u003Csession>     # see a peer's terminal\nrig transcript \u003Csession>  # read a peer's history\nrig down \u003CrigId>          # snapshot and stop every agent; check rig ps first, only when asked\nrig up \u003Crig-name>         # restore from snapshot\n```\n\nThe first command in any new seat is `rig whoami --json`. It tells you your\nrig, pod, member, peers, edges, and transcript path. **Treat it as ground\ntruth — your CLAUDE.md or AGENTS.md startup overlay can be wrong; whoami\nis authoritative.**\n\n---\n\n## Cultural posture (how to behave)\n\nOpenRig has a few load-bearing cultural principles. Internalize these:\n\n- **Honesty over convenience.** If resume fails, say so loudly. Don't\n  silently launch fresh.\n- **The agent is the power user.** The CLI is designed for a 10x staff\n  engineer at the terminal. You're that user.\n- **CLI is context engineering.** Every error message and help text gives\n  you information to act on. Read errors carefully.\n- **Convention over invention.** Follow docker\u002Fgit\u002Fkubectl patterns. Agent\n  muscle memory is real.\n- **Semi-deterministic is OK.** Core contracts are solid; edge cases are\n  agent-handled.\n- **Pets, not cattle (today).** OpenRig is currently optimized for long-lived\n  agents that develop instincts over sessions. Cattle support is on the\n  roadmap.\n\n---\n\n## What you should do in your first 10 minutes\n\nIf you're booting into a new seat in an OpenRig rig:\n\n1. **`rig whoami --json`** — recover identity. Know your rig, pod, member,\n   peers (`--all-peers` when `peersNote` says some are not shown).\n2. **Read your role guidance** — typically delivered via startup files.\n   `guidance\u002Frole.md` for your specific seat.\n3. **Read the rig's `CULTURE.md`** if it has one — the team operating\n   manual.\n4. **Check what skills you have** — `rig skill loadout --seat self` shows\n   your seat's own skills; `.claude\u002Fskills\u002F` or `.agents\u002Fskills\u002F` in your\n   cwd hold the project's. Each skill has a frontmatter description that\n   tells you when to reach for it.\n5. **Check your peers** — `rig ps --nodes` and the queue first (who is up,\n   who holds what). Capture a peer (`rig capture \u003Cpeer-session>`) only when\n   you actually need to see its screen.\n6. **Check the transcripts** if you're returning to an in-flight workstream\n   — `rig transcript \u003Csession> --tail 100` for recent context.\n7. **Ask `rig ask \u003Crig> \"\u003Cquestion>\"`** if you need cross-cutting evidence\n   from the rig's transcripts and chat.\n\nYou're now oriented enough to start doing useful work.\n\n**Permission policy (at setup):** OpenRig sets only a minimal usability floor on your harness permissions, then offers recommended policies you opt into (Locked \u002F Standard \u002F Open — or YOLO to bypass). If you're creating or bringing up a rig, that's a choice you make, not something OpenRig decides for you — see openrig-user's \"Permission policy — pick one at setup\" and the `applying-a-permission-policy` skill.\n\n---\n\n## Going deeper (canonical references)\n\nFor real depth, these are the load-bearing canonical docs:\n\n| Reference | What it covers |\n|---|---|\n| `docs\u002Fas-built\u002FREADME.md` (source checkout) | As-built map of territory — daemon architecture, system overview, package boundaries; routes to architecture and UI modules via `codemap.md` |\n| `rig --help`, then `rig \u003Ccommand> --help` | The installed CLI surface, subcommands and flags |\n| `rig context get reference\u002Frig-spec.md` | The RigSpec YAML format — pods, members, edges, all fields |\n| `docs\u002Freference\u002Fagent-spec.md` (source checkout) | The AgentSpec YAML format — resources, profiles, imports |\n| `docs\u002Freference\u002Fagent-startup-guide.md` (source checkout) | The 7-layer startup layering model; delivery hints |\n| [Core vocabulary above](#the-core-vocabulary-read-these-terms-literally) | Vocabulary used in this skill (read literally) |\n| `openrig-operating-model` skill | Placement and operating-model guidance — topology and work trees, context altitude |\n| `openrig-architect` skill | Rig and topology authoring |\n| `https:\u002F\u002Fagentskills.io\u002Fspecification` | The cross-runtime skill standard |\n\nIf you're going to be authoring rigs, use the `openrig-architect` skill before\ntouching YAML.\n\n---\n\n## What this skill is NOT for\n\n- **Compaction recovery.** That's `claude-compaction-restore`. Different\n  skill, different scenario.\n- **Operating a specific rig.** Specific rigs have their own DESIGN.md and\n  CULTURE.md. Read those.\n- **Authoring a new rig.** Use the `openrig-architect` skill for that.\n- **Day-to-day OpenRig operation.** Use `openrig-user` for that.\n\nThis skill exists to **form your initial mental model of OpenRig as a\nsystem**. Once oriented, reach for the role-specific or task-specific skills\nthat fit your actual work.\n\n---\n\n## Common misorientations to avoid\n\n| Misorientation | Reality |\n|---|---|\n| \"OpenRig is a chat interface or assistant\" | No. OpenRig is a control plane that *manages* your harness sessions. The chat happens inside the harness; OpenRig is around it. |\n| \"Pods are workflow groups\" | No. Pods are **context domains** — agents that share working context. If two agents communicate every turn, they should be in one pod; if they communicate rarely, they shouldn't be. |\n| \"Edges represent reporting hierarchy\" | No. Edges describe *coordination shape* — who delegates to whom, who observes whom. Avoid hierarchy interpretations; they distort behavior. |\n| \"I should manage Codex's compaction the way I manage Claude's\" | No. Codex auto-compacts cleanly; Claude doesn't. Different runtimes, different lifecycles. |\n| \"MEMORY.md auto-loads, so I don't need to read it\" | Maybe. Sometimes MEMORY.md auto-loads via system reminders; sometimes not. Don't assume. If your work touches the topics it covers, read it explicitly. |\n| \"Skills inherit from a parent or compose like classes\" | No. Skills are flat artifacts; composition happens via AgentSpec `profile.uses.skills` (structural) or soft cross-references in skill bodies (advisory). Not via OO-style inheritance. |\n| \"The substrate `shared-docs\u002Fskills\u002F` folder is the canonical runtime path\" | No. The harness doesn't read there. It's an authoring workspace. Runtime loads from the seat's own skill storage, `.claude\u002Fskills\u002F`, `.agents\u002Fskills\u002F`, and product built-in. |\n\n---\n\n## Disaster-recovery test for this skill\n\nIf you read only this skill, can you:\n\n1. State what kind of system OpenRig is, in one sentence?\n2. Name the four layers and where you live?\n3. Run `rig whoami --json` and interpret the output?\n4. Find your role guidance and your peers?\n5. Identify what kind of rig you're in (kernel \u002F project \u002F ephemeral \u002F etc.)?\n6. Know where to look for a skill body (which folder)?\n7. Know what to read next for depth (the canonical references)?\n\nIf yes — you're oriented. If no — tell your peer or the human; missing\ncontext is fixable, but only if surfaced.\n",{"name":5,"metadata":24,"description":7},{"openrig":25,"cli_surfaces_referenced":33},{"stage":26,"sibling_skills":27},"factory-approved",[28,29,30,31,32],"openrig-user","openrig-architect","openrig-upgrade","agent-operated-workflows","agent-operated-software",[34,35,36,37,38,39,40,41],"ask","capture","down","ps","send","transcript","up","whoami","main","60438a272b68d091eddb01aad6e399af4996d536","rigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fforming-an-openrig-mental-model",4,"https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world","https:\u002F\u002Fgithub.com\u002Fmvschwarz","https:\u002F\u002Fopenrig.dev","Building OpenRig. Running rogue AI civilizations. Debugging their coordination problems.","2026-11-12 13:31:38",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add mvschwarz\u002Fopenrig-world --skill forming-an-openrig-mental-model",{"tool":57,"command":58},"bunx","bunx skills add mvschwarz\u002Fopenrig-world --skill forming-an-openrig-mental-model",{"tool":60,"command":61},"pnpm","pnpm dlx skills add mvschwarz\u002Fopenrig-world --skill forming-an-openrig-mental-model","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fforming-an-openrig-mental-model\u002FSKILL.md",true,[],[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DMSEDCRREMBJF57RQB59HC","notes","Use when taking notes.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Ftools\u002Ftest\u002Ffixtures\u002Finstall-verify\u002Fbundle\u002Fagents\u002Fteam\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DMSBZP9WE8MC09JDXFCR2F","software-for-agents","Use when older OpenRig instructions name software-for-agents or describe agent-in-the-middle or studio software under the former skill name.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fsoftware-for-agents\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DMS55VHEAGPXMHZJ7FX94R","session-compaction-and-restore","Use when reasoning about what survives compaction\u002Fcontext-loss\u002Frestart\u002Fseat-refresh, designing a high-fidelity restore packet, or distinguishing native runtime resume vs fork vs artifact-backed mental-model rebuild. Covers the 4 failure modes that prevent honest restore (compacted seat drops hot potato; restore packet preserves details but loses product intent; runtime resume mistaken for handover or fork; rebuilt seat starts with stale instructions).","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fsession-compaction-and-restore\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DMRYQK0JTV7MMVHFWZ0BW0","seat-continuity-and-handover","Use when replacing a seat's occupant (rebuild\u002Fhandover\u002Fswap), reasoning about stable-seat-identity vs fluid-occupant-identity, choosing an old-occupant disposition (retire\u002Fadvise\u002Fshadow), or recording provenance for an occupant change. Two independent outcomes (continuityOutcome + seatBindingOutcome) and the 5 failure modes that prevent silent dishonesty.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fseat-continuity-and-handover\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7DMRP6RRGCJZSH9CE3PC1MY","retiring-and-inheriting-a-seat","Use when you are a sitting agent near your context threshold (~85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure), physical-seat continuity, the do-not-over-inherit framing, the optional warm-handoff window, and wake-v0 (consulting a retired predecessor). NOT for unplanned compaction\u002Fcrash recovery (session-compaction-and-restore \u002F claude-compaction-restore) and NOT the seat-binding primitive mechanics (seat-continuity-and-handover).","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Fretiring-and-inheriting-a-seat\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7DMRJGN6Z8TZDR7JNHXH6KX","refocusing","Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.","https:\u002F\u002Fgithub.com\u002Fmvschwarz\u002Fopenrig-world\u002Fblob\u002Fmain\u002Frigs\u002Fworkshop\u002Fagents\u002Fworkshop\u002Fskills\u002Frefocusing\u002FSKILL.md",[],[]]