Install
openclaw skills install oz-cli-remote-nodeExecute commands or tasks on the Oz Build Node via CLI, with mode-based control and direct bash command support on the remote node.
openclaw skills install oz-cli-remote-nodeThis skill implements the /oz slash command and acts as a proxy to the oz-cli on a remote node.
Use this skill ONLY when the user activates Oz mode with /oz or explicitly asks to use Oz/Warp.
When a user first installs or attempts to use this skill, guide them through the setup process:
oz CLI on a remote node via the Gateway, acting as a proxy.oz-cli is installed (e.g., "Build Node"). Save this node name into your workspace's TOOLS.md or a local memory file so you remember it for all future uses.nodes tool enabled. If not, instruct the user to grant it (e.g., openclaw config set agents.list[<your-index>].tools.allow '["nodes"]') and restart the gateway./.dockerenv exists or using cat /proc/1/cgroup). If you are in a sandbox, inform the user that local oz execution is impossible without a custom developer image.oz agent profile list --output-format json on that node using the nodes tool.
libEGL warning) and parse the JSON array (e.g., [{"id":"Unsynced","name":"Default"},{"id":"...","name":"Claude"}]).id (not the name) to your memory alongside the node name./oz, you MUST reply with a clear confirmation: "✅ Oz mode is now ACTIVE. All messages will be sent to the Oz CLI on the remote node. Type /oz off to exit, or use ! <command> to run a direct bash command."/oz off, you MUST reply: "❌ Oz mode is now OFF. Returning to normal assistant behavior."oz CLI on the remote node, UNLESS the message starts with !.You must use the nodes tool with action="run" and node="<Saved_Node_Name>" for all execution here. Do NOT use local exec.
Direct Bash Commands (!):
! (e.g. ! ls -la or ! mkdir test):! and run it as a direct shell command on the remote node using the nodes tool.["bash", "-c", "<command>"]cwd: ~/git (or the last known working directory if changed).Oz CLI Prompts & Run Tracking:
oz agent run. NEVER use oz agent run-cloud.oz CLI on the remote node using the nodes tool.["oz", "agent", "run", "--cwd", "~/git", "--profile", "<Saved_Profile_ID>", "--prompt", "<user_prompt>"]oz agent run, you MUST keep track of it:
oz_run.<id>.md.oz commands that are currently running.oz agent run command is done, update the tracking file and send a response back to the user formatted EXACTLY like this:
oz agent for run ID: <id> done.
<the response from the oz agent>
oz agent run FlagsYou can append these flags to the oz agent run command if explicitly requested by the user:
--cwd <PATH> (-C): run from a different directory.--name <NAME> (-n): label the run for grouping and traceability.--share: share the session with teammates.--profile <ID>: use a specific agent profile (defaults to the saved ID if not specified).--model <MODEL_ID>: override the default model.--skill <SPEC>: use a skill as the base prompt.--mcp <SPEC>: start one or more MCP servers (UUID, JSON path, or inline JSON). Can be repeated.--environment <ID> (-e): run in a specific cloud environment.--file <PATH> (-f): load run configuration from a YAML or JSON file.