微信扫码
添加专属顾问
我要投稿
OpenClaw超级速查表,一键掌握所有核心命令,养虾摸鱼必备神器! 核心内容: 1. 核心CLI命令详解与参数选项 2. 全局标志功能说明与使用场景 3. 多模块管理(模型、代理、日志等)操作指南
“一图胜前言,大家养虾摸鱼的时候可以用到~
openclaw gateway | --port--bind, --token | |
openclaw gateway start|stop|restart | ||
openclaw channels login | ||
openclaw channels add | --token | |
openclaw channels status --probe | ||
openclaw onboard | --install-daemon | |
openclaw doctor | --deep--yes | |
openclaw config get|set|unset | ||
openclaw models list|set|status | ||
openclaw models auth setup-token | ||
openclaw models fallbacks add|remove | ||
openclaw memory status|index|search | ||
openclaw Agents list|add|delete | ||
openclaw logs --follow | ||
openclaw status --all --deep | --usage | |
openclaw sessions --json | ||
openclaw security audit | --fix | |
openclaw browser start|tabs|screenshot | ||
openclaw cron list|add|run | ||
openclaw pairing list|approve | ||
openclaw reset --scope |
--dev | |
--profile <name> | |
--no-color | |
--update | openclaw update |
-V--version, -v |
openclaw plugins list|enable|disable | |
openclaw approvals get|set|allowlist | |
openclaw sandbox list|recreate|explain | |
openclaw system event --text "X" | |
openclaw system heartbeat enable|disable|last | |
openclaw update status|wizard | |
openclaw nodes list|pending|approve | |
openclaw devices list|approve|rotate|revoke | |
openclaw directory peers|groups list | |
openclaw health --json --verbose | |
openclaw dashboard | |
openclaw tui --url --token |
models status --probe | |
channels status --probe | status --deep 进行完整的gateway级诊断 |
security audit --fix | |
--update |
openclaw channels login | ||
channels add --channel telegram --token $TOKEN | ||
channels add --channel discord --token $TOKEN | ||
channels add --channel slack | ||
channels add --channel googlechat | ||
channels add --channel signal | ||
channels add --channel msteams |
快速诊断:
openclaw channels status --probeopenclaw channels logs --channel [id]AGENTS.md | |
SOUL.md | |
USER.md | |
IDENTITY.md | |
MEMORY.md | |
memory/YYYY-MM-DD.md | |
TOOLS.md | |
HEARTBEAT.md | |
BOOT.md |
根目录:~/.openclaw/workspace
| 每日日志 | memory/YYYY-MM-DD.md |
| 长期记忆 | MEMORY.md |
| 向量搜索 | memory_search |
| 提供商 | memorySearch.provider |
| QMD后端 | memory.backend = "qmd" |
| 混合搜索 |
命令:
openclaw memory index --allopenclaw memory search "X"openclaw models list --all | |
openclaw models set <model> | |
openclaw models set-image <model> | |
openclaw models fallbacks add <model> | |
openclaw models auth setup-token | |
openclaw models auth add --provider <p> | |
openclaw models status --probe | |
openclaw models aliases add <a> <m> |
session.dmScope | |
session.reset.mode | |
session.reset.idleMinutes | |
session.resetByType | |
session.resetByChannel | |
session.identityLinks | |
session.sendPolicy | |
session.store | ~/.openclaw/agents/{agentId}/sessions/sessions.json |
“⚠️ 安全提示: 多用户收件箱请使用
per-channel-peer防止上下文泄露
/status | |
/context list | |
/context detail | |
/model <model> | /model list) |
/compact [instructions] | |
/new [model] | |
/reset | /new |
/stop | |
/send on|off|inherit | |
/tts on|off | |
/think/verbose | |
/config | |
/debug |
启用自动TTS:
messages.tts.auto: "always"
openclaw logs --follow | |
openclaw logs --json | |
openclaw logs --limit 200 | |
openclaw channels logs --channel whatsapp |
OTel导出配置:
"diagnostics": {
"otel": {
"enabled": true
}
}
openclaw browser start|stop | |
openclaw browser tabs | |
openclaw browser open <url> | |
openclaw browser screenshot | |
openclaw browser navigate <url> | |
openclaw browser click|type|press | |
openclaw browser evaluate <js> | |
openclaw browser pdf |
openclaw cron list | |
openclaw cron add | |
openclaw cron edit <id> | |
openclaw cron enable|disable <id> | |
openclaw cron run <id> | |
openclaw cron runs |
session-memory | ||
command-logger | ||
boot-md | ||
soul-evil |
openclaw hooks list | |
openclaw hooks enable <name> | |
openclaw hooks disable <name> | |
openclaw hooks info <name> | |
openclaw hooks check |
command:new | |
command:reset | |
command:stop | |
gateway:startup | |
agent:bootstrap |
<workspace>/skills/ | ||
~/.openclaw/skills/ | ||
clawhub install <slug> | |
clawhub update --all | |
clawhub sync --all |
---
name: my-skill
description: "What this skill does"
metadata:
openclaw:
requires: {...}
---
| 隔离工作区 | |
| 每代理认证 | |
| 会话存储 | ~/.openclaw/agents/<id>/sessions |
| 绑定 |
命令:
openclaw agents add <name>openclaw agents list --bindingsheartbeat.every | |
heartbeat.target | |
heartbeat.to | |
heartbeat.model | |
heartbeat.prompt | |
heartbeat.activeHours |
“📋 契约: 如果没有需要关注的事项,回复
HEARTBEAT_OK。代理会删除仅包含OK的回复。
# Heartbeat checklist
- Quick scan: anything urgent?
- Daytime: lightweight check-in
- Blocked? Note what's missing
"off" | |
"non-main" | |
"all" |
"session" | |
"agent" | |
"shared" |
"none" | |
"ro" | |
"rw" |
设置镜像:scripts/sandbox-setup.sh
默认镜像:openclaw-sandbox:bookworm-slim
| 并行工作 | |
| 会话隔离 | |
| 自动公告 | |
| 自动归档 |
/subagents list | |
/subagents stop <id|#|all> | |
/subagents log <id|#> | |
/subagents info <id|#> | |
/subagents send <id|#> <msg> |
{
"task": "...",
"label": "...",
"model": "...",
"thinking": "...",
"runTimeoutSeconds": "...",
"cleanup": "..."
}
返回:{ status, runId, childSessionKey }
openclaw pairing list | |
openclaw models auth setup-token --provider anthropic | |
openclaw doctor --deep | |
openclaw memory index | |
/compact/new (开始新会话) | |
openclaw channels status --probe | |
openclaw reset --scope sessions | |
| 通用修复命令 | openclaw doctor --deep --yes |
~/.openclaw/openclaw.json | |
~/.openclaw/workspace/ | |
~/.openclaw/agents/<id>/ | |
~/.openclaw/agents/<id>/sessions/ | |
~/.openclaw/credentials/ | |
~/.openclaw/memory/<agentId>.sqlite | |
/tmp/openclaw/openclaw-YYYY-MM-DD.log |
“💡 提示: 使用
--dev或--profile <name>在不同目录下隔离状态。
npm install -g openclaw@latest
# 1. 引导设置
openclaw onboard --install-daemon
# 2. 频道链接
openclaw channels login
# 3. 启动Gateway
openclaw gateway --port 18789
--mode local | |
--mode remote | |
--flow quickstart | |
--skip-channels |
53AI,企业落地大模型首选服务商
产品:场景落地咨询+大模型应用平台+行业解决方案
承诺:免费POC验证,效果达标后再合作。零风险落地应用大模型,已交付160+中大型企业
2026-03-04
OpenClaw是正经AI Agent吗?深度拆解工具调用、交互入口和开发生态
2026-03-04
Team 版 OpenClaw:HiClaw 开源,5 分钟完成本地安装
2026-03-04
如何将你的OpenClaw账单减半
2026-03-04
别再硬扛原生记忆了!OpenClaw内置Mem0,让Agent更省token、更智能
2026-03-04
真惊了!发邮件、查机票、拍照、截图... 调教了 OpenClaw 两天,它开始替我上班了
2026-03-04
云端OpenClaw更是路边一条
2026-03-04
OpenClaw最佳工具榜来了!这6款龙虾最受欢迎
2026-03-04
别再迷信 Agent 框架了,你缺的其实是一套“线束”
2026-02-06
2026-02-03
2026-02-17
2026-02-16
2026-02-06
2026-01-30
2026-01-30
2026-02-05
2026-02-10
2026-02-02
2026-03-02
2026-02-28
2026-02-27
2026-02-26
2026-02-25
2026-02-24
2026-02-20
2026-02-11