From hermes-qq
Troubleshoots Hermes Agent ops issues like gateway failures, platform drops, cron non-execution, profile config chaos, and inactive skills/tools via hermes CLI commands in check-locate-fix-verify steps.
npx claudepluginhub chujianyun/skills --plugin hermes-qqThis skill uses the workspace's default tool permissions.
这个 skill 是给其他 agent 拿来运维 Hermes Agent 的。
Guides Hermes Agent installation and configuration: clone Python repo, pip/uv install, set OpenAI/Anthropic/OpenRouter keys, enable Telegram/Discord bots.
View and modify Hermit agent configuration for projects including model, channels, budget prompts, morning brief, heartbeat, routines, idle behavior, compaction thresholds, Docker packages, and unattended mode.
Runs diagnostic checks on agent workspace: config, identity, memory, SQLite index, QMD, crons, hooks, HTTP bridge, messaging plugins, dreaming. Applies safe auto-fixes with --fix.
Share bugs, ideas, or general feedback.
这个 skill 是给其他 agent 拿来运维 Hermes Agent 的。
重点不是泛泛介绍 Hermes 是啥。 重点是:
当用户出现这些诉求时,用这个 skill:
不适用:
本 skill 主要采用:
hermes status、hermes doctor、hermes gateway status 就乱猜~/.hermes/ 配置层复制这份清单并持续更新:
处理进度:
- [ ] 步骤 1:确认问题范围
- [ ] 步骤 2:读取当前状态
- [ ] 步骤 3:定位归因
- [ ] 步骤 4:实施修复
- [ ] 步骤 5:验证结果
- [ ] 步骤 6:输出结论和后续建议
先把问题归到下面某一类,别一锅炖:
基础健康类
Gateway / 平台类
配置类
config.yaml、.env、profile 配置是否冲突能力加载类
调度与自动化类
源码或扩展类
如果用户没说清楚,也别磨叽。先按最常见的基础健康类 + gateway 类检查。
优先跑这些命令,按需增减:
hermes status --all
hermes doctor
hermes config path
hermes config env-path
hermes config check
hermes gateway status
hermes profile list
hermes skills list
hermes tools list
hermes cron list --all
hermes auth list
如果问题更具体,再继续:
hermes gateway restart
hermes gateway start
hermes gateway stop
hermes config show
hermes config migrate
hermes sessions list
hermes memory status
hermes webhook list
hermes profile show <name>
补充说明:
hermes status --all 适合先看全局健康度hermes doctor 适合看依赖、配置和常见错误hermes gateway status 适合确认服务是否真在跑hermes config check 和 hermes config migrate 适合版本升级后排查配置漂移hermes profile list / hermes profile show 适合排查 profile 切换导致的问题按这个顺序判断,效率更高:
常见信号:
hermes doctor 报缺依赖或缺配置hermes config check 报 missing / outdated处理思路:
config.yaml 路径是否对.env 是否缺关键变量hermes config migrate常见信号:
hermes gateway status 显示没运行处理思路:
hermes gateway restart常见信号:
处理思路:
hermes auth listhermes status --all常见信号:
处理思路:
hermes_cli/main.py、gateway/run.py、对应 platform adapter 文件优先做低风险动作:
hermes config migrate
hermes gateway restart
hermes doctor --fix
如果只是状态漂移、配置缺项、服务假死,这一层常常就够了。
当命令输出已经明确指向配置问题时:
config.yaml.env注意:
如果是平台连接问题:
只有在确定是源码问题时才做:
如果当前环境里存在多个仓库副本,优先使用用户当前实际运行的那个,不要改错仓库。
至少做一层验证,最好两层:
hermes doctor
hermes status --all
hermes gateway status
按问题类型补:
hermes gateway statushermes cron list --all,必要时手动 run 一次目标任务hermes profile show <name> 或切 profile 后复测hermes skills list、hermes tools listhermes memory status、hermes auth list如果无法直接验证,也要明确说清楚哪部分还没验证,不准装。
hermes status --all
hermes doctor
hermes doctor --fix
hermes dump
hermes config
hermes config path
hermes config env-path
hermes config check
hermes config migrate
hermes config edit
hermes model
hermes setup
hermes gateway run
hermes gateway start
hermes gateway stop
hermes gateway restart
hermes gateway status
hermes gateway setup
hermes profile list
hermes profile show <name>
hermes profile create <name> --clone
hermes -p <name> gateway status
hermes -p <name> skills list
hermes skills list
hermes skills check
hermes skills update
hermes tools list
hermes tools enable <name>
hermes tools disable <name>
hermes cron list --all
hermes cron status
hermes cron run <job_id>
hermes webhook list
hermes auth list
hermes auth add
hermes auth reset <provider>
hermes memory status
最终汇报至少包含这些:
# Hermes 运维结果
## 问题范围
- ...
## 排查动作
1. ...
2. ...
3. ...
## 定位结论
- 根因:...
- 影响范围:...
## 修复动作
- ...
## 验证结果
- 已验证:...
- 未验证:...
## 后续建议
1. ...
2. ...
如果你是另一个 coding agent,拿到这个 skill 后要遵守:
本 skill 基于这些实际来源整理:
~/Documents/coding/github/hermes-agent/hermes_cli/main.py 中的 CLI 命令入口~/Documents/coding/github/hermes-agent/skills/autonomous-ai-agents/hermes-agent/SKILL.md~/Documents/coding/github/hermes-agent/website/docs/reference/cli-commands.md~/Documents/coding/github/hermes-agent/website/docs/reference/profile-commands.md~/Documents/coding/github/hermes-agent/website/docs/reference/faq.md如果后续 Hermes CLI 命令变了,要同步更新这个 skill,别让它过期。