🚀 启动排障必杀技:
openclaw status --all (查状态) |
openclaw gateway status (查网关) |
openclaw doctor (自动诊断) |
openclaw logs --follow (看日志)
基础 & 状态检查
openclaw --version | 查看版本 |
openclaw status | 整体运行状态 |
openclaw status --all | 完整诊断信息 |
openclaw doctor | 健康体检(排障首选) |
openclaw health | 检查运行环境 |
Gateway (核心网关)
openclaw gateway status | 查看网关状态 |
openclaw gateway start | 启动后台服务 |
openclaw gateway restart | 重启网关 |
openclaw gateway stop | 停止服务 |
openclaw logs --follow | 实时排障日志 |
配置与初始化
openclaw onboard | 首次初始化 |
openclaw setup | 设置与修复流程 |
openclaw config file | 查看配置文件路径 |
openclaw config validate | 验证配置合法性 |
openclaw configure | 交互式修改配置 |
AI 模型管理
openclaw models list | 查看可用模型 |
openclaw models status | 模型可用性状态 |
openclaw models set [id] | 设置默认模型 |
openclaw models scan | 扫描新模型 |
openclaw models auth list | 查看 Key 认证信息 |
Agent 代理管理
openclaw agents list | 查看所有 Agent |
openclaw agents add | 创建新 Agent |
openclaw agents bind | 绑定渠道到 Agent |
openclaw tui | 进入终端对话界面 |
openclaw chat | 启动聊天终端 |
Channels 渠道管理
openclaw channels list | 查看接入渠道 |
openclaw channels status | 查看渠道在线状态 |
openclaw channels add | 添加 TG/Slack 等 |
openclaw channels login | 登录渠道(如微信) |
openclaw channels logs | 查看渠道收发日志 |
Skills & Plugins
openclaw skills list | 已安装技能 |
openclaw skills search | 搜索新技能 |
openclaw plugins list | 查看插件 |
openclaw plugins doctor | 排查插件故障 |
openclaw update | 升级 OpenClaw |
会话与自动化
openclaw sessions | 查看历史会话 |
openclaw sessions cleanup | 清理冗余会话 |
openclaw automations list | 查看自动化任务 |
openclaw automations run | 手动执行任务 |
openclaw docs [query] | CLI 搜索官方文档 |