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
- 参考文档agents/openai.yaml197 B
- 脚本scripts/executable_ensure-docker-ready.sh918 B
- 参考文档skill.meta.json545 B
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
- Check command availability:
command -v orbctl || command -v orb || true
- Check OrbStack:
orbctl status
- If OrbStack is stopped, start it:
orbctl start
- Wait for Docker, because testcontainers and
docker composeneed Docker:
docker info
- For machine-level work, use OrbStack commands:
orbctl list
orbctl info <machine>
orbctl logs <machine>
orbctl restart <machine>
- For container-level work, use Docker commands:
docker ps
docker logs <container>
docker compose ps
Guardrails
- Do not use
orbctl resetunless 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
orbctlandorbare missing, fall back toopen -a OrbStack, then wait fordocker 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
writing-for-agents
Use when writing skills, agent instructions, or references consumed by agents.
write-tbp
Writing technical blog posts about project features and implementation details. Use when creating blog content about how a project solves interesting problems.
write-pr
Reference standards for writing pull request titles and descriptions, plus the pre-flight comment sweep over the diff. Use as supporting guidance when another skill or workflow needs PR content standards, not as the user-facing create/update PR workflow.
write-issue
Reference standards for writing and maintaining local or remote issues. Use when another skill needs issue title, body, type, or triage guidance.
write-exec-plan
Write or maintain a plan for complex work across phases or PRs. Resolve consequential technical unknowns through prototypes before defining implementation checklists and their evidence.
write-design-doc
Write a design doc that settles hard-to-reverse decisions before anyone builds.