Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Orbi?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/trebuchetdynamics-orbi-kit)
---
name: orbi
description: "Run Orbi deployments or deliver ready issues now."
license: MIT
---
# Orbi
Apply the [shared Ponytail method](../shared/PONYTAIL.md) and
[shared communication rules](../shared/COMMUNICATION.md) within this workflow's
scope. The [GitHub-native contract](../../docs/github-native.md) owns delivery gates.
**Route first.** `/orbi now [#N] [--max N]` is session delivery: follow
[now.md](references/now.md) and skip the rest of this file. Every other action is a
lifecycle action run through `scripts/orbi_control.py`.
## Intent and state: fast path
| Owner intent / observed state | Meaning and next safe action |
| --- | --- |
| Setup (default) or start; genuinely absent deployment, no explicit config | `start` prepares, validates non-activating, then activates in **one invocation** if technical checks pass. No separate setup or approval. |
| Preview setup/default start | `setup --dry-run` maps to `start --dry-run`: a write-free preview. Staging-dependent checks stay deferred; success is not authorization. |
| Setup (default) or start; valid existing target | Retain saved provider/harness; omit bootstrap selectors. Current with all configured timers enabled and active: `already-running`, no changes. Otherwise stop owned work as needed, sync/pin/check, repair units and start scheduling. A missing explicit config, partial or foreign target is **not absent**: inspect and repair deliberately. |
| Enabled/active owned timer; no observed running workers | Scheduling active, no worker observed. Activity outside the scan is *unknown*. |
| `setup_busy` | Cite observed timer/worker state; inspect with `status`. Offer authorized stop only when deliberately re-preparing or pausing. |
| Activation check fails or cannot be verified | Name the failed check and the next read-only check or exact repair. Report prepared, not started. |
## Common path
Keep the host LLM: interpret the request once, with the conversation's scope,
restrictions and authorization. No separate model routes, validates, polls or
paraphrases a routine command; extra reasoning needs a concrete unmet need.
1. **Resolve intent.** `/orbi [status|version|setup|start|update|stop|prune|help]`
and `/orbi set DEPLOYMENT ...` use
`python3 -B <this-skill>/scripts/orbi_control.py --public <arguments>` on **every host**,
with public arguments unchanged. `--public` applies the mapping: `setup` runs helper
`start`, `setup --prepare-only` runs non-activating helper `setup`; `--prepare-only`
on another action and `setup --resume-setup` without `--prepare-only` are refused
before any read with the corrected command. Never add `--allow-metered`.
Direct Python helper `setup` (without `--public`) remains non-activating for
automation and recovery.
Bare `/orbi` means `status`. **Help first.** For help requests, run only help.
For lifecycle commands, go directly to the requested action. Return observed
output from the helper's `help`; it needs no repository, config or scheduler reads.
`all`, `prune` and `set` run from any directory with no injected `--repo-dir` or
`--config`. Other actions use the requested repo/config or current checkout;
`update --config PATH` alone lets the config select its checkout. The helper
verifies worktree, origin, discovery and unit ownership. If target or intent is
genuinely ambiguous, ask one focused question before mutation. Never run bare
`orbi` (the Runner's one-tick entry), guess a typo alias or silently pick an action.
2. **Authorize.** Preserve read-only/no-write restrictions and literal `--dry-run`.
Explicit `/orbi start`, plain `/orbi update`, and `install.sh` with Orbi selected
authorize activation; `update all` only restores previously running scheduling.
Require verified unit and file ownership, a validated release pin and a passing
`orbi check`; do not ask for a cutover record or separate approval.
Public `setup` has the same authority as `start` because it maps to it.
`setup --prepare-only` and dry-run never activate. The helper runs the
[deployment-scoped check](references/lifecycle.md#activation-evidence) before
activation; no separate check or dry-run validation call is needed. See
[offline examples](references/lifecycle.md#offline-guidance-examples) for refusals.
Do not silently fall back to preparation. Explicit `stop`, `set` and
`prune --apply` authorize only their own effects; offline checks grant none.
Branch protection is not a Kit setup/start prerequisite: unprotected branches and
protection/rules HTTP 403 are informational, not scheduling blockers. Skip PR-only,
opt-in, protection-change, paid-plan or second-approval demands on that basis;
authentication, repository access, ownership and other technical checks still apply.
3. **Invoke once.** Build argv, never interpolate user text as shell code; shell-only
hosts quote every element. Preserve literal values, paths, provider/model IDs,
`--config`, `--repo-dir`, `--dry-run` and restrictions; add a known `--repo-dir`
only to bind the requested repository. Text output for `status`/`help`, `--json`
for mutating receipts, unless a format is named. Copy no credentials.
No routine pre-status, help lookup, preview-then-apply, polling or post-validation
call. Missing prerequisites are repair inputs, not authority to install/login.
Linux is the only mutation platform; macOS supports status/version/help.
4. **Relay receipt.** Return the helper's safe result directly; a mandatory
tool-result turn relays only observed facts. Lead with target and outcome, then a
next action only when needed. Relay `error.fix` and any exact `repair_command`;
never guess selectors or shorten bound recovery commands. Failed quiesce blocks
engine sync; disabled timers alone do not prove workers stopped or the engine
updated. `prepared` with `activated: false` does not prove scheduler inactivity.
*Unknown*: missing, failed or out-of-scan evidence stays unknown with its reason,
never zero, idle, empty, stopped or absent. *Live delivery*: exit success,
activation, version, harness/doctor evidence, first-tick requests, ready order,
labels and open PRs prove only their own step, never live delivery or completion.
Keep `error.fix`, `error.mutated`, completed/failed `steps`, disabled timers,
stopped workers, `preparation`, `activation` and scheduler uncertainty; a short
summary still shows partial mutation (see
[recovery](references/lifecycle.md#partial-failure-and-recovery)). Preserve the
nonzero timer error, `recurring_scheduling: incomplete`, `first_tick` and
`first_tick_evidence`; never retry the timer or configure later slots. Never expose
credentials, environment values or raw child stderr. No blind retry, implicit
repair, or timer/worker changes outside the helper; a timeout is not retryable.
## Status
`status` (also bare `/orbi`) reads once: no tick, fetch, poll, repair, activation,
session/env dump or implicit installed-helper update. Status never invokes
[`/unblock`](../unblock/SKILL.md), changes labels, requeues or repairs branches.
**Done when** the receipt leads with the repository, deployment-bound package
version/revision and provenance, scheduler state, each observed slot and the queue.
Relay `.worktrees/` disk use per deployment, or why it could not be measured.
Relay `last_lifecycle` as the last recorded Kit helper action, not current state.
Relay `deployment.engine` separately from selected source/pin and `bootstrap_cli`:
a matching CLI version is unverified runtime evidence; a mismatch never replaces the
deployed version. Missing, modified or unpinned metadata leaves the version unknown.
`activity.slots` distinguishes running (issue number/title/link, run ID, phase/last
activity), verified idle, starting, draining and unknown identity. Missing live
bindings mean **active/issue unknown**, never idle or the newest retained issue; a
missing title stays unknown. An activating service is neither idle nor issue pickup.
For slot attribution or uncertain worker identity, see
[stop, status and drain](references/lifecycle.md#stop-status-and-drain).
Keep configured slots, enabled/active timers, running services and verified working
issues as separate observations. Preserve unavailable counts, scan limits, health and
last/next tick evidence. Unavailable counts are unknown, not zero.
For Linux inventory interpretation, see [scheduler inventory](references/lifecycle.md#interpreting-linux-scheduler-inventory).
Relay `orphaned_claims`: `ai-in-progress` issues that no observed running slot
holds, each with its next action. A `/orbi now` session claim also shows up here.
If the slot or queue evidence is incomplete, report them as unknown, not orphaned.
Relay `host_load` (1-minute load against CPU count; `high` when the load is higher).
Both are read-only. Status never relabels or releases an issue.
### Pending queue evidence
Status reports the verified ready queue and grouped open pending issues: actionable
blocker, active/owned, native dependency, planning/paused, epic coordination, ready
and unknown, each with number/link, evidenced reason, next action and observed
prerequisite. Zero ready is not zero pending. Ready issues are not claimed. Ready
order, labels, progress and PR records never prove pickup or liveness. Report only
evidenced decisions and dependencies, never ones inferred from ordering. Partial reads
report observed lower bounds. For incomplete queue coverage or `retry_safe=false`
recovery, see [pending issues and read coverage](references/lifecycle.md#pending-issues-and-read-coverage).
Idle services with ready work call for inspecting scheduler/ownership evidence and
pauses; activation needs its own explicit command.
### Host inventory
`status all [--work] [--verbose|--json]` is one helper invocation from any directory;
pass `--work` only when requested. Relay its rows as-is (compact, `--verbose` per-unit
or `--json`), with no separate GitHub probes and its suggestions unactioned. Reject
conflicting selectors before probes. Relay partial coverage and lower-bound totals.
See [host inventory](references/lifecycle.md#host-inventory).
## Start and setup
`start` and public `setup` share one activation path. New setup accepts installed
`--harness {pi-bolt,pi}` (default Pi-Bolt) and complete
`--pi-providers PATH --pi-provider ID --pi-model ID` with optional `--pi-thinking LEVEL`.
Reuse existing selections without bootstrap flags.
**Done when** the receipt shows `already-running`, or `activation: started` with
configured timers enabled and active. A held or failed activation names its blocker
and repair; report it as prepared, not started.
## Update
Plain `update` stops owned work, syncs and validates the engine, then requests
scheduling, even after an earlier `stop`.
| Request | Workers | Done when |
| --- | --- | --- |
| `update` | Stopped through systemd after timers are disabled | `engine_update` is `updated` or `up_to_date` and `activation: started` |
| `update --stop` | Stopped as above | Engine validated and `activation: held` with reason `explicit --stop` |
| `update --wait` | Finish naturally for up to 30 minutes | As plain `update`; on `update_busy`, scheduling stays paused with no engine change: relay the bound rerun command |
`sync_unverified` means source may have changed without validation; relay it with the
bound recovery command. See [release update](references/lifecycle.md#release-update).
## Stop
Explicit `stop` disables owned timers, cancels verified queued starts and stops owned
workers through systemd, preserving attempts, worktrees and recovery inputs; no direct
kill or restart. **Done when** the receipt reports `stopped` with `disabled_timers`
and `stopped_services`; anything else is partial (step 4). Scheduling resumes only
through explicit `start` or plain `update`; an installer refresh keeps a stopped
deployment stopped. See [stop, status and drain](references/lifecycle.md#stop-status-and-drain).
## Other actions and exceptional paths
- `update all`, `prune [--apply]`, `set DEPLOYMENT slots|model …`, `version`: load
the matching section of the [actions reference](references/actions.md).
- The [lifecycle reference](references/lifecycle.md) owns discovery, isolation and
action semantics. Do not preload it for routine commands. Load only the branch:
[provider bootstrap](references/lifecycle.md#first-deployment-provider-bootstrap),
[harness selection](references/lifecycle.md#harness-selection-and-evidence),
[discovery limits](references/lifecycle.md#ownership-and-discovery-limits),
[recovery](references/lifecycle.md#partial-failure-and-recovery),
[round-trip evidence](references/lifecycle.md#host-round-trips-and-evidence).
- Legacy `--resume-setup` or installed-helper flag mismatch:
[bounded resume](references/lifecycle.md#explicit-bounded-legacy-resume). For a stale
helper, report its loaded path and available Kit revision; recommend a separately
authorized Kit update/reload, never an origin rewrite or activating upstream setup.
## Common Rationalizations
| Rationalization | Reality |
| --- | --- |
| "One more model should route or rephrase this." | Interpret once; the helper's safe receipt is the answer. |
| "I remember help, so I can compose the table." | Run the helper's `help`; report observed output. |
| "Release maintenance needs a separate stop command." | It verifies inactivity before syncing; `--wait` drains without interrupting workers. |
| "A passing preview authorizes activation." | Only an explicit activating command does. |
| "The command failed, so retry is safe." | Failure can be partially applied; preserve evidence and repair deliberately. |
| "The queue is empty because the status read failed." | Failed reads are unavailable. Zero verified ready is not zero pending. |
| "Activating plus an open PR proves progress." | Each proves only its own step (*live delivery*, step 4). |
## Red Flags
- Extra routing/validation/paraphrase models, routine polling or duplicate probes.
- A guessed alias, shell interpolation, changed literal selectors or removed dry-run.
- Prepare-only/dry-run enables timers, status writes, or stop/update kills/restarts a service.
- Update syncs before fresh idle evidence, activates before engine validation or with
unverified ownership, or reports stopped from missing evidence.
- Silently changed pin/provider/harness/origin, or automatic install/login/repair/retry
after a refusal.
- Empty queue or stopped state inferred from unavailable evidence; secrets or raw
child stderr in a receipt.
## Boundaries
- Lifecycle actions are a client, not an executor: no tick, claim, review or merge;
worker inference and independent review stay intact. `/orbi now` has its own
[boundaries](references/now.md#boundaries).
- Not `/unblock`: recovery follows [service boundaries](../unblock/references/services.md).
- Not `/git-commit-push`: no commit, push or PR for the managed repository.
- Not `/plan-with-me` or `/plan-for-me`: planning grants no live service authority.
- Not `/update-kit`: update moves deployment engines, not Kit or this helper.
- Local visibility only: no cross-machine lock or global capacity guarantee.
The standing [Definition of Done](../shared/DEFINITION-OF-DONE.md) applies beyond
this task's acceptance.
**Done when:** the helper's observed state or precise refusal and evidence are
reported, with only authorized scoped mutations and recovery inputs preserved.