What problem does it solve?
QClaw environments do not provide a global openclaw CLI, so direct invocation of openclaw commands fails or runs with incorrect runtime context. This Skill centralizes execution through platform-aware wrapper scripts that inject required environment variables, state and config paths, and prevent unsafe service lifecycle operations managed by the QClaw Electron supervisor.
Core Features & Use Cases
- Platform-aware wrappers for macOS and Windows that read runtime metadata from ~/.qclaw/qclaw.json and execute openclaw.mjs via the embedded Node binary.
- Safe configuration workflow that enforces schema validation, requires official documentation confirmation before writes, and implements transactional backup-and-rollback for any config modifications.
- Command scoping & policy that allows read-only queries (status/health/gateway status), configuration management, cron/model/skills/plugins management, diagnostics, logs, and memory/session operations while forbidding any gateway/daemon start/stop/install/uninstall or other destructive lifecycle commands.
- Operational diagnostics to collect health, doctor, and log information without performing service restarts or manipulations.
Quick Start
Invoke the macOS wrapper script in this skill's scripts directory to run a safe OpenClaw CLI read or write, for example: bash <skill_dir>/scripts/openclaw-mac.sh config get gateway.port