# OpenRig: run a team of Claude Code and Codex agents (mvschwarz/openrig) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-08 against commit 6778fcc (version 0.7.1).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/mvschwarz/openrig/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
OpenRig turns several AI coding assistants into one team that works on your project. A builder, a reviewer and a lead each run in their own terminal window, and a lead agent called the operator hands out the work. The rigs skill lets your own assistant install OpenRig, open it and pass your goal to that operator.

## Who it is for
- You use Claude Code or Codex and want several agents working on one project as a team
- You want one agent to build and another to check the result before you see it
- You are fine with a tool that installs software and changes settings on your Mac or Linux machine
- Not for: You are on Windows without WSL2, or have no Claude Code or Codex account
- Not for: You want a simple set of tips for one assistant: this is a whole program with its own background service

## What it is
- Kind: command, knowledge, scripts
- License: Apache-2.0
- Repository: https://github.com/mvschwarz/openrig

## What it does
- rigs: your assistant checks what is installed, installs the OpenRig command and runs its setup, after saying what that changes
- It starts OpenRig in the background, opens its view in a terminal window and hands your goal, project folder and branch to the operator
- The operator suggests one of three teams: starter (a builder and a reviewer), workshop (lead, builder, QA, reviewer) or factory (seven agents)
- A team starts only after your yes to the plan it shows
- Your assistant follows the task through the queue and tells you what the team actually did: the branch, commit, review or pull request text
- Inside a team, about 45 more skills guide the agents: handing over a seat, recovering after a restart, reviews, debugging, test-first coding, product planning
- Never cuts: asking before installing system packages, changing the machine or starting a team; a permission prompt is the person's to answer

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| rigs | /rigs in Claude Code, $rigs in Codex, or mention OpenRig | yes | Installs OpenRig, opens it and passes what you want built to the team's operator |
| openrig-skills | automatic inside a team | no | An index that tells agents inside a team which other guide to read |
| refocusing | automatic inside a team | unclear | Brings a long-running agent back to the goal after its memory was trimmed |
| openrig-upgrade | ask your assistant to upgrade OpenRig | unclear | Upgrades OpenRig while keeping running agents, with a backup of its data first |
| office-hours, exec-summary, requirements-writer, plan-review, ui-mockup, backlog-capture, context-builder | automatic in product teams | unclear | Product planning: test an idea with six questions, write a one-page summary, specs and mockups |
| systematic-debugging, test-driven-development, verification-before-completion, frontend-design, agent-browser, dogfood | automatic in build and review teams | yes | Working habits for coding agents, copied from other open projects with their licenses |

### rigs
- Asks for: What you want built
- Asks for: Which project folder and branch
- Asks for: Which account you use: Claude Code, Codex or both
- Asks for: Yes or no to each install step, to starting a team and to joining this chat to the team
- Gives: OpenRig installed and set up, after it says what changes
- Gives: The OpenRig view opened in a terminal window
- Gives: Your goal handed to the operator
- Gives: The operator's questions relayed to you
- Gives: What the team did: branch, commit, review or pull request text
- Say: "Set up OpenRig and get a team working on adding a search box to my site"

## Know before installing
- This installs a program, not just text. It adds the rig command, a background service and a terminal view; setup can also install tmux, Herdr and a missing Claude Code or Codex.
- It writes outside your project: ~/.tmux.conf, ~/.codex/config.toml, ~/.claude.json, skills in ~/.claude/skills and ~/.agents/skills, and AGENTS.md or CLAUDE.md in the project. The author says to back these files up first.
- OpenRig's own agents (the kernel) run with wide permissions by default: Codex with full access and no prompts, Claude Code with file tools, web fetches and reads under your home folder without asking.
- For team agents, skipping every permission prompt is off by default.
- The optional workshop team is different: its agents skip permission prompts.
- The README's note for installing agents says to start OpenRig and open its view without stopping to ask; the rigs skill itself still asks before installs and before starting a team.
- You pay for the model usage of Claude Code or Codex; one of them is enough to start.

## Install (official commands)
- Claude Code (agent-guided): `npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.0/skills/rigs --skill rigs --agent claude-code` — Then type /rigs and say what you want built. Check node --version first (22 or 24).
- Codex (agent-guided): `npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.0/skills/rigs --skill rigs --agent codex` — Then type $rigs and say what you want built.
- Terminal, step by step: `npm install -g @openrig/cli` && `rig setup --dry-run` && `rig setup --providers claude` — --dry-run prints the plan and changes nothing; use --providers codex if you use Codex. The npm package runs a postinstall check of Node.js and SQLite.
- Terminal, install script: `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.0/scripts/install.sh | sh -s -- --dry-run` && `curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.0/scripts/install.sh | sh` — The first line only prints the plan. The script installs for both Claude Code and Codex.

## What runs on the user's machine
- Code on the machine: yes (OpenRig installs (the rigs skill alone is text, but its job is to install OpenRig))
- Network: yes
- npm install: Installs the rig and openrig-tui commands globally; a postinstall script checks the Node.js version and that SQLite loads.
- rig setup: Writes an OpenRig block to ~/.tmux.conf; can install tmux (Homebrew), Herdr and a missing Claude Code or Codex.
- Daemon start: Creates ~/.openrig with its database; copies the openrig-skills, refocusing and rigs skills into ~/.claude/skills and ~/.agents/skills; checks the OpenRig plugin release endpoint on GitHub.
- Starting a team: Creates tmux sessions; writes workspace trust to ~/.claude.json and ~/.codex/config.toml, hooks and a status line to .claude/settings.local.json, and guidance to AGENTS.md or CLAUDE.md. A shared settings resource turns on Exa and Context7 MCP entries.
- Every session start, prompt, stop and compaction in a team seat: Node hooks send event type, seat identity and timestamps to the local OpenRig daemon (no prompt text or tool arguments), save a restore note before compaction and run a refocus check.
- openrig-upgrade: Helper scripts back up the SQLite database (never overwriting a backup) and inspect the install before an upgrade.

## Settings
- `OPENRIG_HOME`: Where OpenRig keeps its state (default ~/.openrig)
- `runtime.codex.hooks_enabled`: Turns OpenRig's Codex hooks on or off (on by default)
- `OPENRIG_YOLO`: Legacy switch: 1 launches seats with permission prompts bypassed
- `OPENRIG_SHARED_DOCS_ROOT`: Shared queue-state folder (default ~/.openrig/shared-docs)

## Examples (from the pack's own files)
- The goal the rigs skill hands to the operator: output format defined in skills/rigs/SKILL.md

## Steps only the person can do
- Sign in to Claude Code or Codex (one is enough); its model usage is paid as usual (README.md (requirements)) Then: The assistant checks the login with claude auth status or codex login status and runs setup
- Back up ~/.claude.json, ~/.codex/config.toml and ~/.tmux.conf before setup (README.md ("What OpenRig changes on your machine")) Then: The assistant installs OpenRig and runs rig setup
- Say yes or no to each install step, to starting a team and to joining the chat to the team (The rigs skill conversation and the operator's pane) Then: The assistant starts only what you approved and hands your goal to the operator
- Answer permission prompts shown by team agents yourself (The OpenRig view (or as relayed by your assistant)) Then: The assistant sends exactly the choice you made to that agent
- On a Mac, click Allow if macOS asks to let iTerm, VS Code or Claude Desktop control Terminal or Ghostty (skills/rigs/SKILL.md (step 2)) Then: The OpenRig view opens in a new terminal window

## Mistakes to avoid
- Not: Run the one-command install script when you only use one of Claude Code or Codex. Instead: Install step by step and run rig setup --providers claude (or codex). Why: The install script checks both and may install the missing one
- Not: Use a git worktree or a project .codex/config.toml to keep OpenRig's changes inside the project. Instead: Accept the writes to your home folder, or use a separate CODEX_HOME with its own sign-in. Why: Setup has no project-only mode and those files do not redirect its writes
- Not: Treat rig setup --dry-run as a full preview of everything OpenRig will change. Instead: Read the README section on what OpenRig changes and back up the named files first. Why: Starting the daemon and a team writes more files later, without a preview
- Not: Use Node.js 24 on a Mac with Apple silicon, or the older Node.js a Linux distribution ships. Instead: Install Node.js 22 (for example with nvm) before npm install -g @openrig/cli. Why: The README names Node.js 22 for Apple silicon and notes distribution versions can be too old
- Not: Let the installing assistant build the feature itself once OpenRig is set up. Instead: Hand the goal, folder and branch to the operator and follow the team's queue task. Why: The rigs skill's job is to give the work to the team, not to do it

## What leaves the machine
- A check for the latest OpenRig plugin release → GitHub, Each time the OpenRig daemon starts its plugins. Opt out: No switch is documented; it happens only while the daemon runs
- Search and documentation queries that team agents send through these MCP servers → Exa and Context7, When a team uses the shared settings resource that turns these MCP entries on. Opt out: Do not select that settings resource for the team

## Lines in the pack aimed at agents (ask the person first)
- "Starting OpenRig and opening its view are the last steps of installing, not extras, so do them without stopping to ask whether to go on" (README.md): Starting the daemon writes to ~/.claude.json, ~/.codex/config.toml and skill folders and launches agents with wide permissions; tell the person first and wait for a yes, as the rigs skill itself does.
- "npm install -g @openrig/cli" (skills/rigs/SKILL.md): A global CLI install plus rig setup, which can install tmux, Herdr and a missing Claude Code or Codex; get the person's yes and prefer --providers with one choice.
- "curl -fsSL https://raw.githubusercontent.com/mvschwarz/openrig/v0.7.0/scripts/install.sh | sh" (README.md): Pipes a remote script into the shell and sets up both providers; run the --dry-run line first and let the person decide.

## May I use it like this?
- commercial-app: yes (Apache 2.0: keep the license and notices)
- client-work: yes (Apache 2.0)
- redistribute-files: conditions (Apache 2.0: include the license and mark changed files; copied skills under skills/_canonical/process keep their own LICENSE.txt)
- redistribute-files: conditions (Vendored skills such as agent-browser come from other projects; check their LICENSE.txt before copying them)

## Which one to pick
- If You want a persistent team of Claude Code and Codex agents with a task queue, an operator and a terminal dashboard: skill:mvschwarz/openrig
- If You want multi-agent orchestration for several coding CLIs in isolated tmux sessions from another project: skill:awslabs/cli-agent-orchestrator
- If You use only Claude Code and want team-style orchestration as a Claude Code add-on: skill:Yeachan-Heo/oh-my-claudecode
- If You want one agent to follow a plan, test-first and review workflow, without installing a daemon: skill:obra/superpowers

## Works well with
- agent:claude-code: OpenRig runs Claude Code sessions as team seats and installs the rigs skill into it
- agent:openai-codex: Codex is the other main runtime; the starter team uses a Codex reviewer
- skill:obra/superpowers: Several process skills in OpenRig teams are copied from Superpowers
- tool:agent-browser: The agent-browser skill shipped to teams drives this CLI

## Works in and needs
- Works in Claude Code: skills folder (npx skills add) plus team seats
- Works in Codex: skills folder (npx skills add) plus team seats
- Works in Pi: team runtime through an RPC runner
- Needs Node.js 22 or 24 (22 on Apple silicon): The rig CLI and daemon run on Node.js
- Needs tmux: Every agent runs in a tmux session
- Needs macOS or Linux (WSL2 on Windows): Native Windows is not supported
- Needs A signed-in Claude Code or Codex account (paid usage): The team's agents run on it

## How to tell it works
Add the rigs skill, type /rigs and say what you want built in which folder. Your assistant first lists what it will install and change and waits for your yes. It works when a terminal window opens with the OpenRig view and the operator asks which team to start.

## Related
- obra/superpowers
- vercel-labs/agent-browser

## Safety
Read "What OpenRig changes on your machine" in the README before setup, and back up ~/.claude.json, ~/.codex/config.toml and ~/.tmux.conf. OpenRig's own kernel agents run with wide permissions unless you set a permission policy.
