名言簿丨Mottobook
相信文字的力量!名人名言,经典语录,深度好文,哲理故事,寓言,格言,箴言,座右铭精选,文字的光辉,犹如黑夜的明星,海上的灯塔,指引前行的方向,在潜移默化中打开格局,提升自我,成就人生!

Hermes 多实例 Profiles 常用命令速查

基础操作

命令说明
hermes profile create work创建名为 work 的新 profile,同时注册同名快捷命令
hermes profile create work --clone创建新 profile 并复制当前的配置(config.yaml、.env、SOUL.md)
hermes profile create work --clone-all创建新 profile 并复制所有数据(配置+记忆+会话+技能+定时任务)
hermes profile create work --clone --clone-from coder从指定 profile 克隆配置
hermes profile list查看所有 profiles,当前激活的会标 *
hermes profile show work查看 work profile 的详细信息(路径、模型、网关状态、技能数等)
hermes profile use work切换默认 profile 为 work,之后所有 hermes 命令都走这个 profile
hermes profile use default切回默认 profile
hermes profile delete work删除 work profile(会要求确认)
hermes profile delete work --yes跳过确认直接删除

快捷命令(创建 profile 后自动注册)

创建 profile work 后,work 本身就是一个可用命令

命令说明
work chat用 work profile 进入对话
work model配置模型
work gateway setup配置平台接入
work chat -q "你的问题"快速提问,不进交互模式
work setup配置 work 的模型和平台接入
work gateway start启动 work 的网关
work gateway install将 work 的网关注册为系统服务(开机自启)
work doctor检查 work 的配置和依赖状态
work skills list查看 work 的技能列表
work config set model.model anthropic/claude-sonnet-4修改 work 的模型
work config edit编辑 work 的配置文件

-p 全局标志(临时指定 profile,不改变默认)

命令说明
hermes -p work chat临时用 work profile 对话
hermes -p work gateway start临时启动 work 的网关
hermes -p work skills list临时查看 work 的技能

hermes profile use 的区别:-p 是一次性的,不改变默认 profile;use 是持久切换。

重命名与别名

命令说明
hermes profile rename work dev-bot重命名 profile,同时更新快捷命令和系统服务
hermes profile alias work重新生成 work 的快捷命令(误删后修复用)
hermes profile alias work --name mywork给 work 注册一个自定义别名 mywork
hermes profile alias work --remove移除 work 的快捷命令

导入导出(备份/迁移)

命令说明
hermes profile export work导出为 work.tar.gz
hermes profile export work -o ./work-backup.tar.gz导出到指定路径
hermes profile import work.tar.gz从压缩包导入 profile
hermes profile import work.tar.gz --name work-restored导入并指定新名称
Scroll Up