Forming An Openrig Mental Model 标志

Forming An Openrig Mental Model

社区热门
mvschwarz
forming-an-openrig-mental-model

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
代码仓库openrig
技能名称forming-an-openrig-mental-model
星标数
5K
复刻数
366
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 mvschwarz 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Forming An Openrig Mental Model AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mvschwarz/openrig/tree/main/packages/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mvschwarz/openrig.git /tmp/openrig
mkdir -p .claude/skills
cp -r /tmp/openrig/packages/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model .claude/skills/forming-an-openrig-mental-model
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Forming An Openrig Mental Model,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Forming An Openrig Mental Model。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Forming An Openrig Mental Model 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

LayerNameAnalogyWhat it is
L0ModelCPUFoundation model — Claude, GPT, Gemini. Stateless tokens-in/tokens-out.
L1Agent CoreProcess loopThe reason-and-act cycle: observe, plan, choose, act, repeat.
L2HarnessContainer / OSTools, memory, lifecycle around the model. Examples: Claude Code, Codex CLI.
L3RigDocker Compose / TerraformMulti-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:

PillarWhat it isWhere it lives
OntologyWhat exists. Curated knowledge — facts, code maps, as-built docs.Shipped public context packs plus project-authored docs; discover with rig context list.
EpistemologyWhy an agent believes what it believes — reasoning, instincts, decisions.Transcripts (auto-captured). Session logs. ADRs.
TopologyHow 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)

TermWhat it means
RigA topology of agents working together as a single system. Defined in YAML (RigSpec). The top-level object.
PodA bounded context group within a rig. Members of a pod share a context domain and continuity responsibility. Think Kubernetes pod for knowledge.
Member / NodeA single agent (or terminal-node service) within a pod.
EdgeA relationship between members or pods. Kinds: delegates_to, spawned_by, can_observe, collaborates_with, escalates_to.
TopologyThe shape of the rig — how agents are grouped into pods, how edges connect them, how the whole thing fits together.
AgentSpecA reusable agent blueprint. Defines skills, guidance, hooks, profiles, startup. File: agent.yaml.
RigSpecThe topology YAML. Defines pods, members, edges, culture. File: rig.yaml.
RigBundleA portable archive of a RigSpec + vendored AgentSpecs. Move topologies across machines.
Agent StarterA named, reusable starting context bundle. RigSpec member can declare starter_ref.
SkillA markdown file with frontmatter that an agent loads at boot or on activation. Cross-runtime standard at agentskills.io.
ProfileA named configuration within an AgentSpec. The rig spec's member field selects which profile to use.
CultureRig-wide constitution — how the team communicates, what "done" means, escalation rules. File: CULTURE.md.
SnapshotPoint-in-time capture of a rig — sessions, conversations, state. Restorable.
Session name{pod}-{member}@{rig}. The canonical address for tmux sessions and agent-to-agent messaging.

The session-name format {pod}-{member}@{rig} is your address. When you run rig whoami --json, you get back your full topology context: rig name, pod, member, peers, edges, transcript path.


Rig classes (what kind of rig am I in?)

OpenRig has five rig classes. The class determines authoring discipline, supervision, and lifecycle policy.

ClassPurposeLifecycle
kernelHost-level supervision, intake, authoring. One per host.Always on; never auto-hibernated.
projectLong-lived team bound to a codebase.Stays hot when active; hibernates on explicit request.
ephemeralShort-lived mission (research, build, migration, spike).Spawn → work → retire.
infra-buildSubclass of ephemeral whose output becomes permanent infrastructure.Retired only after output verified in place.
managed-appServices-backed rig with specialist agents (e.g., a vault specialist, a skill librarian).Long-lived; accessed by other rigs.

You're probably in a project rig or managed-app rig if you're doing substantive work. Knowing your class helps you understand the supervisory expectations on your seat.


How skills load (the most important thing to get right)

Skills are an established cross-runtime standard at https://agentskills.io/specification. Both Claude Code and Codex build on it.

The shape

A skill is a directory containing SKILL.md (uppercase). The SKILL.md has YAML frontmatter (name, description) and a Markdown body. Optional sibling directories: references/, scripts/, assets/.

Progressive disclosure (why skills scale)

The harness reads frontmatter cheaply at boot — names + descriptions of all available skills. Body content loads only when a skill activates. This is ambient awareness — you know all the skills exist; you only pay token cost when you reach for one.

Where skills come from in OpenRig

  • Per-agent loadout: your AgentSpec's profile.uses.skills: [...] determines what skills get projected into your runtime skill folder (.claude/skills/ or .agents/skills/) before your harness boots. This is the structural composition layer.
  • Cross-pod sharing: AgentSpecs can imports: [shared] to access a shared skill pool. Built-in agents commonly do this.
  • Belt-and-suspenders: the spec projects skill files; startup guidance also tells you to load specific skills. Both paths matter — if the projection silently fails, the guidance still tells you what to read.

Where skills live (sources of truth)

HomePurpose
<rig-cwd>/.claude/skills/, <rig-cwd>/.agents/skills/Where the harness actually loads from. Populated by rig up.
~/.claude/skills/, ~/.agents/skills/User-level harness skill directories. Inspect the current projection and harness configuration to determine which skills are installed and where they came from.
packages/daemon/{specs/agents/shared/skills,assets/plugins/*/skills}/ (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, …).
the skills authoring workspaceSkill authoring source (not runtime-loaded).

The product already discovers its installed shared skill pool and serves packaged context through rig context list/get. Discovery and retrieval do not prove that every skill was projected into every harness. Inspect the selected profile and actual runtime directories; do not assume a universal home/bootstrap installation from this table.


The product loop (your day-to-day)

rig up <rig-name>         # boot or restore the topology
rig ps --nodes            # see what's running
rig whoami --json         # know who you are
rig send <session> "msg"  # talk to a peer
rig capture <session>     # see a peer's terminal
rig transcript <session>  # read a peer's history
rig down <rigId>          # snapshot and tear down
rig up <rig-name>         # restore from snapshot

The first command in any new seat is rig whoami --json. It tells you your rig, pod, member, peers, edges, and transcript path. Treat it as ground truth — your CLAUDE.md or AGENTS.md startup overlay can be wrong; whoami is authoritative.


Cultural posture (how to behave)

OpenRig has a few load-bearing cultural principles. Internalize these:

  • Honesty over convenience. If resume fails, say so loudly. Don't silently launch fresh.
  • The agent is the power user. The CLI is designed for a 10x staff engineer at the terminal. You're that user.
  • CLI is context engineering. Every error message and help text gives you information to act on. Read errors carefully.
  • Convention over invention. Follow docker/git/kubectl patterns. Agent muscle memory is real.
  • Semi-deterministic is OK. Core contracts are solid; edge cases are agent-handled.
  • Pets, not cattle (today). OpenRig is currently optimized for long-lived agents that develop instincts over sessions. Cattle support is on the roadmap.

What you should do in your first 10 minutes

If you're booting into a new seat in an OpenRig rig:

  1. rig whoami --json — recover identity. Know your rig, pod, member, peers.
  2. Read your role guidance — typically delivered via startup files. guidance/role.md for your specific seat.
  3. Read the rig's CULTURE.md if it has one — the team operating manual.
  4. Check what skills you have — list .claude/skills/ or .agents/skills/ in your cwd. Each skill has a frontmatter description that tells you when to reach for it.
  5. Check your peers — rig capture <peer-session> to see what they're doing.
  6. Check the transcripts if you're returning to an in-flight workstream — rig transcript <session> --tail 100 for recent context.
  7. Ask rig ask <rig> "<question>" if you need cross-cutting evidence from the rig's transcripts and chat.

You're now oriented enough to start doing useful work.

Permission policy (at setup): OpenRig sets only a minimal usability floor on your harness permissions, then offers recommended policies you opt into (Locked / Standard / 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.


Going deeper (canonical references)

For real depth, these are the load-bearing canonical docs:

ReferenceWhat it covers
docs/as-built/README.md (source checkout)As-built map of territory — daemon architecture, system overview, package boundaries; routes to architecture and UI modules via codemap.md
rig --help, then rig <command> --helpThe installed CLI surface, subcommands and flags
rig context get reference/rig-spec.mdThe RigSpec YAML format — pods, members, edges, all fields
docs/reference/agent-spec.md (source checkout)The AgentSpec YAML format — resources, profiles, imports
docs/reference/agent-startup-guide.md (source checkout)The 7-layer startup layering model; delivery hints
Core vocabulary aboveVocabulary used in this skill (read literally)
openrig-operating-model skillPlacement and operating-model guidance — topology and work trees, context altitude
openrig-architect skillRig and topology authoring
https://agentskills.io/specificationThe cross-runtime skill standard

If you're going to be authoring rigs, use the openrig-architect skill before touching YAML.


What this skill is NOT for

  • Compaction recovery. That's claude-compaction-restore. Different skill, different scenario.
  • Operating a specific rig. Specific rigs have their own DESIGN.md and CULTURE.md. Read those.
  • Authoring a new rig. Use the openrig-architect skill for that.
  • Day-to-day OpenRig operation. Use openrig-user for that.

This skill exists to form your initial mental model of OpenRig as a system. Once oriented, reach for the role-specific or task-specific skills that fit your actual work.


Common misorientations to avoid

MisorientationReality
"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.
"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.
"Edges represent reporting hierarchy"No. Edges describe coordination shape — who delegates to whom, who observes whom. Avoid hierarchy interpretations; they distort behavior.
"I should manage Codex's compaction the way I manage Claude's"No. Codex auto-compacts cleanly; Claude doesn't. Different runtimes, different lifecycles.
"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.
"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.
"The substrate shared-docs/skills/ folder is the canonical runtime path"No. The harness doesn't read there. It's an authoring workspace. Runtime loads from .claude/skills/, .agents/skills/, and product built-in.

Disaster-recovery test for this skill

If you read only this skill, can you:

  1. State what kind of system OpenRig is, in one sentence?
  2. Name the four layers and where you live?
  3. Run rig whoami --json and interpret the output?
  4. Find your role guidance and your peers?
  5. Identify what kind of rig you're in (kernel / project / ephemeral / etc.)?
  6. Know where to look for a skill body (which folder)?
  7. Know what to read next for depth (the canonical references)?

If yes — you're oriented. If no — tell your peer or the human; missing context is fixable, but only if surfaced.

常见问题

Forming An Openrig Mental Model AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Forming An Openrig Mental Model?

因为您只需安装一次,就能搭配任何模型使用。Forming An Openrig Mental Model 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Forming An Openrig Mental Model?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mvschwarz/openrig/tree/main/packages/daemon/assets/plugins/openrig-core/skills/forming-an-openrig-mental-model。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Forming An Openrig Mental Model?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Forming An Openrig Mental Model 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Forming An Openrig Mental Model 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Forming An Openrig Mental Model AI 技能免费吗?

是的。mvschwarz 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇