rig-lifecycle

rig-lifecycle is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 108 tokens per session (1,370 once invoked), scanned A, original, Apache-2.0.

Guidance for managing the full lifecycle of OpenRig-managed setups, including creating, starting, stopping, restoring, and destroying them. It also explains how to interpret their state after recovery or a reboot.

In plain words
What is it for?
Use it when operating or restoring rigs, checking their status after a reboot, or proving lifecycle scenarios such as provider authentication loss or partial startup.
Why use it?
It helps distinguish successful resumes, rebuilds, fresh starts, failures, and cases that need operator attention.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it when operating or restoring rigs, checking their status after a reboot, or proving lifecycle scenarios such as provider authentication loss or partial startup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/rig-lifecycle
About the project

OpenRig is a software harness that coordinates Claude Code and Codex coding agents as one system, with agent teams defined in YAML and launched together. It is for organizing persistent teams of coding agents that can delegate work to specialists and return results or decisions. The catalogue lists 53 skills and one plugin as add-ons for OpenRig.

mvschwarz/openrig · 9,019 stars · on GitHub · openrig.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvschwarz/openrig --skill rig-lifecycle
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rig-lifecycle

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/rig-lifecycle/github.svg)](https://agentmods.dev/skills/mvschwarz/openrig/rig-lifecycle)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/rig-lifecycle"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/rig-lifecycle/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rig-lifecycle

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvschwarz/openrig/rig-lifecycle"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/rig-lifecycle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.01370
Opus 5.5 $0.00043 $0.00548
Sonnet 5.5 $0.00022 $0.00274
Haiku 4.5 $0.00011 $0.00137

Measured 1mo ago against content hash 9e0c994626b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rig-lifecycle scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/daemon/specs/agents/shared/skills/core/rig-lifecycle/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rig Lifecycle

The family of operations that create, start, stop, resume, restore, snapshot, release, unclaim, and destroy OpenRig-managed topologies. Includes the user story after reboot: "bring my work back without turning a clean recovery into a cleanup project."

If lifecycle is brittle, every higher-level primitive inherits that brittleness. Queue, workflow, seat continuity, cross-host operation, and RSI all assume that rigs and seats can be restored into known states.

Use this when

  • Operating rig up / down / restore / resume / snapshot / release / unclaim / destroy
  • Reading rig ps after a reboot or recovery and deciding what to trust
  • Designing proof for a lifecycle scenario (clean start / warm resume / host reboot / provider auth loss / partial boot / operator recovery)
  • Reasoning about restore-outcome semantics (resumed / rebuilt / fresh / failed / attention_required)
  • Auditing whether a lifecycle proof is in-process bedrock vs requires real reboot evidence

Don't use this when

  • The operation is single-command and deterministic — use openrig-user skill for CLI surface
  • The work is operator-level configuration or troubleshooting of OpenRig itself — run rig context get help
  • The work is rig spec authoring — use openrig-architect

Failure modes (4)

  1. Auto-restore creates a partially restored rig that must be cleaned up before real recovery. Partial restore looks like recovery but isn't; cleanup-before-recovery becomes the actual workload.
  2. rig ps or lifecycle projections report a healthier state than the runtime actually has. Projections are summaries; the runtime is truth. Don't trust projections silently.
  3. Provider auth is unavailable after reboot and the system treats that as implementation work instead of a human/environment decision. Auth issues are environmental; route to human.
  4. Resume succeeds for one runtime/provider but fails for another scenario that was never tested. Per-runtime parity assumptions break silently; matrix proof catches them.

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 9e0c994626b5
  2. 3mo ago First seen · 128 lines · 108 tokens per session scan A 8346e01d5327

Subscribe to this mod's changes

rig-lifecycle is a skill published in the GitHub repository mvschwarz/openrig (9,019 stars, last pushed today), licensed Apache-2.0. It adds 108 tokens to every session and 1,370 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

rig-lifecycle compared with skills from other repositories

rig-lifecycle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rig-lifecyclemvschwarz/openrigSkill9.0ktodayApache-2.0A108Claude Code, Codex
metisWholiver/metisSkill4431mo agoMITA35Claude Code, Codex
metis-browserWholiver/metisSkill4431mo agoMITA82Claude Code, Codex
dynamic-resourcesWholiver/metisSkill4431mo agoMITA11Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
verifyHmbown/CodeWhaleSkill41kyesterdayMITA25Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code