AGENT SKILL

orbstack

Control OrbStack and Docker readiness on macOS. Use when Codex needs to check whether OrbStack is running, start OrbStack, wait for Docker to become available, inspect OrbStack machines, run commands through orb/orbctl, or debug local test failures that depend on Docker, containers, or testcontainers.

License 许可
MIT
最近更新
2026-09-15
Stars
★ 3
Forks
0

01 前言 Front Matter

name
orbstack
description
Control OrbStack and Docker readiness on macOS. Use when Codex needs to check whether OrbStack is running, start OrbStack, wait for Docker to become available, inspect OrbStack machines, run commands through orb/orbctl, or debug local test failures that depend on Docker, containers, or testcontainers.

02 资源文件 3

03 SKILL.md 正文

OrbStack

Quick Start

Prefer orbctl when installed. Use orb as a fallback. Use Docker commands only for container state.

Check status:

orbctl status
docker info

Make Docker ready:

"$HOME/.codex/skills/orbstack/scripts/ensure-docker-ready.sh"

Workflow

  1. Check command availability:
command -v orbctl || command -v orb || true
  1. Check OrbStack:
orbctl status
  1. If OrbStack is stopped, start it:
orbctl start
  1. Wait for Docker, because testcontainers and docker compose need Docker:
docker info
  1. For machine-level work, use OrbStack commands:
orbctl list
orbctl info <machine>
orbctl logs <machine>
orbctl restart <machine>
  1. For container-level work, use Docker commands:
docker ps
docker logs <container>
docker compose ps

Guardrails

  • Do not use orbctl reset unless the user explicitly asks. It deletes OrbStack Linux and Docker data.
  • Do not stop or restart machines unless the user asked or a local test/dev task is blocked by OrbStack state.
  • For pre-push or test gates, require Docker readiness, not compose Mongo/LocalStack/Gotenberg readiness, when the repo integration harness uses testcontainers.
  • If orbctl and orb are missing, fall back to open -a OrbStack, then wait for docker info.

Script

Use scripts/ensure-docker-ready.sh in hooks and repeatable workflows. It:

  • checks docker info;
  • starts OrbStack through orbctl, orb, or the app;
  • waits until Docker is available;
  • exits non-zero if Docker is still unavailable.

04 同仓库更多 Skills