OpenClaw 命令速查表 | 开源龙虾玩家必备


OpenClaw 命令速查表 | 2026最新版
本文档为大家整理了 OpenClaw 所有 CLI 命令及其子命令,按功能分类,方便日常查询使用。


1.1 Gateway 服务管理
|
|
|
|
|---|---|---|
openclaw gateway run |
|
|
openclaw gateway start |
|
|
openclaw gateway stop |
|
|
openclaw gateway status |
|
|
openclaw gateway restart |
|
|
openclaw gateway health |
|
|
openclaw gateway probe |
|
|
示例:
openclaw gateway status openclaw gateway start openclaw gateway restart
1.2 系统状态与日志
|
|
|
|
|---|---|---|
openclaw status |
|
|
openclaw health |
|
|
openclaw logs |
|
|
openclaw logs --follow |
|
|
openclaw logs --json |
|
|
示例:
openclaw status openclaw logs --follow openclaw logs --limit 50
1.3 控制台与界面
|
|
|
|
|---|---|---|
openclaw dashboard |
|
|
openclaw tui |
|
|
示例:
openclaw dashboard openclaw tui


2.1 会话管理
|
|
|
|
|---|---|---|
openclaw sessions |
|
|
openclaw sessions --all-agents |
|
|
openclaw sessions --active 120 |
|
|
openclaw sessions --json |
|
|
openclaw sessions cleanup |
|
|
示例:
openclaw sessions openclaw sessions --all-agents openclaw sessions --active 60
2.2 智能体管理
|
|
|
|
|---|---|---|
openclaw agents list |
|
|
openclaw agents add |
|
|
openclaw agents delete |
|
|
openclaw agents bind |
|
|
openclaw agents bindings |
|
|
openclaw agents set-identity |
|
|
示例:
openclaw agents list openclaw agents add --name 小张 --workspace ~/.openclaw/agents/zhang
2.3 ACP 协议工具
|
|
|
|
|---|---|---|
openclaw acp client |
|
|
示例:
openclaw acp client


3.1 渠道管理
|
|
|
|
|---|---|---|
openclaw channels list |
|
|
openclaw channels login |
|
|
openclaw channels logout |
|
|
openclaw channels status |
|
|
openclaw channels add |
|
|
openclaw channels logs |
|
|
openclaw channels resolve |
|
|
示例:
openclaw channels list openclaw channels login --channel wechat openclaw channels login --channel telegram
3.2 设备配对管理
|
|
|
|
|---|---|---|
openclaw pairing list |
|
|
openclaw pairing approve |
|
|
openclaw qr |
|
|
示例:
openclaw pairing list openclaw pairing approve <code> openclaw qr
3.3 节点管理(Nodes)
|
|
|
|
|---|---|---|
openclaw nodes list |
|
|
openclaw nodes status |
|
|
openclaw nodes pending |
|
|
openclaw nodes approve |
|
|
openclaw nodes reject |
|
|
openclaw nodes invoke |
|
|
openclaw nodes camera |
|
|
openclaw nodes screen |
|
|
示例:
openclaw nodes status openclaw nodes invoke --node <id> --command system.which --params '{"name":"uname"}'


4.1 配置管理
|
|
|
|
|---|---|---|
openclaw configure |
|
|
openclaw config get |
|
|
openclaw config set |
|
|
openclaw config unset |
|
|
openclaw config file |
|
|
openclaw config validate |
|
|
示例:
openclaw config get gateway.port openclaw config set gateway.port 19001 openclaw config file
4.2 密钥管理
|
|
|
|
|---|---|---|
openclaw secrets configure |
|
|
openclaw secrets audit |
|
|
openclaw secrets reload |
|
|
示例:
openclaw secrets audit openclaw secrets reload


5.1 技能管理
|
|
|
|
|---|---|---|
openclaw skills list |
|
|
openclaw skills search |
|
|
openclaw skills install |
|
|
openclaw skills update |
|
|
openclaw skills info |
|
|
openclaw skills check |
|
|
示例:
openclaw skills list openclaw skills search wechat openclaw skills install clawhub:hotlist-fetcher
5.2 插件管理
|
|
|
|
|---|---|---|
openclaw plugins list |
|
|
openclaw plugins install |
|
|
openclaw plugins uninstall |
|
|
openclaw plugins update |
|
|
openclaw plugins enable |
|
|
openclaw plugins disable |
|
|
openclaw plugins inspect |
|
|
openclaw plugins doctor |
|
|
示例:
openclaw plugins list openclaw plugins install clawhub:some-plugin openclaw plugins doctor


6.1 定时任务(Cron)
|
|
|
|
|---|---|---|
openclaw cron list |
|
|
openclaw cron add |
|
|
openclaw cron rm |
|
|
openclaw cron edit |
|
|
openclaw cron enable |
|
|
openclaw cron disable |
|
|
openclaw cron run |
|
|
openclaw cron runs |
|
|
openclaw cron status |
|
|
示例:
openclaw cron list openclaw cron add --name "每日热点" --schedule "0 9 * * *" --task "openclaw skills run hotlist-fetcher"
6.2 后台任务
|
|
|
|
|---|---|---|
openclaw tasks list |
|
|
openclaw tasks show |
|
|
openclaw tasks cancel |
|
|
openclaw tasks audit |
|
|
openclaw tasks maintenance |
|
|
示例:
openclaw tasks list openclaw tasks show <task_id> openclaw tasks cancel <task_id>
6.3 系统事件与心跳
|
|
|
|
|---|---|---|
openclaw system event |
|
|
openclaw system heartbeat |
|
|
openclaw system presence |
|
|
示例:
openclaw system presence


7.1 发送消息
|
|
|
|
|---|---|---|
openclaw message send |
|
|
openclaw message broadcast |
|
|
示例:
openclaw message send --target +15555550123 --message "你好" openclaw message send --channel telegram --target @username --message "Hi"
7.2 消息操作
|
|
|
|
|---|---|---|
openclaw message read |
|
|
openclaw message delete |
|
|
openclaw message edit |
|
|
openclaw message search |
|
|
7.3 互动操作
|
|
|
|
|---|---|---|
openclaw message react |
|
|
openclaw message poll |
|
|
openclaw message pin |
|
|
openclaw message unpin |
|
|
示例:
openclaw message react --channel discord --target 123 --message-id 456 --emoji "👍" openclaw message poll --channel discord --target channel:123 --poll-question "午饭吃什么?" --poll-option Pizza --poll-option Sushi
7.4 群组管理
|
|
|
|
|---|---|---|
openclaw message ban |
|
|
openclaw message kick |
|
|
openclaw message timeout |
|
|


8.1 MCP 管理
|
|
|
|
|---|---|---|
openclaw mcp list |
|
|
openclaw mcp show |
|
|
openclaw mcp set |
|
|
openclaw mcp unset |
|
|
openclaw mcp serve |
|
|
示例:
openclaw mcp list openclaw mcp set my-server --json '{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem"]}'
8.2 Webhook 管理
|
|
|
|
|---|---|---|
openclaw webhooks gmail |
|
|
示例:
openclaw webhooks gmail


9.1 安全审计
|
|
|
|
|---|---|---|
openclaw security audit |
|
|
openclaw security audit --deep |
|
|
openclaw security audit --fix |
|
|
示例:
openclaw security audit openclaw security audit --fix
9.2 诊断与修复
|
|
|
|
|---|---|---|
openclaw doctor |
|
|
openclaw doctor --fix |
|
|
示例:
openclaw doctor openclaw doctor --fix
9.3 备份与恢复
|
|
|
|
|---|---|---|
openclaw backup create |
|
|
openclaw backup verify |
|
|
示例:
openclaw backup create openclaw backup verify <backup_file>
9.4 执行策略
|
|
|
|
|---|---|---|
openclaw exec-policy show |
|
|
openclaw exec-policy set |
|
|
openclaw exec-policy preset |
|
|
示例:
openclaw exec-policy show openclaw exec-policy preset yolo

10、补充延伸
10.1 模型管理
|
|
|
|
|---|---|---|
openclaw models list |
|
|
openclaw models set |
|
|
openclaw models status |
|
|
openclaw models scan |
|
|
openclaw models aliases |
|
|
示例:
openclaw models list openclaw models set deepseek/deepseek-chat
10.2 沙盒容器
|
|
|
|
|---|---|---|
openclaw sandbox list |
|
|
openclaw sandbox recreate |
|
|
openclaw sandbox explain |
|
|
示例:
openclaw sandbox list openclaw sandbox recreate --all
10.3 调试代理
|
|
|
|
|---|---|---|
openclaw proxy run |
|
|
openclaw proxy sessions |
|
|
openclaw proxy query |
|
|
示例:
openclaw proxy run -- <command> openclaw proxy sessions
10.4 日志追踪
|
|
|
|
|---|---|---|
openclaw logs --expect-final |
|
|
openclaw logs --json |
|
|

如果你是企业/个体商家老板、电商等各行业创业者、自媒体从业者,从个人到企业落地 AI agent 数字员工,从流量获客到生意提效降本,可以关注与我们建联。
在这里,你将收获 AI 最前沿完全落地的玩法,深度剖析大模型、openclaw、Hermes Agent、Claude Code、qwenpaw、qclaw、workbuudy等龙虾自动化Agent、skills、工具、电商、智能硬件等
同时,如果你在 AI 、Agent 应用、电商,流量获客等探索中遇到任何疑惑,都可以在我的文章或视频下方留言,我将第一时间为你答疑解惑,与你携手在这个充满机遇的AI时代,共同挖掘无限可能,实现自我进化!


夜雨聆风