随笔 / OpenClaw

我整理的小龙虾 OpenClaw 常用命令

OpenClaw命令行效率工具AI Agent

最近一直在和社区的小伙伴学习小龙虾,这里整理一份我自己常用、也比较高频会用到的 OpenClaw 命令,方便后面随时查。

  1. openclaw configure
    打开龙虾配置向导

  2. openclaw onboard
    打开龙虾配置页面

  3. openclaw dashboard
    打开龙虾控制面板

  4. openclaw config get
    查看龙虾所有配置

  5. openclaw config get --section XX
    查看龙虾指定配置

  6. openclaw gateway start
    启动 Gateway(默认端口 18789)

  7. openclaw logs --lines 50
    查看最近 50 行日志。调试 Bug 的时候基本离不开。

  8. openclaw gateway restart
    网关重启,常用于让龙虾配置生效

  9. openclaw skills search XX
    搜索龙虾 XX 技能

  10. openclaw sessions
    查看龙虾所有会话

  11. openclaw skills list
    查看小龙虾安装的所有技能包

  12. openclaw message send --message "Hello"
    发送消息到当前会话

  13. openclaw config get --section models
    查看特定部分配置

  14. openclaw --help
    查看龙虾所有命令

  15. openclaw config set XX
    设置龙虾指定配置

  16. openclaw doctor
    对龙虾进行健康检查

  17. openclaw channels show XX
    展示龙虾特定频道

  18. openclaw skills install XX
    安装龙虾 XX 技能

  19. openclaw skills show XX
    查看龙虾 XX 技能详情

  20. openclaw config unset models.fast
    删除特定配置项

  21. openclaw config set models.default mistral:mixtral-8x7b
    设置默认模型

  22. openclaw config unset models
    重置某个节点

  23. openclaw skills install XX
    安装技能 XX

  24. openclaw skills uninstall XX
    卸载技能 XX

这篇就先当成一个随手记的命令清单,后面我自己在用的时候也会继续补。

Cotton notes · 2026年4月9日