在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
编程
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,以及对应命令的后置检查。
相关技能
把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。
编写、调试与调优 Playwright 测试,涵盖定位器策略、追踪诊断与 CI 友好的超时配置。