code-mate-hermes
它能做什么
这个名为 Hermes 的 AI 智能体会完成你指定的一项任务,然后就停止。它适合处理快速、目标明确的工作。
适用场景
- ✓当你希望 AI 完成一项具体任务,然后就结束时。
- ✓如果你已经确定 AI 能完成这项工作,并且信任它的结果。
- ✓适用于不需要太多互动或前期设置的任务。
技能链接
https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-hermes/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“Hermes,帮我写一段这本书最后一章的摘要。”
每周 5 个新技能,1 分钟读完。
工作原理
它会接收你的指令,快速完成任务,并把结果展示给你。如果出现错误或缺少必要条件,它会告诉你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hermes Agent
Run
- Set the Bash working directory to the smallest directory the user authorized and set a finite timeout, normally 10 minutes.
- Check availability with
command -v hermes. If it is missing, stop and ask the user to install Hermes Agent in Code Mate. - Run one task and exit:
hermes -z "<prompt>"
Pass the prompt as one quoted argument. Treat stdout as final text. Exit zero means success, exit one means failure or no response, and exit two means invalid arguments or an empty failed/partial result. Never start the interactive UI or a login flow.
Authentication And Permissions
If Hermes reports missing provider, model, or API configuration, stop and ask the user to configure Hermes Agent in Code Mate. Never request, read, print, or copy credentials.
One-shot mode automatically enables YOLO and hook acceptance and can load tools, memory, rules, and AGENTS.md. Do not run it in a writable project for read-only work. Use a disposable or read-only copy instead. Run it against the real project only when the user explicitly requests workspace changes, constrain the directory and prompt, and inspect the diff afterward.
Example: for an approved edit, ask Hermes to touch only named files, run it in that project, require exit zero, and inspect the resulting diff before reporting success.
常见问题
什么是“单次模式”?
这意味着 Hermes 只运行一个任务,完成后就停止,不会等待新的指令。
如果没有安装 Hermes 会怎样?
它会提示你在 Code Mate 中安装 Hermes Agent。
需要担心我的密码吗?
不需要。Hermes 从不索取、读取或显示你的凭据。不过,对于重要项目,使用时也应保持谨慎。
详情
作者的原始描述
Runs Hermes Agent in one-shot mode for bounded local tasks. Use when the user explicitly asks to delegate work to Hermes and accepts its automatic tool approval behavior.
repo: CherryHQ/cherry-studio
热度
- GitHub 星标
- 53k
- 排名
- #3379
- 许可证
- AGPL-3.0
- 更新时间
- 2026/10/15
评论
- …