OpenClaw 速查表
完整命令参考指南。一键复制命令,提升工作效率。
基础操作设置与配置诊断与排错Gateway消息渠道模型Agents & message技能与插件浏览器节点Devices (pairing & tokens)系统与定时任务MaintenanceOtherTop 10 命令
基础操作设置与配置诊断与排错Gateway消息渠道模型Agents & message技能与插件浏览器节点Devices (pairing & tokens)系统与定时任务MaintenanceOtherTop 10 命令
基础操作
9 条
查看版本号
openclaw --version查看所有命令
openclaw --help打开终端对话界面
openclaw tui打开网页控制台
openclaw dashboard更新到最新版本
openclaw updateUpdate No Restart
openclaw update --no-restartUpdate Status
openclaw update statusUpdate Wizard
openclaw update wizardCompletion
openclaw completion设置与配置
12 条
Setup
openclaw setup交互式初始化
openclaw setup --wizard快速入门
openclaw onboard交互式配置
openclaw configure获取配置值
openclaw config get agents.defaults.model.primary设置配置值
openclaw config set agents.defaults.timeoutSeconds 300删除配置项
openclaw config unset agents.defaults.timeoutSecondsConfig File
openclaw config fileConfig Validate
openclaw 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诊断与排错
12 条
健康检查与修复
openclaw doctor检查并自动修复
openclaw doctor --fixDoctor Repair
openclaw doctor --repair查看运行状态
openclaw statusStatus All
openclaw status --all深度检查
openclaw status --deepStatus Usage
openclaw status --usageHealth
openclaw health查看最近日志
openclaw logs跟踪日志
openclaw logs --follow显示最后 N 行
openclaw logs --limit 200JSON 日志
openclaw logs --jsonGateway
13 条
检查 Gateway 状态
openclaw gateway statusGateway Status Deep
openclaw gateway status --deep前台运行
openclaw gateway run启动 Gateway
openclaw gateway start停止 Gateway
openclaw gateway stop重启 Gateway
openclaw gateway restart安装为服务
openclaw gateway install卸载服务
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消息渠道
12 条
列出渠道
openclaw channels list检查渠道状态
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模型
17 条
检查模型状态
openclaw models status检查认证过期
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 add设置令牌认证
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 3Agents & message
11 条
Agent Run
openclaw agent --message "Hello"Agents List
openclaw agents listAgents Bindings
openclaw agents bindingsAgents 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 sessions list技能与插件
17 条
列出技能
openclaw skills list列出可用技能
openclaw skills list --eligible获取技能信息
openclaw skills info seo-blog-generator检查技能要求
openclaw skills check搜索技能
npx clawhub search email安装技能
npx clawhub install email同步技能
npx clawhub sync列出插件
openclaw plugins list获取插件信息
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 plugins doctor内存状态
openclaw memory status重建索引
openclaw memory index搜索内存
openclaw memory search "OpenClaw setup commands"浏览器
18 条
浏览器状态
openclaw browser status启动浏览器
openclaw browser start停止浏览器
openclaw browser stop重置配置
openclaw browser reset-profile列出标签页
openclaw browser tabs打开 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>节点
20 条
Nodes Status
openclaw nodes status列出节点
openclaw nodes list列出已连接节点
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
openclaw devices listDevices Approve
openclaw devices approve <requestId>Devices Reject
openclaw devices reject <requestId>Devices Remove
openclaw devices remove <deviceId>Devices Clear
openclaw devices clearDevices Rotate
openclaw devices rotate <deviceId>Devices Revoke
openclaw devices revoke <deviceId>系统与定时任务
17 条
入队事件
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 system presence列出定时任务
openclaw cron list --all定时任务状态
openclaw cron status添加定时任务
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 run <id>启用任务
openclaw cron enable <id>禁用任务
openclaw cron disable <id>Cron Rm
openclaw cron rm <id>查看任务历史
openclaw cron runs --id <id> --limit 10Cron Edit
openclaw cron edit <id>Maintenance
6 条
打开网页控制台
openclaw dashboardReset
openclaw resetReset Scope
openclaw reset --scope config --yesUninstall
openclaw uninstallBackup Create
openclaw backup createBackup Verify
openclaw backup verify <archive>Other
20 条
Secrets Audit
openclaw secrets auditSecrets Configure
openclaw secrets configureSecrets Apply
openclaw secrets applyHooks List
openclaw hooks listHooks 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
openclaw pairing listPairing Approve
openclaw pairing approve <codeOrChannel> [code]Qr
openclaw qrDocs
openclaw docs <query>Dns Setup
openclaw dns setupApprovals Get
openclaw approvals getApprovals Set
openclaw approvals set --file <path>Approvals Allowlist Add
openclaw approvals allowlist add "~/Projects/**/bin/rg"Sandbox List
openclaw sandbox listNode Status
openclaw node statusNode Run
openclaw node runTop 10 命令
10 条
完整诊断
openclaw status --deep重启 Gateway
openclaw gateway restart验证连接
openclaw channels status发现能力
openclaw skills list故障排查
openclaw logs --follow检查 AI 访问
openclaw models status启用自动化
openclaw browser start管理定时任务
openclaw cron list自动修复问题
openclaw doctor自定义行为
openclaw config get agents.defaults.model.primary
openclaw config set agents.defaults.timeoutSeconds 300