Use when a person in their own Claude Code, Codex or OMP (Oh My Pi) session mentions OpenRig, rigs or the rig command, or wants a team of coding agents (Claude Code, Codex, OMP) on their project. That includes installing, setting up, starting or updating OpenRig, seeing, getting back to or re-attaching to their OpenRig agents (including bringing a stopped team back), TUI or operator, starting or sharing a team, and joining this session to one. Operating a running rig from inside it (fleet rec...
9,038 stars
0 votes
0 copies
4 views
Added October 6, 2026
ai-agentsrustgoshellsqlnodegitdatabase
Works with
claude code
terminal
cli
mcp
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rigs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mvschwarz-rigs)
---
name: rigs
description: Use when a person in their own Claude Code, Codex or OMP (Oh My Pi) session mentions OpenRig, rigs or the rig command, or wants a team of coding agents (Claude Code, Codex, OMP) on their project. That includes installing, setting up, starting or updating OpenRig, seeing, getting back to or re-attaching to their OpenRig agents (including bringing a stopped team back), TUI or operator, starting or sharing a team, and joining this session to one. Operating a running rig from inside it (fleet recovery, seat handover, watchdog wakes, in-rig upgrades) is the openrig-skills skill.
---
# rigs: your route into OpenRig
OpenRig runs a team of coding agents (Claude Code, Codex and others) side by side in tmux. A local daemon keeps their
tasks, messages and state, so the team keeps working across restarts. This skill gets OpenRig installed, gets a team
working on what the person wants, and shows how to work with that team from here.
Install OpenRig to run a persistent team on your own machine, work with local files, and track work across agents. If a
connector is already configured, its tools are also available here:
[Requests through OpenRig's MCP tools](https://github.com/mvschwarz/openrig/blob/main/docs/reference/mcp-requests.md)
says how to use them.
**Read this file through now, before you act.** It's short: the principles first, then the four steps. Each step names
the file in `references/` that holds its cases; open that file when you reach the step. If a read comes back shortened,
read the rest in parts (`sed -n '1,150p' SKILL.md`, then `'151,$p'`).
**If this skill reached you as a file, not through your skill tool,** that's expected when you added it to a session
that was already running: Claude Code doesn't list a skills folder created after the session started until the person
types `/reload-skills` (Claude Code 2.1.152 or later) or starts a new session, and only they can type that. Reading this
file is loading it. Follow it from here, not the install notes that sent you, and don't tell the person OpenRig is set
up until step 2's handover is done. The same goes if `/rigs` or your skill tool said this skill doesn't exist. In Codex,
`rig daemon start` also puts this skill in `~/.agents/skills/rigs`, which Codex lists among your skills from your next
turn: from then on it's your listed `rigs` skill, so follow its steps, the plugin offer included, as you would any skill
you use.
**The goal is a team doing the person's work, not just an install.** Go through the steps in order and stop early only
if the person asks. Give what they want built to OpenRig's operator (step 2) instead of building it yourself or with a
subagent, even while an install step waits on their answer.
**If the person uses Codex:** when OpenRig is running, or they ask for fewer permission prompts, read
[the one-time offer](references/codex-rules-offer.md). In the current session, offer the ready operator
handoff first; new rules apply only from the next Codex session. Keep the permissions they chose.
**The journey, in order** (each step is below; these are the ones that get skipped):
1. Install and set up OpenRig (step 1).
2. Start OpenRig. If no one is registered, offer to register the person before the handoff (step 2).
3. Hand the goal to the operator with a return route (step 2), even with one provider signed in or no OpenRig window:
the operator fits the team to the person's logins. Don't start a team yourself unless they ask.
4. Right after the handover, start the background wait in step 2 as the receipt prints it (a wait on one task's state
misses new tasks the team sends), and start it again each time it ends, once you've handled what it brought, for as
long as work you handed over is open. Keep it with the plugin too: its hooks check
only for two hours after each Claude Code turn, and a setting can turn them off. Without the plugin or a running
wait, nothing tells you the team asked: its questions wait until the person asks you. Don't say you'll notice the
team's next task unless one of them is on.
5. Then offer the openrig plugin, unless this app already has it (step 2). If any other question to the person is open
(registering, the OpenRig window, a commit author, the operator's first questions), ask or relay it first and wait
for the reply; then offer the plugin in your next message, alone, never in a list or a plan they approve. It's due
once their answers to the operator's first questions are relayed or, if its first reply asks them nothing, once
you've passed that reply on: never right after the handover, and never as an item in a list of what's left. It
doesn't hold up the work. In Claude Code, a yes is one command they type here, which installs it and makes it
active; they can type it while you work. After a yes, until it's installed or they say not now, end each message to
them with that command, relays included, so the team's prompts don't push it off their screen. In Codex, make it as
the fact it answers: nothing wakes you between turns, so a question the team sends while they're away waits until
they next write. With a Codex whose `codex queue` has `--resume` (0.171.0 does), the plugin brings it here by
itself; an older Codex, such as 0.162.1, still holds it until their next message, so offer the upgrade with it. Ask it in your reply and end your turn: not with a question
tool, and not as the approval of an install command.
6. Follow the work to its result, and list your address's tasks at the start of each turn (step 3). Bring the team's
prompts here for the person to answer: never send them to attach to a seat's terminal, and never type raw tmux keys
into a seat (principle 4).
## The principles
Hold to these from the first handoff, even if you read nothing else here. Each has one example; the reference it names
has the cases.
1. **The team's questions are the person's.** A seat's permission, trust or hook-review prompt is theirs to answer:
show it to them and send only the choice they made. Approving a plan, a task or "go ahead" isn't an answer to the
prompts that work raises, and never tell the team they approved something unless they said so.
*Example:* the builder stops at "Allow `git commit`?". Tell the person the seat, the exact action and the choices,
wait for their answer, and send only that.
2. **An answer covers exactly the prompt it answered.** A later prompt, even one like it, goes back to them, unless
they told you outright to decide that kind of prompt.
*Example:* their "yes, this once" to one test run doesn't cover the next test run.
3. **Hand work over with a return route, and keep a wait running while it's open.** The team's questions and its
result then come to this conversation's address as tasks, and the wait in step 2, or the openrig plugin's hooks,
tells you one arrived. Without either, the team's questions wait until the person asks you, so don't say you'll
notice them unless one is on.
*Example:* `rig queue create --destination <operator> --return-route auto ... --verify`, then step 2's background
wait, started again each time it ends.
4. **Bring the team's prompts here; don't send the person to attach** to a seat's terminal to answer, and don't type
raw tmux keys into a seat. Answer a seat's own ask, or send their choice with `rig send`. If your app refuses that
send, tell them what it refused and why, and let them choose; don't retry it another way.
*Example:* not "run `tmux attach -t dev-build@starter` and press 1", but "The builder wants to run `git status`.
Allow it?", then relay their answer.
The full rules, the original wording included: [references/seat-prompts.md](references/seat-prompts.md).
5. **Say what you'll run and change before you run it.** Don't install system packages or change their machine
without a yes, and don't start a team, including `rig up`, without their yes to what it will start; a yes they
already gave for that same launch counts, so don't ask twice.
*Example:* "Setup will install tmux with Homebrew and add an OpenRig block to `~/.tmux.conf`. OK?"
What OpenRig writes, a project-only request, a seat limited to the project, keeping their own login, Codex's
approvals, and giving the person a path that exists on their side when they run something in their own terminal:
[references/writes-and-scope.md](references/writes-and-scope.md). Read it before setup or the first start whenever
one of those applies, and before Codex seats first start: say what they write in the shared Codex config.
6. **Read OpenRig's state with `rig` commands** (`rig queue`, `rig ps`, `rig whoami`), never by opening its database
file: that file is OpenRig's own, and its layout changes between versions.
*Example:* `rig queue show <id> --full`, not a query on `~/.openrig/openrig.sqlite`.
7. **The team builds; you don't.** Give what they want built to OpenRig's operator (step 2), and follow the work to
its result (step 3).
*Example:* asked to "add a --top flag to my tool", you hand that goal to the operator rather than editing the code.
## 1. Install OpenRig, if it isn't installed
- **Check first:** `rig --version`. If it prints a version, run `rig doctor`; when its `rig_login_shell` row warns, give
the person its Fix. Then go to step 2.
- **What it needs:** macOS or Linux, Node.js 22 or 24, tmux, and Claude Code or Codex signed in. Check only what's
missing: `node --version`, `tmux -V`, `claude auth status` or `codex login status`.
- **Install:** `npm install -g @openrig/cli`, then `rig setup --providers codex` (or `claude`, or `both`: the harness
the person uses). Say first what setup does: it can install tmux or the harness, installs Herdr for the OpenRig view
unless they decline it (`--no-herdr`), and adds an OpenRig block to `~/.tmux.conf`. It doesn't start the daemon.
Leave the openrig plugin out of that list: it's offered after the handover, as a message of its own (step 2).
Then `rig doctor`, and carry any missing login into the handoff. Read setup's whole output, not just its end: step 2
here is the path to follow, and setup's manual path has no return route. A global prefix npm can't write to, nvm, a
check that fails falsely in a sandbox: [references/install-and-plugin.md](references/install-and-plugin.md).
- **Then go on to step 2:** say it's installed and ask what they want worked on, and in which
repository. A plain "install OpenRig" includes this. Stop here only if they say not to start a team.
- **If something fails:** `rig context get help` is the help guide for the installed version. If `rig` itself won't
run, use https://www.openrig.dev/help/agents. Getting started: https://openrig.dev/docs/getting-started
## 2. Open OpenRig and give its operator the goal
A seat's startup text points an installing agent here. [references/installing-for-someone.md](references/installing-for-someone.md)
adds what this step does not spell out (starting the daemon and kernel, what counts as ready and as finished) and relays the same
commands; if the two ever differ, this step is right.
- **Start OpenRig:** `rig daemon status`, and `rig daemon start` if it isn't running. If a supervisor (systemd, launchd)
runs it, restart it there instead: `rig daemon start` gives it this shell's environment, bearer tokens included.
`rig preflight` and `rig doctor` don't start it. Starting it also starts OpenRig's own team, the kernel, whose operator sets up the person's team.
Keep it. Then check who answers OpenRig's questions ("Before the first send" below; the details are in references/joining-and-people.md) before you hand over
the goal: if no one is registered, make that offer, whether or not the start's output named it, and register only
on the person's yes.
- **If the person uses Codex:** now that OpenRig is running, make the one-time offer in
[references/codex-rules-offer.md](references/codex-rules-offer.md).
- **Show them OpenRig, the handoff:** once OpenRig is running, open the OpenRig TUI and operator for the person. Say
you're opening it, then run `rig terminal open saved:kernel --window` on the daemon's desktop. This is the next step
after installing or starting OpenRig; don't wait to be asked. If they've said not now, give them that command for
later. Where it opens from each kind of terminal, and when to say "Allow is fine" for a macOS prompt:
[references/opening-the-view.md](references/opening-the-view.md). Then tell the person in a sentence or two where it
opened and that the operator is ready for what they want to build; don't list agents or statuses.
- **If the window can't open, or over headless SSH:** say plainly that no visible terminal was opened, and ask the
person to open a new terminal window or tab on the daemon's host. Over SSH, that's a new SSH session to it with the
known account. If you only know an HTTP daemon address, ask for the SSH details rather than inventing them. Then
give them one complete command:
- **The command OpenRig printed:** when `rig terminal open saved:kernel --window` can't open a window, it says why
and ends with `run:` and a command (the `error` field with `--json`). That command already names the installed
herdr binary and the daemon's socket, or the conversation to attach. Relay it exactly rather than composing one.
If a note asks you to place the view once Herdr starts, run that `rig terminal open` yourself after they start it.
- **If it printed no command:** find `operator.agent` in
`rig ps --nodes --rig kernel --json --fields logicalId,canonicalSessionName,tmuxAttachCommand` and give
`env -u TMUX` followed by its `tmuxAttachCommand`, exactly as listed (never a guessed name), for the operator's
conversation. That command names the daemon's tmux server when it isn't the default one.
For any other failure, the table under "What can interrupt installation and the OpenRig view" in
`rig context get reference/getting-started.md#open-the-kernel-conversations` says why and what to do next.
- **Before the first send,** offer to join this session to the team (optional, on their yes only), and check who
answers OpenRig's questions (`rig gateway participants`): if nobody is registered, offer to register the person, and
register only on their yes. What to say, and the commands: [references/joining-and-people.md](references/joining-and-people.md).
- **Give the operator the goal:** ask what they want worked on, in which repository and on which branch, unless they've
said. Hand it over by where the person will answer the team. Staying here is the default: the pane route needs their
explicit choice.
- **They stay here** (they said so, or they haven't chosen the pane): hand the goal over as a task with a return
route ("If the person stays with you" below), giving the operator your return address for the team's questions and
result. A seat's prompt may still not reach this conversation. Tell them in a line that this goal's route selects
this conversation ahead of a Slack connection they've registered; their other work doesn't change, and they can
talk to the operator in its pane instead whenever they like. Don't tell the operator they'll answer in its pane.
- **They'll talk to the operator in its pane** (when they chose it): offer the pane only once the view opened where
they can see it; check how `rig terminal open` ended, above, first. If they chose it and no view can open, give them
the connection step above and keep their choice, and say the pane is pending until they open or attach to it.
Find the `operator.agent` row in `rig ps --nodes --rig kernel --json`, take its `canonicalSessionName` (never the
logical ID or a guessed name) and send:
`rig send <canonicalSessionName> 'This is the agent that installed OpenRig. The person will answer in your pane. Goal: <goal>. Project folder: <absolute path>. Branch: <branch>.'`
If no view opened, put this in place of its second sentence: "The person chose to answer in your pane; it is not open
for them yet, so your questions wait there until they open or attach to it."
- **Their choice holds:** a later goal goes by the route they chose until they say otherwise. Don't ask where they'll
answer before the handoff, and don't switch routes on your own.
Carry their constraints, which logins they have (an installed provider that isn't signed in doesn't count), and any
permission choice they made, chosen or declined, in either handoff.
If they want an Oh My Pi (OMP) seat, mention that it can also open OMP's own terminal UI, with approval dialogs
in the seat's pane. Pass the seat name and mode to the operator. Use `runtime: omp` (RPC) by default. If they ask
for the native UI, pass `runtime: omp-tui` for that seat. On an existing installation, `rig seat set-runtime --help`
lists the runtime choices that version supports.
Or the person types the goal and folder in the operator's pane. If they give you a goal later, forward it the same
way, by the route they chose. The operator helps them pick a team that fits their logins, starts it (`rig up`) only on their yes to the plan it
shows, and gives the goal to the team's lead. Before that yes, it says what launching into their folder changes for their own agent there; relay
that with the question. Show them where the operator answers, and don't build the project yourself.
- **If you start a team yourself** instead of through the operator, do its fit check first. A built-in team can need a
sign-in the person doesn't have: `starter` runs its reviewer on Codex, so someone on Claude Code alone stops at a Codex
sign-in just when the review should start. `rig specs preview <team> --kind rig --json` lists each seat's runtime.
Check those logins (`claude auth status`, `codex login status`), or go by what the person told you. If one is missing
or you can't tell, say so before launching and let them choose: the operator adapts the team to the logins they have,
or they sign in first.
- **If the person stays with you** (the default), you're their front door to the team: you hand it the goal with a
return route, bring its questions to them, its seats' prompts included, and bring back what it produced and what its
latest review found, through the task queue rather than the operator's screen. `--return-route auto` gets this
conversation an address on the kernel's rig, such as `conversation-3f2a9c1b7e44@kernel` (`--return-route self` if
this session joined). Put `OPENRIG_SESSION_NAME=<address>` in front of every later `rig queue` and `rig send` for this
work. A joined session, more than one conversation, the reasons behind each rule:
[references/staying-with-the-person.md](references/staying-with-the-person.md).
- **Hand over the goal:** write it to a file with what the message above carries (that you're the agent that
installed OpenRig and the person stays with you, the goal, folder, branch, constraints, logins and permission
choices), and end it with this paragraph:
> To ask me anything, create a queue item to my return address, this item's `returnRoute` (`rig queue show <this
> id> --full` prints it): `rig queue create --destination <that address> ...`, then
> block this item on that new item's id (`rig queue block <this id> --on <question id>`), so my answer wakes you. If
> the block is refused because I've already answered, read my answer on that item and carry on. I
> check it whenever the person talks to me. Don't ask in your own terminal: the person isn't there. A seat's
> permission prompt in this work is their question too: send me its own text and choices, the seat, what it was
> doing and any escalation's id, unless a question about that prompt is already open at my address. Whoever sent
> the question passes on the answer, and no one else does. Capture that seat again first (a changed prompt needs a
> new answer), then `rig send <seat> "<key>" --dangerously-interact --reason 'task <question id>: <their answer>'`
> with the key the prompt shows for their choice (for Escape, `$'\e'` in place of `"<key>"`, never the word). Keep
> the reason in single quotes so the shell runs nothing in their words, and write each `'` in them as `'\''`. A no
> stays a no. If they gave no answer, or their words don't
> clearly pick one choice (a condition the action doesn't plainly meet, say), ask me again before sending anything,
> and never pick a "don't ask again" choice they didn't pick. Their answer covers only the prompt it answered: a
> later prompt, even one like it, is a new question to me. Check the effect, and never send again while it's
> unknown. To give this work to another seat, hand this item itself on (`rig queue handoff <this id> --to <seat>`), so
> my return address goes with it, and don't close it as a duplicate of a new item. If you hand this item on or give
> this work to another seat, copy this paragraph into the new item. A new item you create for part of this work keeps
> my return address by itself: leave `--return-route` off rather than naming yourself. If you're also working on
> another conversation's task, name mine instead (`--return-route <my return address>`). Either way its seat hands
> its result back to you, and the goal's result is the one that comes to me. Commit only as an author the person gave you,
> one they approved when you proposed it, or the one the repository already has (`git config user.name` and
> `user.email`); if there's none, ask me, and never choose one without their say. When you finish, send the
> result, with what the latest review found, as a task to my return address:
> `rig queue create --destination <that address> --summary "<the result in a line>" --body-file <file>`. Then
> close this item with the result, and any file in its evidence ref. A close by itself doesn't reach the person,
> and the task does. If another seat gave you this item for part of its work, don't send me a task or close it: hand
> it back to that seat with your result (`rig queue handoff <this id> --to <that seat>`), and it sends me the goal's
> result.
Then run
`rig queue create --destination <canonicalSessionName> --return-route auto --summary "<the goal in a sentence>" --body-file <file> --verify`
(if this session joined, `--return-route self` with your `OPENRIG_SESSION_NAME` in front). It prints
`Return route: <address>`: that's your address from now on. The goal's handoffs carry it, and so do the tasks its
seats create for their parts. So brief only the seat you hand the goal to, and not another seat yourself with
`rig send`: a message carries no return route, so that seat's prompts couldn't reach you. Bring a seat's prompt in
this work to this address as a task; it may still not reach you by itself, so check the seats when the person is
waiting. Tell the person the task ID it prints, and keep the goal, your address and that ID: they're how you find
this work again. If the outcome is unknown, repeat the same command with
`--id` and the ID from its `Queue create request ID:` line, which it prints before it sends: the same task keeps the
same address.
- **Get woken when a task arrives at your address:** start this right after the handover, before you reply to the
person, with your shell tool's background option, and start it again each time it ends, once you've handled what it
brought, for as long as work you handed over is open. Keep it with the openrig plugin too: the plugin's hooks check
only for two hours after each Claude Code turn. Run one at a time. If you can't tell whether one is still running
(after the conversation resumed in a new process, say), start one: a second wait costs one extra wake. Put your
address in place of `<address>`:
until OPENRIG_SESSION_NAME='<address>' rig queue list --owned --state pending --json 2>/dev/null | grep -q '"qitemId"'; do sleep 20; done
When it ends, claim each pending task at once (claiming isn't answering), handle it (below), then start the wait
again. It ends on any pending task at your address, so one you leave pending ends the next wait at once: claim or
close it rather than filter it out (`rig queue list --json` prints one line, so `grep -v` drops every task). Say a
wait is running only on current evidence: you started it this turn, or you've checked it hasn't ended. Tell the person the team's results will come back here by
themselves only while a wait is running in an app
that wakes you when it ends, or while the plugin is active here (in Claude Code, for two hours after each turn; an
older Codex, such as 0.162.1, holds them until the person's next message). Otherwise tell them once, right after the
handover, what's true: you can collect the team's questions while you're working in a turn, but nothing wakes this
conversation between turns, so a question that comes later waits until they next write. Don't promise delivery in
the background. When to stop it, and a harness with no background wake: [references/staying-with-the-person.md](references/staying-with-the-person.md).
- **Then offer the openrig plugin, as its own question,** unless this app already has it (`openrig@openrig-app`; the
team plugin `openrig-core` that a Codex team adds to their Codex config isn't it; a setup they limited isn't a no to
hearing about it: [references/writes-and-scope.md](references/writes-and-scope.md)), at one point: once you've
relayed the person's answers to the operator's first questions (they arrive soon after the handover: the team, its
launch, a commit author), or, if its first reply asks them nothing, once you've passed that reply on and told
them what happens next. Not before: right after the handover, don't mention the plugin, even as an item in a list
of what's left. Ask any earlier setup question that's still open (registering, the OpenRig window) before then, or drop it.
If another question to the person is open at that point, ask or relay it, wait for the reply, and offer the plugin
in your next message. Make the offer in a message of its own with no other choice in it. Never
make it an item in a list of things to approve: in a list it reads as one more approval, and the person can't weigh
what it adds. In Codex, make it as the fact it answers: nothing wakes you between turns, so a question the team
sends while they're away waits until they next write. With a Codex whose `codex queue` has `--resume` (0.171.0
does), the plugin brings it here by itself; an older Codex, such as 0.162.1, still holds it until their next
message, so offer the upgrade with it. Ask it as a plain
question in your reply and end your turn, not with a question tool or as
the approval of an install command. Their answer doesn't hold up the work: the goal is already with the team, and
the wait keeps running either way. If they chose the operator's pane or to talk later, nothing was handed over
here: make this offer when they first hand work over through you, not with a task made up to reach it. Tell the
person in plain words:
- **What it adds:** when I hand the team work, its questions come into this conversation without you telling me to
check. The plugin's hooks do this; they read only OpenRig's own record for this conversation.
- **What it doesn't do:** it types into no terminal and grants no authority: it only brings the question, and
answering stays yours.
- **Without it:** the team's questions reach you only when I check for them, when you next message me or while I'm
waiting in the background. With it, they arrive here on their own, even when I'm not checking (in Claude Code, for
two hours after each turn here; an older Codex, such as 0.162.1, holds them until your next message).
- **It's your choice.** It comes with a skill for working with the team (and in Claude Code, OpenRig's MCP tools),
for every session of this app on this computer, or in Claude Code wherever they choose to install it; a session
that hands the team no work gives the hooks nothing to read.
On a yes, in their own words, help them make it active here. In Claude Code 2.1.275 or later, that's one command
they type in this conversation: `/plugin install openrig --marketplace <the plugin's folder>`, written out in full,
from the OpenRig whose `rig` you're using (its `rig doctor` names it; not `npm root -g`).
Claude Code's own screens ask them to confirm it and where to install it, and its last line says whether it's
active or what to do next, such as typing `/reload-plugins`. Ask them to send any message after it, then check what
loaded: an active plugin isn't yet a question from the team arriving. They can type it while you work: Claude Code
queues it until your turn ends. Until its result shows here or they say not now, end each message you send them
with the command, relays included: the team's prompts follow the offer quickly and push it off their screen. Never
hold a relay for it. In an older Claude Code, when you can't tell
its version, after that command answers with an error, with a space in the folder's path or in an app without
`/plugin`, you install it from your shell (say which way you're using), and it's active only after they type
`/reload-plugins`, so ask for that as its own short request. In Codex, its hooks run here only after the person
exits, resumes this conversation (`codex resume <its id>`), trusts them when Codex asks and sends any message. When
the hooks can't find this install's `rig` or its home by themselves (OpenRig inside the project with its own home
folder, say), give them the full command, not the short one Codex prints on exit. Tell the person whether it's
active. On no, install nothing, and offer it once more only after the team's first question you bring them
(below). [references/install-and-plugin.md](references/install-and-plugin.md) has each app's commands, what
Claude Code's screens ask and how to check it's active: open it before the offer.
- **When a question arrives at your address,** read it in full (`rig queue show <id> --full`), show the person the
whole question in the team's words, and record only what they tell you, a condition included: claim it, then
`OPENRIG_SESSION_NAME=<address> rig queue update <id> --state done --closure-reason no-follow-on --resolution '<their words>'`,
with their words in single quotes and each `'` in them written as `'\''`. If they said no to the openrig plugin
once and this is the team's first question you bring them (not a prompt from OpenRig itself or the operator), make
the plugin's second offer once their answer is recorded, in one line of your next reply, so a "yes" can't answer both:
the plugin would have brought this here by itself (in Claude Code, within two hours of a turn here; in an older
Codex, such as 0.162.1, at their next message), and the choice is still theirs. Never answer a question task with
`rig send`, never answer for them, and start the wait again before you end your turn. A prompt the operator or a seat
sent you, or one from OpenRig itself (`daemon@kernel`), and a question only on the operator's screen:
[references/staying-with-the-person.md](references/staying-with-the-person.md).
- **Each turn, while work is open,** list your address's tasks first
(`OPENRIG_SESSION_NAME=<address> rig queue list --owned --state pending,in-progress`), then check
`rig ps --nodes --rig <rig>` for a seat stopped at a prompt. A Claude Code seat's own ask
(`qitem-runner-permission-…`) is answered with
`OPENRIG_SESSION_NAME=<address> rig seat decide-permission <ask> --option allow --relay --person-said '<their words>'`
(or `--option deny`); a prompt with no ask, after capturing the seat again, with
`rig send <seat>@<rig> "<key>" --dangerously-interact --reason 'task <id>: <their choice, in their words>'`, where
`<key>` is the key the screen shows for their choice. Read [references/seat-prompts.md](references/seat-prompts.md)
before your first one.
- **When a step doesn't go as written** (a wake outcome other than `verified` or `claimed`, or the operator answering
with a model error): [references/troubleshooting.md](references/troubleshooting.md).
- **Installation is finished** when the operator is ready and the person is talking to it or, when they stay with you,
once the goal has reached it as a task with your return route (read its wake outcome); a healthy daemon alone isn't
that. If they'd rather talk later, keep that choice, leave them the exact connection step and say the handoff to the
operator is still pending.
- **See what's running:** `rig ps`, then `rig ps --nodes --rig <rig>` for a team's agents. If a team is already
running in that repository, tell the operator.
- **Check it's ready before you say so:** `rig ps --nodes --rig <rig>`. If an agent is stopped at a prompt or a menu,
read it with `rig capture <seat>@<rig>`.
## 3. Follow the work to its result
Follow these steps by default. Only when the person declined the Codex offer and explicitly chose the operator route
does the operator own this follow-through.
- **Follow the task you handed over to its result:** `rig queue show <id> --full` names where it went. Follow each
handoff (`successors`) until an agent reports the result, then read what it produced and tell the person what the
team actually did (the branch, commit, review or PR text), not just that you sent it.
- **Read the latest review before you say it's done:** work a review sent back with something to fix isn't done, even
if a commit exists.
- **Give the team more work** as a queue task with `--return-route self`, ending with the reply paragraph in step 2,
never as a `rig send` message: a message has no return route.
- **Then ask what's next.** If no team can take the work, fix that or ask the person. Don't quietly do it yourself.
- Finding the lead's task, more work, coming back in a new session, and a task on another host:
[references/following-the-work.md](references/following-the-work.md).
## 4. Find out more
- **How OpenRig works:** `rig context profile world-public --situation fresh`.
- **What you can do:** `rig context get onboarding-width` (the capability map).
- **Everything in the library:** `rig context list`.
- **Exact syntax:** `rig <command> --help` is always current for the installed version.
When something here and `rig <command> --help` disagree, `--help` wins.