将 Hermes Agent 的 Skill 自动生成 + 持久化记忆系统移植到 OpenClaw,让 OpenClaw 拥有任务复盘提炼技能和跨会话记忆的能力。
功能描述🧠 跨会话记忆自动同步对话、预取相关上下文,实现连续对话体验🔧 Skill 自动生成从任务轨迹中复盘分析,自动提炼可复用的技能🔗 无缝集成与 OpenClaw 现有体系 100% 兼容,零入侵设计📊 数据导出将轨迹数据导出为标准化案例,支持模型优化
指标实测值标准sync_turn0.1ms< 500msprefetch3.6ms< 500ms内存占用17.8MB< 100MB并发处理10线程10+
bash
clawhub install hermes-agent-skill
bash
# 1. 克隆项目
git clone https://github.com/openclaw/hermes-agent-skill.git
cd hermes-agent-skill
# 2. 安装依赖
pip install pyyaml
# 3. 初始化系统
./scripts/deploy.sh --workspace ~/.openclaw/workspace --environment production
yaml
hermes:
enabled: true
memory:
enabled: true
auto_sync: true
max_memory_size: 500
retention_days: 30
skill_generation:
enabled: true
require_approval: true
min_trajectories: 3
data_export:
enabled: true
export_dir: data/exports
支持三种环境:
development — 调试模式,详细日志staging — 预发布验证production — 生产环境,性能优先bash
hermes-init --workspace ~/.openclaw/workspace --config hermes.yaml --environment production
bash
hermes-status --health
yaml
# ~/.openclaw/config.yaml
skills:
hermes-agent-skill: true
hermes:
enabled: true
memory:
auto_sync: true
详见 CHANGELOG.md
版本日期说明1.0.02026-04-23初始版本:记忆系统 + Skill 生成 + 兼容性层
bash
# 安装开发依赖
pip install pyyaml psutil pytest
# 运行测试
python3 tests/test_memory.py
python3 tests/test_skill_generation.py
python3 tests/test_compatibility.py
python3 tests/test_performance.py
python3 tests/test_integration.py
bash
# 1. 更新版本号
echo "1.1.0" > VERSION
# 2. 更新变更日志
vim CHANGELOG.md
# 3. 发布到 ClawHub
clawhub publish ./hermes-agent-skill --slug hermes-agent-skill \
--name "Hermes Agent Skill" \
--version $(cat VERSION) \
--changelog "$(head -3 CHANGELOG.md)"
MIT License
由 OpenClaw 社区维护 | 报告问题