运维与扩展 OpenClaw 只读仪表盘的后端、前端标签页与安全模型。
编程
OpenClaw CLI
按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。
它能做什么
根据请求把 OpenClaw CLI 任务路由到正确的命令族,再用 default、--dev 或 --profile 来控制运行时作用域,执行风险操作前先展开 --help 确认参数。自动化场景优先用 --json 输出,并通过 status、health、nodes 等命令校验执行结果。所有破坏性操作都要求用户先明确确认;OpenClaw 出问题时按 status → health → doctor → gateway/node 的顺序排查。
什么时候用它
- 按 status → health → doctor → gateway/node 顺序排查 OpenClaw 异常
- 在 references/command-map.md 里检索合适的命令族
- 在 --dev 或命名 --profile 隔离状态下运行命令
- 用 --json 输出与执行后检查确认结果
技能文档
OpenClaw CLI
Run OpenClaw commands safely and efficiently. Choose the right command family, execute with the correct profile context, and verify postconditions.
Execution Workflow
-
Clarify the target state. Ask what should change and what must remain untouched.
-
Select runtime scope first. Use default profile unless isolation is requested. Use:
openclaw --dev ...for isolated dev state under~/.openclaw-dev.openclaw --profile ...for named isolated state under~/.openclaw-.
-
Choose the command family. Use
references/command-map.mdto route the request quickly. -
Expand command details before running risky operations. Run
openclaw --helpfor starred families and confirm flags. -
Prefer machine-readable output when automation is needed. Use
--jsonwhere available, then parse/verify. -
Verify outcomes explicitly. Check with
openclaw status,openclaw health,openclaw nodes status --json, or command-specific follow-up.
Safety Rules
- Require explicit user confirmation before
reset,uninstall, destructive--forceflows, or credential-clearing operations. - Prefer non-destructive diagnostics first:
status,health,doctor,logs. - Keep profile usage consistent across a workflow. Do not mix default and
--dev/--profilecommands accidentally. - For gateway issues, diagnose before restart unless restart is explicitly requested.
Triage Sequence
For generic "OpenClaw not working" issues:
- Run
openclaw status. - Run
openclaw health. - Run
openclaw doctor. - Check
openclaw gateway ...,openclaw node ..., oropenclaw nodes ...based on where failure appears. - Escalate to targeted commands in
references/command-map.md.
Resources
references/command-map.md: Command families, routing guidance, and practical recipes.
常见问题
- 怎么决定要跑哪个 OpenClaw 命令?
- 依据 references/command-map.md 路由请求,带星号的命令族在执行风险操作前会先展开 --help 确认参数。
- 会自动执行破坏性命令吗?
- 不会。reset、uninstall、带 --force 的操作以及凭据清理,都会先要求用户明确确认。
- 用哪些命令做结果校验?
- 主要是 openclaw status、openclaw health、openclaw nodes status --json,以及对应命令的后置检查。
相关技能
用一条 CLI 命令管理 Nextcloud 的笔记、任务、日历、文件、联系人和 Deck 看板。
每周更新的 OpenClaw 技能精选合集,14 个分类共 11211+ 个技能。
通过 30 个内置工具驱动 Godot 4.x 编辑器,覆盖场景、节点、变换、输入模拟、截图和日志。
自托管的 OpenCLAW AI 代理任务与会话管理面板。
为 OpenClaw 代理减少重复性的 token 消耗:按需加载上下文、Sonnet/Opus 分流、缓存感知的 heartbeat 调度。