بنقرة واحدة
ocm-operator
OCM/OpenClaw envs: create, clone, upgrade, runtimes, services, logs, cleanup.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
OCM/OpenClaw envs: create, clone, upgrade, runtimes, services, logs, cleanup.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | ocm-operator |
| description | OCM/OpenClaw envs: create, clone, upgrade, runtimes, services, logs, cleanup. |
Use OCM as the control plane for OpenClaw. Treat an OCM environment as the
isolation boundary: it owns OPENCLAW_HOME, state, config, workspace, gateway
port, runtime/launcher binding, and service policy.
Prefer OCM commands over raw OpenClaw commands whenever the task touches:
Run OpenClaw inside an env with:
ocm @<env> -- <openclaw args>
Use ocm env exec <env> -- <command> only when you need a non-OpenClaw command
inside the env, such as env, node, or shell tooling.
ocm env list
ocm service status
ocm runtime list
ocm help start
ocm help env
ocm help runtime
ocm help service
ocm help logs
ocm help upgrade
For detailed command patterns, read
references/command-cookbook.md.
For destructive operations, service boundaries, or real user state, read
references/safety-and-state.md before acting.
For this machine's common paths and release-test defaults, read
references/local-paths.md.
ocm start <env> --runtime <runtime>
or ocm start <env> --version <version>.ocm start <env> --runtime <runtime> first;
use --onboard only when testing interactive onboarding specifically.ocm dev <env> --repo <repo>.
Do not use this as proof of release packaging.ocm runtime build-local <runtime> --repo <repo> --force, then test envs
against that runtime.ocm @<env> -- ....ocm logs <env>.ocm service status/start/stop/restart.ocm env destroy <env> --yes; this removes env snapshots,
OCM service policy, and OCM-created dev worktrees.Violet and Shaks as durable state.
Clone first for testing unless the user explicitly asks to mutate them.ocm env destroy.ocm service.OPENCLAW_SERVICE_REPAIR_POLICY=external for env-run
OpenClaw processes, so openclaw doctor --fix should repair normal env
state but skip OpenClaw-owned service lifecycle repair.ocm dev, pnpm openclaw, or a source worktree as release
validation. For release behavior, build and use a package runtime.Finish by exercising the relevant command path. Prefer these checks:
ocm env list
ocm service status <env>
ocm logs <env> --tail 100
ocm @<env> -- --version
ocm @<env> -- status
ocm @<env> -- doctor --fix
Add plugin/model/TUI checks when the task touches plugins, model auth/catalog, onboarding, or gateway connectivity:
ocm @<env> -- plugins list
ocm @<env> -- plugins update --all --dry-run
ocm @<env> -- models list
ocm @<env> -- tui
Keep reports quiet and useful:
Use this failure shape:
Failure:
- Command: `<exact command>`
- Expected: <expected state>
- Actual: <observed state/output>
- Impact: <why it matters>
- Likely owner: OCM | OpenClaw | test setup | external dependency
- Paste to fixer: <short actionable summary>