查看版本号
查看所有命令
打开终端对话界面
打开网页控制台
更新到最新版本
Update No Restart
openclaw update --no-restartUpdate Status
Update Wizard
Completion
Setup
交互式初始化
快速入门
交互式配置
获取配置值
openclaw config get agents.defaults.model.primary设置配置值
openclaw config set agents.defaults.timeoutSeconds 300删除配置项
openclaw config unset agents.defaults.timeoutSecondsConfig File
Config Validate
安全审计
openclaw security audit --fixSecurity Audit Deep
openclaw security audit --deep全局标志
# Dev profile
openclaw --dev status
# Custom profile
openclaw --profile work gateway status
# JSON output
openclaw status --json
# No color
openclaw logs --no-color健康检查与修复
检查并自动修复
Doctor Repair
查看运行状态
Status All
深度检查
Status Usage
Health
查看最近日志
跟踪日志
显示最后 N 行
openclaw logs --limit 200JSON 日志
检查 Gateway 状态
Gateway Status Deep
openclaw gateway status --deep前台运行
启动 Gateway
停止 Gateway
重启 Gateway
安装为服务
卸载服务
openclaw gateway uninstall调用 RPC 方法
openclaw gateway call config.patch --params '{"skills.enabled":["notion"]}'Gateway Health
openclaw gateway call health健康探测
openclaw gateway probe --timeout 5000发现 Gateway
openclaw gateway discoverGateway Usage Cost
openclaw gateway usage-cost列出渠道
检查渠道状态
openclaw channels status --probeChannels Capabilities
openclaw channels capabilitiesChannels Resolve
openclaw channels resolve --channel telegram --account default查看渠道日志
openclaw channels logs --channel telegram --lines 50添加 Telegram 机器人
openclaw channels add --channel telegram --account alerts --name "Alerts Bot" --token $TELEGRAM_BOT_TOKEN添加 Discord 机器人
openclaw channels add --channel discord --account work --name "Work Bot" --token $DISCORD_BOT_TOKEN添加 WhatsApp
openclaw channels add --channel whatsapp移除渠道
openclaw channels remove --channel discord --account work删除渠道配置
openclaw channels remove --channel discord --account work --delete登录渠道
openclaw channels login --channel whatsapp登出渠道
openclaw channels logout --channel whatsapp --account default检查模型状态
检查认证过期
openclaw models status --check列出所有模型
openclaw models list --all列出本地模型
openclaw models list --local按提供商列出
openclaw models list --provider anthropic设置主模型
openclaw models set claude-3-5-sonnet-20241022设置图像模型
openclaw models set-image claude-3-5-sonnet-20241022添加认证(交互式)
设置令牌认证
openclaw models auth setup-token --provider anthropic粘贴令牌
openclaw models auth paste-token --provider openai --token $OPENAI_API_KEYOAuth 登录模型提供商
openclaw models auth login --provider <provider>列出别名
openclaw models aliases list添加别名
openclaw models aliases add "claude" "claude-3-5-sonnet-20241022"列出回退
openclaw models fallbacks list添加回退
openclaw models fallbacks add "claude-3-5-sonnet-20241022" "gpt-4o"扫描模型
openclaw models scan --set-default --yes按约束扫描
openclaw models scan --max-params 100000 --max-age-days 30 --concurrency 3Agent Run
openclaw agent --message "Hello"Agents List
Agents Bindings
Agents Bind
openclaw agents bind <agentId> <channel> <account>Agents Unbind
openclaw agents unbind <agentId> <channel> <account>Agents Add
openclaw agents add [name]Agents Set Identity
openclaw agents set-identity <id> <name>Agents Delete
openclaw agents delete <id>Message Send
openclaw message send --channel telegram --account default --text "Hello"Message Broadcast
openclaw message broadcast --text "Announcement"Sessions List
列出技能
列出可用技能
openclaw skills list --eligible获取技能信息
openclaw skills info seo-blog-generator检查技能要求
搜索技能
安装技能
npx clawhub install email同步技能
列出插件
获取插件信息
openclaw plugins info voicecall安装插件
openclaw plugins install ./custom-pluginPlugins Install Link
openclaw plugins install ./custom-plugin --link启用插件
openclaw plugins enable voicecall禁用插件
openclaw plugins disable voicecall检查插件
内存状态
重建索引
搜索内存
openclaw memory search "OpenClaw setup commands"浏览器状态
启动浏览器
停止浏览器
重置配置
openclaw browser reset-profile列出标签页
打开 URL
openclaw browser open --url https://docs.openclaw.ai聚焦标签页
openclaw browser focus --target-id <id>截图
openclaw browser screenshot --target-id <id> --type pngDOM 快照
openclaw browser snapshot --format aria --target-id <id>导航到 URL
openclaw browser navigate --url https://example.com --target-id <id>点击元素
openclaw browser click --ref button-submit --target-id <id>输入文本
openclaw browser type --text "Hello" --input-ref textarea-message --target-id <id>填写表单
openclaw browser fill --fields '[{"ref":"name","value":"John"}]' --target-id <id>执行 JavaScript
openclaw browser evaluate --fn "document.title" --target-id <id>列出配置
openclaw browser profiles创建配置
openclaw browser create-profile --name "Shopping" --color "#FF5A2D"删除配置
openclaw browser delete-profile --name "Shopping"导出为 PDF
openclaw browser pdf --target-id <id>Nodes Status
列出节点
列出已连接节点
openclaw nodes status --connected描述节点
openclaw nodes describe --node <nodeId>Nodes Pairing Rename
openclaw nodes pairing rename --node <id> --name "Personal iPhone"在节点上运行命令
openclaw nodes run --node <id> --raw "openclaw status"调用节点方法
openclaw nodes invoke --node <id> --command camera_snap --params '{"facing":"back"}'列出待处理请求
openclaw nodes pairing pending批准请求
openclaw nodes pairing approve <requestId>拒绝请求
openclaw nodes pairing reject <requestId>列出摄像头
openclaw nodes camera list --node <id>拍照
openclaw nodes camera snap --node <id> --facing back录制视频
openclaw nodes camera clip --node <id> --facing back --duration 30s画布快照
openclaw nodes canvas snapshot --node <id> --format png显示画布
openclaw nodes canvas present --node <id> --x 100 --y 200 --width 600 --height 400隐藏画布
openclaw nodes canvas hide --node <id>导航画布
openclaw nodes canvas navigate --node <id> --url https://example.com在画布上执行
openclaw nodes canvas eval --node <id> --js "document.body.style.backgroundColor='red'"屏幕录制
openclaw nodes screen record --node <id> --duration 60 --out /tmp/recording.mp4获取位置
openclaw nodes location get --node <id>Devices (pairing & tokens)
7 条
Devices List
Devices Approve
openclaw devices approve <requestId>Devices Reject
openclaw devices reject <requestId>Devices Remove
openclaw devices remove <deviceId>Devices Clear
Devices Rotate
openclaw devices rotate <deviceId>Devices Revoke
openclaw devices revoke <deviceId>入队事件
openclaw system event --text "Daily summary check"立即触发事件
openclaw system event --text "Check emails" --mode now最后心跳
openclaw system heartbeat last启用心跳
openclaw system heartbeat enable禁用心跳
openclaw system heartbeat disable系统状态
列出定时任务
定时任务状态
添加定时任务
openclaw cron add --name "daily-summary" --at "2026-02-11T09:00:00Z" --system-event "Check emails"添加循环任务
openclaw cron add --name "hourly-check" --every 3600000 --message "Check for new messages"添加 Cron 表达式任务
openclaw cron add --name "weekly-report" --cron "0 9 * * 1" --message "Generate weekly report"运行任务
启用任务
openclaw cron enable <id>禁用任务
openclaw cron disable <id>Cron Rm
查看任务历史
openclaw cron runs --id <id> --limit 10Cron Edit
打开网页控制台
Reset
Reset Scope
openclaw reset --scope config --yesUninstall
Backup Create
Backup Verify
openclaw backup verify <archive>Secrets Audit
Secrets Configure
openclaw secrets configureSecrets Apply
Hooks List
Hooks Enable
openclaw hooks enable <name>Hooks Disable
openclaw hooks disable <name>Directory Self
openclaw directory self --channel telegram --account defaultDirectory Peers List
openclaw directory peers list --channel telegramDirectory Groups List
openclaw directory groups list --channel telegramPairing List
Pairing Approve
openclaw pairing approve <codeOrChannel> [code]Qr
Docs
Dns Setup
Approvals Get
Approvals Set
openclaw approvals set --file <path>Approvals Allowlist Add
openclaw approvals allowlist add "~/Projects/**/bin/rg"Sandbox List
Node Status
Node Run
完整诊断
重启 Gateway
验证连接
发现能力
故障排查
检查 AI 访问
启用自动化
管理定时任务
自动修复问题
自定义行为
openclaw config get agents.defaults.model.primary
openclaw config set agents.defaults.timeoutSeconds 300