/onex:runnerfrom onex
Manages GitHub Actions self-hosted runners: checks health/version/host metrics and deploys or updates runners on CI hosts.
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.
Read when SKILL.md points to them.
GitHub Actions self-hosted runner management. Two modes:
Surfaces per-runner health (GitHub API + Docker inspect) and host-level disk metrics for all OmniNode self-hosted GitHub Actions runners. Alerts for degraded conditions are shown at the top of the output when triggered.
/runner status
No arguments required. The skill queries the GitHub API and SSH-inspects the CI host
(<onex-host>, configured via ONEX_HOST) automatically.
When all runners are healthy:
Runner Status — 2026-03-23
+--------------------+--------+--------------+-------------+----------+------------+---------+---------+
| Runner | Status | Runner Group | Runner Ver | gh Ver | kubectl | uv | Uptime |
+--------------------+--------+--------------+-------------+----------+------------+---------+---------+
| omninode-runner-1 | idle | omnibase-ci | 2.323.0 | 2.67.0 | v1.32.1 | 0.6.2 | 5m |
| omninode-runner-2 | busy | omnibase-ci | 2.323.0 | 2.67.0 | v1.32.1 | 0.6.2 | 5m |
| omninode-runner-3 | idle | omnibase-ci | 2.323.0 | 2.67.0 | v1.32.1 | 0.6.2 | 5m |
| ... | ... | ... | ... | ... | ... | ... | ... |
| omninode-runner-10 | idle | omnibase-ci | 2.323.0 | 2.67.0 | v1.32.1 | 0.6.2 | 5m |
+--------------------+--------+--------------+-------------+----------+------------+---------+---------+
Host metrics (<onex-host>):
/ disk: 38% used (650 GB / 1.8 TB)
Docker build cache: 0 B
When alerts are triggered:
ALERTS
[OFFLINE] omninode-runner-9 has been offline for 12 minutes (threshold: 5m)
[DISK] / at 74% (threshold: 70%)
Runner Status — 2026-03-01 14:23:07 UTC
...
The following fields are shown for each runner:
| Field | Source | Notes |
|---|---|---|
| Runner name | GitHub API | Container hostname / runner display name |
| Status | GitHub API | idle, busy, or offline |
| Runner group | GitHub API | Must be omnibase-ci; flagged if different |
| Runner binary version | Docker image label org.omninode.runner.version | Set in Dockerfile ARG |
| gh CLI version | Docker image label org.omninode.gh.version | Set in Dockerfile ARG |
| kubectl version | Docker image label org.omninode.kubectl.version | Set in Dockerfile ARG |
| uv version | Docker image label org.omninode.uv.version | Set in Dockerfile ARG |
| Container uptime | docker ps --format "{{.Status}}" on host | Via SSH |
The Docker image labels are defined in the runner Dockerfile. The skill reads them deterministically using these exact keys:
org.omninode.runner.version
org.omninode.gh.version
org.omninode.kubectl.version
org.omninode.uv.version
Read via:
# SSH to CI host, inspect the runner container (set ONEX_HOST to runtime host address)
# Runner names are discovered from the GitHub API (Step 1), not hardcoded
ssh <user>@<onex-host> "docker inspect omninode-runner-9 --format '{{json .Config.Labels}}'"
In addition to per-runner data, the skill collects host-level metrics from the CI host:
/var/lib/docker)ssh <user>@<onex-host> "df -h /var/lib/docker"
Reports: total size, used, available, and usage percentage. Alerts if usage >= 70%.
ssh <user>@<onex-host> "docker builder du --verbose 2>/dev/null | tail -1"
Reports total build cache size. No alert threshold -- informational only.
Alerts appear at the top of the output (before the status table) when any condition is met:
| Condition | Threshold | Alert Message |
|---|---|---|
| Runner offline | > 5 minutes | [OFFLINE] {runner} has been offline for {N} minutes (threshold: 5m) |
| Disk usage | >= 70% | [DISK] /var/lib/docker at {N}% (threshold: 70%) |
| Runner version lag | > 2 releases behind latest GitHub release | [VERSION] {runner} running {current} -- latest is {latest} ({N} releases behind) |
The skill compares the runner binary version (from Docker image label org.omninode.runner.version)
against the latest release from the GitHub Actions runner release feed:
gh api repos/actions/runner/releases/latest --jq '.tag_name'
If the running version is more than 2 releases behind the latest, an alert is emitted. Version comparison uses semantic versioning (major.minor.patch).
"Offline" status is reported by the GitHub API. Duration is estimated from the
last_activity timestamp on the runner object. Alert fires when now - last_activity > 5 minutes.
When status is invoked, execute the following:
gh api orgs/OmniNode-ai/actions/runners --jq '.runners[]'
This returns per-runner: id, name, status (online/offline), busy,
runner_group_name, labels, and timestamps.
# For each runner discovered from the GitHub API in Step 1:
ssh <user>@<onex-host> "docker inspect omninode-runner-9 --format '{{json .Config.Labels}}' && docker ps --filter name=omninode-runner-9 --format '{{.Status}}'"
Parse org.omninode.runner.version, org.omninode.gh.version, org.omninode.kubectl.version,
org.omninode.uv.version from the labels JSON.
ssh <user>@<onex-host> "df -h /var/lib/docker && docker builder du 2>/dev/null | tail -1"
gh api repos/actions/runner/releases/latest --jq '.tag_name'
Compare against the org.omninode.runner.version label from each container.
For each alert condition (see Alert Conditions above), check and collect triggered alerts.
Print the output in the format shown in the Output Format section:
ALERTS headerDeploy or update self-hosted GitHub Actions runners on the OmniNode CI host (<onex-host>, configured via ONEX_HOST)
with a single command from Claude Code.
# Preview what would change (no deploy)
/runner deploy --dry-run
# Deploy or update runners (uses cached Docker image)
/runner deploy
# Force Docker image rebuild (use after Dockerfile changes)
/runner deploy --rebuild
Before deploying, verify:
GitHub org-level token scope -- check with:
gh auth status
# Must show: Token scopes: ...admin:org (or manage_runners:org)
SSH key for the CI host in agent (<onex-host>) -- check with:
ssh-add -l
# Must show a key fingerprint; if empty run: ssh-add ~/.ssh/id_ed25519 (or your key)
Note: SSH key path is not configured via env var -- it must be loaded into the running ssh-agent. No local Docker client is required; all operations run remotely via SSH.
If either check fails, resolve before running /runner deploy.
--dry-run)When --dry-run is specified, no changes are made. The skill will:
<onex-host>) and run docker compose config to display the current runner
compose configurationARG versions (Node, GitHub Actions runner) against the running
container image labels to detect whether a rebuild would be triggeredExample dry-run output:
[DRY RUN] Runner deploy — <onex-host>
Current compose config:
Services: omninode-runner-9
Image: omnibase-ci-runner:latest (built 2026-03-09)
Version check:
Dockerfile ARG RUNNER_VERSION=2.331.0
Running image label: runner_version=2.331.0 up to date
Dockerfile ARG NODE_VERSION=20
Running image label: node_version=20 up to date
Containers that would be recreated: none (image up to date)
Use /runner deploy to apply, or /runner deploy --rebuild to force image rebuild.
When invoked without --dry-run:
gh auth status shows org-level token scope and
SSH key is available in agent<onex-host>) and invoke deploy-runners.sh
(with --rebuild flag forwarded if specified)runner status
so you can confirm all runners registered successfully--rebuildForces the Docker image to rebuild on the remote host before bringing containers up. Use this when:
RUNNER_VERSION ARG) has been bumped in the Dockerfileubuntu:22.04) needs refreshingWithout --rebuild, the deploy uses the cached image (faster, safe for config-only changes).
The underlying deploy script lives in the omnibase_infra repository:
omnibase_infra/scripts/deploy-runners.sh
This skill wraps that script to make runner deployment accessible as a one-command operation
from any Claude Code session without needing to navigate to the omnibase_infra worktree
or remember the SSH invocation syntax.
When deploy is invoked, execute the following:
# Verify GitHub token has org scope
gh auth status 2>&1 | grep -E "(Token scopes|admin:org|manage_runners)"
# Verify SSH key is loaded
ssh-add -l
If prerequisites fail, report clearly which check failed and how to fix it. Do not proceed.
# SSH to host and show compose config (set ONEX_HOST to runtime host address)
ssh <user>@<onex-host> "cd ~/.omnibase/runners/docker && docker compose -f docker-compose.runners.yml config"
# Compare Dockerfile ARG versions to running image labels (use runner name from GitHub API)
ssh <user>@<onex-host> "docker inspect omninode-runner-9 --format '{{.Config.Labels}}' 2>/dev/null || echo 'container not running'"
ssh <user>@<onex-host> "grep -E '^ARG (RUNNER|NODE)_VERSION' ~/.omnibase/runners/docker/runners/Dockerfile"
Print a clear summary of: current state, what would change, and which containers would be recreated. Exit without making changes.
REBUILD_FLAG=""
# If --rebuild was specified:
REBUILD_FLAG="--rebuild"
ssh <user>@<onex-host> "cd ~/omnibase_infra && bash scripts/deploy-runners.sh ${REBUILD_FLAG}"
Capture and display the full output. If the script exits non-zero, report the error and stop.
Invoke runner status to confirm all runners registered successfully:
/runner status
| Error | Action |
|---|---|
gh auth status shows no org scope | Stop; print: "GitHub token missing org scope. Run: gh auth refresh -s admin:org" |
ssh-add -l returns "The agent has no identities" | Stop; print: "No SSH key in agent. Run: ssh-add ~/.ssh/<your_key>" |
| SSH connection refused/timeout | Stop; print: "Cannot reach CI host. Check VPN/network." |
deploy-runners.sh exits non-zero | Stop; print full script output; suggest --rebuild if image issue suspected |
Runner fails to register (seen in runner status) | Print warning; link to GitHub Actions runner registration docs |
gh api returns 401 / 403 | Stop; print: "GitHub API auth failed. Run: gh auth status" |
Container not found (docker inspect error) | Show runner row with N/A for label fields; add [MISSING] note |
docker builder du unsupported | Skip build cache line silently; show -- in output |
omnibase_infra/scripts/deploy-runners.sh -- Underlying deploy scriptomnibase_infra/docker/runners/Dockerfile -- Runner image definitionomnibase_infra/docker/docker-compose.runners.yml -- Runner compose configWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (omninode-ai/omniclaude) — no native marketplace selected
npx claudepluginhub p/omninode-ai-onex-plugins-onex128 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/onex:aislop_sweep — one command, one typed resultDetect AI-generated quality anti-patterns across all repos — phantom callables in skill markdown, backwards compat shims, prohibited env var patterns, hardcoded topic strings, hardcoded absolute paths and LAN IPs, agent-left TODO/FIXME markers, and empty implementations./architectural_invariant_loopArchitectural Invariant LoopEvaluate architectural invariant contracts across repos — convert CLAUDE.md/doctrine principles into typed YAML invariant contracts and report violations across STATIC_ARCHITECTURE, CI_GATE, PRE_TOOL_USE, RUNTIME_VALIDATION, and CONTRACT_VALIDATION surfaces./authorizeGrant work authorization for Edit/Write operations in this session/auto_merge/onex:auto_merge — one command, one typed resultMerge a GitHub PR when all gates pass; proceeds automatically after CI is clean