OpenClaw CLI 速查

常用命令

命令说明
openclaw status频道健康+最近会话
openclaw healthGateway 健康检查
openclaw doctor全面检查+修复
openclaw logs实时 tail Gateway 日志
openclaw gateway restart重启 Gateway
openclaw gateway usage-costAPI 成本统计7天

会话管理

命令说明
openclaw sessions list会话列表
openclaw agent --message <msg>单次 agent 调用

Cron

命令说明
openclaw cron list列出所有任务
openclaw cron runs查看执行记录
openclaw cron edit编辑任务

消息

命令说明
openclaw message send --channel tg --target <id> --message <msg>发消息
openclaw message broadcast --message <msg>群发

节点

命令说明
openclaw nodes status节点状态
openclaw nodes run --node <name> --raw "<cmd>"远程命令

记忆

命令说明
openclaw ltm stats向量记忆统计
openclaw ltm search <query>搜索记忆
openclaw memory search文件记忆索引

其他

命令说明
openclaw config get/set <path>配置管理
openclaw directory self --channel tg联系人
openclaw security audit --deep安全审计
openclaw update更新 CLI