首先我得告诉你,这些命令都不需要记,如果你忘记了,可以直接和智能体对话让它告诉你。那为什么我还要写这个文章呢?我是为了后续自己制作skill让智能体来读这篇文章。

OpenClaw常用命令表

分类常用命令说明
版本/帮助openclaw --version / openclaw --help查看版本、查看所有命令
初始化openclaw onboard / openclaw configure首次配置向导;重新配置
配置openclaw config get/set/unset/validate读写配置、校验配置
网关启动openclaw gateway / openclaw gateway run启动网关;gateway 等价于 gateway runsource_group_web_2
网关管理openclaw gateway start/stop/restart/status后台启停、重启、查看状态
网关服务openclaw gateway install/uninstall安装/卸载系统服务
健康检查openclaw health / openclaw gateway health检查网关健康状态
状态诊断openclaw status / openclaw status --deep查看整体状态、深度探测
排障修复openclaw doctor / openclaw doctor --fix自动诊断并修复问题
日志查看openclaw logs / openclaw logs --follow查看网关日志、实时跟踪
模型管理openclaw models list/status/set查看模型列表、状态、切换默认模型
模型认证openclaw models auth add/paste-token/setup-token添加模型认证、粘贴 API Token
通道管理openclaw channels list/status/login/logout管理 Telegram、Discord 等内置通道
添加通道openclaw channels add --channel <名称>仅内置通道可用;自定义插件通道用 config setsource_group_web_3
发送消息openclaw message send --channel <名> --target <id> --message "内容"主动向通道目标发消息
插件管理openclaw plugins list/install/enable/disable管理插件,微信、飞书等属于插件
技能管理openclaw skills list/info/check查看、检查技能依赖
技能商店npx clawhub install <skill>从 ClawHub 安装技能
Agent 触发openclaw agent --message "任务"直接触发一次 Agent 运行
Agent 管理openclaw agents list/add/delete管理多个 Agent
终端界面openclaw tui打开终端聊天界面source_group_web_4
网页面板openclaw dashboard打开 Web 控制台
更新openclaw update更新 OpenClaw 到新版本
重置openclaw reset重置配置/状态
卸载openclaw uninstall卸载网关服务和数据

Hermes常用命令表

分类常用命令说明
版本/帮助hermes --version / hermes --help查看版本、查看所有命令
初始化hermes setup首次配置向导,含模型、工具、网关
模型配置hermes model添加提供商、配置 API Key、选默认模型
配置管理hermes config get/set/edit/check查看、修改、编辑、校验配置
凭证管理hermes auth add/list/remove/reset管理模型凭证;hermes login/logout 已弃用source_group_web_2
聊天入口hermes / hermes chat启动交互式对话
单次查询hermes chat -q "内容"非交互式单次查询source_group_web_3
脚本模式hermes -z "内容"只输出最终答案,适合脚本/管道source_group_web_4
恢复会话hermes --continue / hermes --resume <id>继续最近会话或指定会话source_group_web_5
终端界面hermes --tui启动 TUI 界面source_group_web_6
网关启动hermes gateway run前台运行网关,WSL / Docker / Termux 推荐source_group_web_7
网关管理hermes gateway start/stop/restart/status后台服务启停、重启、查看状态source_group_web_8
网关安装hermes gateway install安装为系统后台服务source_group_web_9
网关配置hermes gateway setup配置 Telegram、Discord、Slack 等消息平台source_group_web_10
Web 面板hermes dashboard启动官方 Web Dashboard,默认端口 9119source_group_web_11
状态诊断hermes status / hermes doctor查看组件状态;hermes doctor --fix 可自动修复source_group_web_12
日志查看hermes logs / hermes logs -f查看日志、实时跟踪;支持 --level、--since 过滤source_group_web_13
工具管理hermes tools list/enable/disable管理终端、文件、浏览器、记忆等工具集
技能管理hermes skills browse/install/list/uninstall浏览、安装、查看、卸载技能
定时任务hermes cron list/create/pause/resume管理定时自动化任务
会话管理hermes sessions list查看历史会话source_group_web_14
数据备份hermes backup / hermes import备份或恢复 ~/.hermes 数据source_group_web_15
Profile 管理hermes profile list/create/use/delete管理多实例 Profile
更新/卸载hermes update / hermes uninstall更新或卸载 Hermes Agentsource_group_web_16
Logo

更多推荐