Skip to main content
skill CX Codex

openrig-software-factory — Claude Code skill: setup and use

This skill organizes OpenRig agent teams in software repositories. It sets up review handoffs and execution workflows between Claude Code and Codex seats.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mvschwarz/openrig --skill openrig-software-factory -a claude-code
Open on GitHub

What openrig-software-factory does

The skill coordinates autonomous agents through the rig CLI tool. It organizes work across stages without requiring heavy workflow machinery for basic changes. Teams can pass work through rig queue create and rig queue handoff, or compile strict lifecycles via rig workflow compile when steps need explicit dependency checks.

Preset team bundles fit different workloads. The starter configuration pairs a Claude builder with a Codex reviewer, while larger rigs add dedicated testing and lead seats. Codex seats run on gpt-6-astra, while Claude uses its native session defaults. You can scale capacity with rig grow directly on an active rig without resetting running sessions.

Delivered background daemon wake events consume model tokens. Because empty polling wastes budget, the skill relies on event-driven waits rather than periodic reminder loops. Unauthenticated accounts block initialization until claude auth login or codex login completes.

What it helps with

  • Coordinate work between a Claude builder and a Codex reviewer
  • Pass task artifacts across agent seats using rig queue handoff
  • Expand an active rig topology with rig grow without restarting sessions
  • Enforce explicit execution contracts via rig workflow compile

Example prompts for the agent

  • Set up a starter team with a Claude builder and Codex reviewer for this repository.
  • Handoff the reviewed candidate to the checker using rig queue handoff.
  • Add a QA seat to the running rig with rig grow.

How to install openrig-software-factory

1Skills CLI (Vercel)

npx skills add mvschwarz/openrig --skill openrig-software-factory -a claude-code

2Manually: put the files in place

~/.claude/skills/openrig-software-factory/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/openrig-software-factory/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about openrig-software-factory

How do I install openrig-software-factory in Claude Code?

Run npx skills add mvschwarz/openrig --skill openrig-software-factory -a claude-code. The file will be placed at ~/.claude/skills/openrig-software-factory/SKILL.md.

What does openrig-software-factory do?

It provides operating instructions for running OpenRig agent teams inside a code repository. The skill outlines coordination patterns, provider logins, and commands for task handoffs.

Which models do the starter team seats use?

Codex seats run on gpt-6-astra. Claude seats operate with the model configured in your active Claude Code session.

Source text

SKILL.md · Apache-2.0
---
name: openrig-software-factory
description: >-
  Use when a user wants a continuing software team for a real repository, or has a
  first OpenRig team and needs a repeatable path for reviewed work and later tasks.
metadata:
  cli_surfaces_referenced:
    - context get
    - context list
    - context show
    - grow
    - queue create
    - queue handoff
    - workflow compile
    - workflow instantiate-lifecycle
  openrig:
    stage: WIP
---

# OpenRig Software Factory

Start with a useful repository outcome and add coordination when it earns its
cost. A beginner can complete reviewed work without Workflow. These are choices
using existing capabilities, not stages everyone must graduate through.

## Choose how the team works

| Need | Start here | Add more when… |
| --- | --- | --- |
| One change, close human guidance | Manual/team work: give an owner the outcome, use repository instructions, implement and obtain the chosen independent check. | Work must survive turns or move between seats. |
| Continuing work with visible ownership | Queue-supported orchestration: use `rig queue create`, claim work, then `rig queue handoff` with the candidate/evidence to the next owner. Record real blockers and the continuation. No Workflow instance is needed. | Repeated steps need an explicit dependency graph and permitted exits. |
| An explicit execution contract | Workflow: inspect `rig workflow compile`, then deliberately use `rig workflow instantiate-lifecycle`. Advance its packets through the workflow projection mechanism. | The actual project needs reusable profiles, additional roles or gates. |

For the concrete queue loop, wake behavior and optional two-slice Workflow,
read [references/worked-example.md](references/worked-example.md). Installed copy:
`rig context get skills/core/openrig-software-factory/references/worked-example.md`.
A roadmap, YAML file or wake does not execute work or authorize a new outcome.

## Choose the first team and its providers

Ask what the user wants to build and which working account(s) they have: Claude
Code, Codex, or both. Recommend one of three teams: `starter` (a Claude builder
and a Codex reviewer, for one bounded change), `workshop` (a lead, a builder, QA
and a reviewer; a rig bundle installed from its pinned listing) or `factory` (seven
agents for sustained product work). When the user lacks a provider a team needs,
write an adapted copy of the team under the same name, as the kernel operator's
guidance describes; never offer per-provider variants. `first-project` is
starter's old name. Check only the CLIs/logins the team needs; request `claude auth login`
or `codex login` once when that selected login is missing. No credential copying,
unused provider prerequisite or silent model/provider fallback.

Read the compatible getting-started guide's **Choose your providers** and
**Start the kernel and check its state** sections before launch. The choice selects
the two project agents. Kernel auto-boot independently uses available
authenticated accounts, so it may use both even when the project uses one.
Do not add an unused-provider login gate or manual kernel setup to this path.
An instance-wide provider restriction is a separate request. Preserve an
existing kernel and working user rigs.

Show the chosen team, resolved runtimes/models and exact
`rig up <team> --cwd . --plan` / `rig up <team> --cwd .` commands. Codex seats
retain `gpt-6-astra`; Claude seats use the configured native default without an
OpenRig model override. Confirm that model with the user and its availability;
verify the native session's actual model before consequential work. Use the
chosen rig name in owner/checker addresses (in the starter, `dev-build@<rig>` and
`dev-review@<rig>`) throughout the same task and return.

## Establish the working agreement

Read the repository instructions, current work and desired user-visible result.
Verify the intended instance, code/work roots, real seat addresses and native
readiness. Reuse a suitable small team; an existing agent can bootstrap it.
A kernel operator is optional and is not automatically the project owner.

Agree the work boundary, time/spend limit, who answers unresolved choices, and
when to stop: checked result, no authorized next work, exhausted budget, or a real
user/permission/provider blocker. Background daemon checks are not themselves
model turns, but delivered wakes and resumed work **can spend tokens**. Prefer
an event-driven wait to frequent empty reminders. Wakes cannot answer a user
question, clear a permission prompt or guarantee progress.

**Ask once before launching or assigning work.** For a team with no permission
policy, seat choice or named Codex profile, recommend keeping the team default:
Claude team seats run ordinary `rig` commands, project reads and common tests
without prompts, and lifecycle commands such as `rig up` and `rig down` still
ask. Only if they want more, offer: “Remember these selected OpenRig commands in
your native settings for this project?” **Yes** / **No — keep the team default**.
Reuse an existing explicit choice for this scope.
Explain that a remembered allowance can cover all `rig` verbs, but Claude team
seats still ask before lifecycle commands, at personal project scope unless the
user explicitly chooses user-wide sessions. It is not global YOLO or permission
to invent work.
On an actual Yes, follow [Applying a permission policy](#find-the-compatible-permission-guide)
to add existing native rules, preserve stricter/unrelated settings, and verify
the target conversation. No or no answer leaves settings alone and keeps the
team default. Remember the explicit choice and exact additions in the
existing onboarding context; “Undo the OpenRig command allowances added by this
setup” removes only those additions. Broader access remains a separate opt-in.

Keep purpose, acceptance, decisions and evidence in existing project files.
Deliver selected context and obtain each seat's scope reaction; retrieval alone
is not peer delivery. The owner carries the candidate through the chosen check
and bounded repairs, reports how to try it, and retains the next authorized task
or explicitly reports none. Preserve work and custody before a supported stop.

## Grow your factory

Choose the team size separately from the coordination method above:

1. **Use the two-agent starter.** Keep its builder (the owner) and independent
   reviewer (the checker) while that pair meets the workload. The builder can
   implement and coordinate.
2. **Add one or two seats to the running rig.** This is the usual next step.
   Follow [Grow the running team](references/worked-example.md#grow-the-running-team)
   for `rig grow` commands, readiness/context/work
   assignment, and saving the expanded topology. Existing sessions need no
   rebuild or down/up cycle solely to add capacity.
3. **Author a custom rig when you want a different structure.** Read
   [OpenRig Architect](../openrig-architect/SKILL.md), available through
   `rig context get skills/core/openrig-architect/SKILL.md`. Request:
   “Design a user-owned rig for [outcome] using the compatible RigSpec/AgentSpec
   guidance. Reuse suitable agents, define responsibilities and context, and
   validate the files. Preserve the existing rig and agree any new launch.”

As independent work grows, the original owner can concentrate on orchestration,
multiple builders can implement separate outcomes, and the checker can retain
independent review capacity. Record that division explicitly; adding seats does
not assign work, change permissions or create parallelism. Agree file/worktree
boundaries and integration ownership, follow the project's existing review policy,
and keep active concurrency within the user's time/spend budget. Two seats are
an entry point, not a finished factory or a maximum.

## Read compatible guidance

Before installation, use this file and companion at the same published tag or
commit as the selected package. After installation:

```sh
rig --version
rig context list --json
rig context show skills/core/openrig-software-factory --json
rig context get skills/core/openrig-software-factory/SKILL.md
```

Compare build identity as well as version. Preserve missing, unreadable or older
recipe results; do not silently substitute newer main or skip a missing companion.

### Find the compatible permission guide

Retrieve the maintained procedure with
`rig context get skills/applying-a-permission-policy/SKILL.md`.
For source or archive readers, locate it below; the companion getting-started
guide contains optional broader launch-mode recipes under **Opt-in permissive
operation**. These paths are relative to the named root, not this skill:

| Reading from | Procedure and guide, at the same version as this recipe |
| --- | --- |
| Source checkout, including `skills/_canonical` | Below the repository root: `packages/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `docs/reference/getting-started.md`. |
| npm installation | Below the matching `npm root -g` or local `npm root`: `@openrig/cli/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `@openrig/cli/daemon/docs/reference/getting-started.md`. |
| Unpacked npm archive | Below the extraction directory: `package/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.md` and `package/daemon/docs/reference/getting-started.md`. |

For installed guidance, use the npm installation that supplies the selected
`rig` executable; another prefix or local project can contain a different version.
If the matching guide or section is missing, report the gap before proceeding;
do not substitute current main or guidance from another installation.

## Request to give your agent

> Help me achieve [observable change] in this repository. Read the compatible
> Software Factory recipe, choose the lightest useful team/queue/Workflow path,
> and keep the next owner visible. Preserve existing files and permissions.
> Agree time/spend limits, perform the authorized work and chosen independent
> check, and ask only about unresolved decisions or effects outside that scope.
> Keep publication and destructive changes out of this task.

When commands, defaults or permission semantics change, check this source and
companion together and regenerate their existing projections. Website guidance
should link to the same versioned recipe, not maintain another procedure.

© mvschwarz · Apache-2.0 · mvschwarz/openrig

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set49

session-source-fork A skill for authoring rig specs: it starts a new managed seat from a prior Claude or Claude conversation without claiming the old seat continued. CX Codex +1 ★ 8,227repo stars rig-lifecycle Teaches the agent to reason about OpenRig lifecycle operations, verify post-reboot state in rig ps, and handle recovery without silent fresh fallbacks. CX Codex +1 ★ 8,227repo stars rig-bundles-and-shareable-artifacts This skill covers creating, inspecting, and installing OpenRig bundles that package a rig topology with its workflow. Use it when preparing a proven setup for reuse in another environment. CX Codex +1 ★ 8,227repo stars openrig-upgrade Walks an agent through an OpenRig CLI and daemon upgrade one step at a time: inspect, mutate, observe. Useful when live seats matter. CX Codex +1 ★ 8,227repo stars openrig-skills This skill helps an agent in OpenRig find the right context for a handover, debugging, or recovery task. It also shows how to locate and load other skills with rig. CX Codex +1 ★ 8,227repo stars openrig-cmux Renders OpenRig agent fleets, missions, and pods into live cmux terminal tiles. Helpful when monitoring running agents without disrupting active sessions. CX Codex +1 ★ 8,227repo stars openrig-architect This skill helps plan an OpenRig agent team, write its specs and startup guidance, and investigate agents that behave differently from their intended roles. CX Codex +1 ★ 8,227repo stars messaging-the-human This skill covers the mechanics of an agent messaging a human through rig: filing a decision request or a quiet update, then handling the reply. CX Codex +1 ★ 8,227repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor