📦 Openclaw CollaborationHermes
v1.0.0Hermes 与本地 OpenClaw 协同工作方案 — 共享记忆、API互调、任务分工
0· 16·0 当前·0 累计
下载技能包
最后更新
2026/4/26
安全扫描
OpenClaw
可疑
medium confidence这些说明虽与 Hermes + 本地 OpenClaw 的协作指南相符,却要求代理读写本地 OpenClaw 文件、调用本地二进制文件及外部 API,同时又未声明任何必需的二进制、环境变量或配置路径——这种不一致令人担忧。
评估建议
本 SKILL.md 是一份让 Hermes 与本地 OpenClaw 实例协同的操作指南,指示 agent 读写 ~/.openclaw 文件、调用 /usr/local/bin/openclaw、访问本地 gateway(token-auth)并与外部 NVIDIA API 交互。
安装或启用前:
1) 明确本技能仅为指令——不会安装任何内容,但若允许,agent 可能在您的机器上执行这些命令。
2) 向技能作者索要所需二进制文件、配置路径及所需凭据(gateway token、NVIDIA API key)的详细说明与用途。
3) 若启用,建议手动调用或在受限/沙箱环境运行;先备份 ~/.openclaw。
4) 若不希望 agent 修改文件,拒绝对 OpenClaw 工作区的写权限,仅允许只读操作,或使用带显式认证的官方 OpenClaw API。
5) 若需更高保障,要求技能添加并发写保护(文件锁)及在编辑配置或重启服务前弹出确认提示。...详细分析 ▾
ℹ 用途与能力
技能名称与描述(Hermes ↔ 本地 OpenClaw 协作)与 SKILL.md 内容一致:记录了共享内存、openclaw agent CLI 调用、gateway 健康检查及 model/provider 说明。但 manifest 未声明任何必需的二进制文件/配置路径/凭据,而说明却假定存在 /usr/local/bin/openclaw、~/.openclaw/* 路径、localhost:18789 上的 gateway 及 NVIDIA API 访问;这些遗漏构成不一致(技能应将这些列为依赖)。
⚠ 指令范围
技能.md explicitly tells the 代理 to read/write the OpenClaw workspace (~/.OpenClaw/workspace), edit ~/.OpenClaw/OpenClaw.json, tAIl 记录s, kill and re启动 gateway processes, and invoke the OpenClaw 命令行工具. These are direct file/command operations on user-local 状态 and may 访问 凭证s or sensitive config. The instructions also reference gateway 令牌 authentication and an external NVIDIA API 端点, but do not specify how 令牌s/凭证s are provided or 保护ed.
✓ 安装机制
There is no 安装 spec and no code files — this is instruction-only. That reduces supply-chAIn risk (nothing to 下载/执行 on 安装). The 运行time risk comes from the 代理 following the provided commands on the host.
⚠ 凭证需求
The 技能 declares no required env vars or 凭证s, yet the text references 令牌-auth for a local gateway and use of the NVIDIA API (which typically requires 凭证s). It also assumes presence of specific config files and a local OpenClaw binary. 请求ing or using gateway/NVIDIA 凭证s would be proportionate for this purpose, but the 技能 fAIls to declare them or explAIn where/how they are obtAIned — a transparency gap that could lead to accidental 凭证 访问/exfiltration if the 代理 is allowed to 运行 these steps autonomously.
ℹ 持久化与权限
always is false (no force inclusion). 模型 invocation is allowed (normal default). Because the 技能 can instruct the 代理 to operate on local files and 运行 系统 commands, autonomous invocation increases blast radius — but that alone is not uncommon for an integration 图形界面de. The combination of autonomous invocation with file and 凭证 operations (and the lack of declared safe防护s) is why caution is advised.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/26
Hermes与OpenClaw协同工作方案——共享记忆、API互调、任务分工
● Pending
安装命令
点击复制官方npx clawhub@latest install openclaw-collaboration
镜像加速npx clawhub@latest install openclaw-collaboration --registry https://cn.longxiaskill.com镜像同步中
技能文档
环境信息
- OpenClaw: /usr/local/bin/OpenClaw (v2026.4.15)
- 配置: ~/.OpenClaw/OpenClaw.json
- Workspace: ~/.OpenClaw/workspace/
- Gateway: 端口 18789 (loopback), 令牌 认证
- 可用模型: minimax-m2.5(主), z-AI/glm5, gemma-3-27b-it
- NVIDIA API: integrate.API.nvidia.com/v1
三种协同方式
1. 共享记忆
Hermes 直接读写 OpenClaw workspace 目录下的记忆文件。
- Hermes 写入时在条目末尾加 [Hermes] 标记
- 避免同时写同一文件: Hermes 写 projects/ 和 decisions/, OpenClaw 写每日日志
2. API 互调
# 给 OpenClaw 派任务
OpenClaw 代理 --代理 mAIn --message "任务描述" --json --timeout 60
# 指定 代理
OpenClaw 代理 --代理 glm5 --message "任务" --json --timeout 60
# 投递回复到频道
OpenClaw 代理 --代理 mAIn --message "任务" --deliver --reply-channel feishu
# 本地模式
OpenClaw 代理 --local --代理 mAIn --message "任务" --json --timeout 30
注意: 代理 命令可能因模型超时卡住, 优先用 minimax-m2.5, 设合理 timeout
3. 任务分工
- 达梦数据库/SQL → Hermes (有专项 技能)
- 飞书消息处理 → OpenClaw (原生集成)
- 快速问答 → Hermes (响应更快)
- 深度推理 → OpenClaw (可调 thinking level)
- 代码编写/文件整理 → 两者均可
配置修复踩坑
- 拼写错误: includeDefaultMemor → includeDefaultMemory
- 非法 key: memory.flush 不是合法配置项(旧版遗留), 需删除
- 修复: 直接编辑 json 文件, 或 OpenClaw doctor --fix(可能卡住)
NVIDIA API 模型 ID 格式
- OpenClaw 配置用: nvidia/z-AI/glm5 (带 提供者 前缀)
- NVIDIA API 实际: z-AI/glm5 (无 提供者 前缀)
- 调 API 时用无前缀版本
GLM5 超时问题
- GLM5 在 NVIDIA API 上频繁超时(idle watchdog 触发)
- 表现: 代理 命令无响应, err.记录 报 timeout from=nvidia/z-AI/glm5
- 这是之前卡顿的根因
- 解决: 优先用 minimax-m2.5 作为主模型
Gateway 运维
- 检查在线: 访问 localhost:18789/健康
- 查进程: ps aux | grep OpenClaw-gateway
- 查错误日志: tAIl ~/.OpenClaw/记录s/gateway.err.记录
- 重启: kill 旧进程后 OpenClaw gateway --port 18789
待完善
- [ ] 网页Socket 长连接实时通信
- [ ] Python 封装脚本简化 代理 调用
- [ ] 文件锁或写入协调避免冲突