Openrig

From akillness/jeo-skills · View interactive version

Openrig is an AI agent skill from the GitHub repository akillness/jeo-skills. Operate mvschwarz/openrig, the Apache-2.0 OpenRig CLI, daemon, TUI and persistent multi-agent rig system for Claude Code, Codex and Pi. Use when a user names OpenRig, the `rig` CLI, @openrig/cli, rig specs, kernel/operator sessions, tmux/Herdr views, or the mvschwarz/openrig repository and needs a f

How to use this skill

Skill file

OpenRig operator

Operate the named rig CLI, daemon, TUI, and persistent agent teams. This skill

was audited against commit 3001cc436656c435e54425443e708e3e2d8c7d68; the

audited command and provenance record lives in

CODE0.

When to use this skill

Instructions

1. Freeze the surface

Record one mode (orient, install, configure, operate, recover, or

build) and one local or registered-remote target. Treat provider CLIs,

credentials, desktop terminals, network access, and remote hosts as separate

authority boundaries. Native Windows is unsupported; use the documented WSL2

route. OPENRIG_HOME selects OpenRig instance state only, not provider config.

2. Run the offline gate first

Use the helper before any install, setup, daemon, TUI, rig, provider, or send

operation; it never launches OpenRig or executes shell commands:

python3 .agent-skills/openrig/scripts/preflight.py --json
python3 .agent-skills/openrig/scripts/preflight.py --repo /path/to/openrig --expect-commit <FULL_SHA> --json

An installed skill uses:

python3 "$SKILLS_ROOT/openrig/scripts/preflight.py" --json.

The helper reports host/tool paths and, when --repo is supplied, bounded Git

identity plus public checkout shape. A discovered Node path does not prove the

required Node version; consult the audited runtime rules in the reference.

3. Gate every side effect

Start local command flows read-only with --help, --json, --plan, status,

process, and capture commands. An installer --dry-run still fetches and pipes

remote shell code; it is not a read-only or security boundary. Require separate

explicit approval for network access and remote-code execution, then for

installation, provider configuration or credentials, permission policy, bundle

installation, daemon/kernel launch, live sends, remote writes, and teardown.

Never copy keys, tokens, resume tokens, or full environment dumps.

4. Follow the matching reference branch

Use the exact pinned commands and citations there; do not replace them with

uncited variants. Keep daemon-up, kernel-started, seat-started, and

message-rendered as distinct evidence.

5. Verify effects narrowly

Inspect every plan/readiness result before approval. A timeout leaves delivery

unconfirmed: capture before retrying. Fan-out requires inspecting each

recipient. Fix the named spec, bundle, or path error and rerun the narrow check

before reinstalling or recreating a live rig.

Examples

Read-only checkout and host gate

python3 .agent-skills/openrig/scripts/preflight.py --repo /path/to/openrig --expect-commit <FULL_SHA> --json

Read Runtime surfaces before using rig daemon status, rig status,

rig ps, or rig capture; no daemon, TUI, provider, or rig is started by the

helper.

Approved planning path

Read RigSpec and topology, then validate and audit locally, run the

daemon-backed spec preflight only after daemon approval, and preview rig up

with --plan --json before any launch approval.

Existing rig recovery

Read Operate and recover, inspect process and capture evidence first, then

request separate approval for snapshot teardown and --existing restoration.

Best practices

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.