/onex:omninode_dev_setupfrom onex
Sets up a Mac from bare to a working local onex environment with developer's own AI model keys (Gemini, OpenRouter, OpenAI, Ollama) and optional Docker container stack, reporting each phase.
Ships in onex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Announce at start: "I'm using the omninode_dev_setup skill."
One script, plugins/onex/skills/_bin/lab-onboarding.sh, does the work. It runs
the same way from Claude Code or from a plain terminal, and works on a physical
Mac or inside a macOS VM. This skill starts it where the developer can answer
its prompts, then reports each phase to the developer the moment it finishes.
Everything runs on the developer's own Mac: native onex, and optionally the stack in Docker, on the developer's own models: any combination of their Gemini, OpenRouter and OpenAI keys and Ollama running on the Mac. Delegation chooses among them for each task; the developer never picks one per run. Nothing connects to the lab.
| # | Phase | Changes the machine? |
|---|---|---|
| 0 | Preflight: macOS version, CPU, RAM, disk, VM or physical, admin rights, ports; what an earlier setup left (the onex the developer's shell runs and its version, published onex installs, old variables and profile lines, a local-model routes file, the workspace clones' state); then every question the run has (set those aside or stop, models and keys, Docker and its terms, the Mac password), before anything installs | only what the developer agreed to set aside |
| 1 | Base tools: Xcode command-line tools, Homebrew, gh, jq, [email protected], uv | yes |
| 2 | Workspace: the canonical clones, and OMNIBASE_PATH and PATH in the shell profile | yes |
| 3 | onex, the local identity, then each chosen model set up with onex models add (Ollama installed with one model downloaded) and tested with one delegation pinned to it; one result line per model; fails only if none passed | yes |
| 4 | Docker (optional): only if the developer says yes to the one question; Docker Desktop installed, or started if stopped, then the local stack on the same keys | yes |
| 5 | Claude Code plugin: the customer plugin onex@omninode-tools (one skill, /onex:delegate), from the public marketplace. With --developer: the full onex tree (onex@omninode-tools-dev, from the omniclaude clone), and omni and onex-overlays when this GitHub login can read the private plugin repository and an SSH key is loaded | yes |
| 6 | Verify | no |
Minimum requirements are printed by phase 0. A Mac below them gets nothing installed and a recommended VM size instead (exit code 3).
Always run preflight before anything else and show its table to the developer:
bash "${CLAUDE_PLUGIN_ROOT}/skills/_bin/lab-onboarding.sh" --preflight-only <args>
Next: line and stop.--containers or
--no-containers, so the Terminal run does not ask it again. If Docker
Desktop is installed but stopped, say the run will start it; if it is
missing, say the run will install it. If the line says Docker is not
offered, relay why: native onex alone covers delegations.--provider
was given, ask which ones; any combination, at least one:
onex models add <provider>.
An OpenRouter key runs the default model the onex overlay declares
(onex models default-model openrouter reads it), with no model question; it
may be a paid model, so the key may need credit on openrouter.ai. With no
overlay reachable, OpenRouter ends with that reason and nothing stored while
the other models carry on. Another model is one command later:
onex models add openrouter --model <model id>.--provider with a comma-separated list, e.g.
--provider gemini,ollama.If --preflight-only was the argument, stop here.
Every question is asked in that terminal, all of them before anything installs: the models and their keys, Docker and its licence terms, and the Mac administrator password when something needs installing. After that the run asks nothing. A Claude Code tool call has no terminal, so open one:
/usr/bin/osascript -e "tell application \"Terminal\" to do script \"bash '${CLAUDE_PLUGIN_ROOT}/skills/_bin/lab-onboarding.sh' <args>\"" -e 'tell application "Terminal" to activate'
Tell the developer a Terminal window opened, that it asks its questions first (models, keys, Docker, their Mac password) and then runs on its own, and that they should answer there, never in this chat. Never ask the developer to paste a password or API key into this session.
If there is no desktop session (for example over ssh), run the script directly
with the Bash tool in the background instead. With no terminal it asks nothing:
it uses the models --provider names (or every key an earlier run stored), stops
before installing if a chosen model has no stored key, and fails a step that
needs the administrator password with a Next: line saying so.
The script appends one line per phase event to
${TMPDIR}/omninode-onboarding/status:
phase=2 name="Workspace (…)" result=PASS elapsed="1m 12s" note="…"
model=gemini result=PASS detail="gemini-3.5-flash-lite"
model=openai result=FAIL detail="provider_error: insufficient_quota …"
model=openrouter result=SKIPPED detail=""
phase=3 name="onex, local identity and your models" result=PASS elapsed="2m 03s" note="1 of 3 models ready: Gemini"
phase=4 name="Docker (…)" result=FAIL elapsed="…" step="…" next="…"
result=COMPLETE
Watch that file (the Monitor tool with an until-loop on a new line, or re-read
it every 30–60 seconds). For every new PASS, SKIPPED or FAIL line, tell
the developer at once, in one sentence: the phase, the result, the elapsed
time, and for a FAIL the step and next fields verbatim. Do not wait for
the end to report. Report the model= lines together when phase 3 passes: one
line per model, pass, failed with its detail, or skipped, and for each one
that failed or was skipped, that onex models add <provider> adds it later.
Stop watching at result=COMPLETE, a FAIL, or
result=BELOW_MINIMUM.
A FAIL means the run stopped. Re-running the same command resumes from the failed phase; completed phases are verified, not redone.
On result=COMPLETE, tell the developer to open a new terminal (so OMNIBASE_PATH
and PATH apply) and to open Claude Code and sign in with their Anthropic account
(the first time it asks). In a new session the /onex: skills
(and /omni: ones, if phase 5 installed them) are loaded. A running session keeps
the plugins it started with. If phase 0 set anything aside, tell the developer
the file that lists each item and how to put it back.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
macos-setup, local-development, onboarding, onex, developer-environment
Generated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onexOther plugins' skills for the same job
128 skills in this plugin
/adversarial_pipelineAdversarial PipelineAutonomous 3-stage adversarial plan-to-ticket pipeline — design_to_plan → hostile_reviewer gate (≥3 issues required) → plan_to_tickets. All stages run as background agents. Zero foreground work./agent_healthcheck/onex:agent_healthcheck — dispatch-only shimDispatch-only shim for agent stall detection and recovery. All detection and recovery logic lives in node_worker_stall_recovery (omnimarket). The skill parses args, builds the input envelope, dispatches to the node, and renders the receipt./aislop_sweep