Hermes Memory

v1.0.0

Hermes风格自驱记忆系统。模仿Hermes Agent的记忆机制,定期自检记忆健康度、自动提醒整理、保持记忆精简高效。

0· 44·0 current·0 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Hermes-style self-checking memory system) align with the included script and SKILL.md: the code inspects MEMORY.md and USER.md under the user's workspace and reports suggestions. The additional files referenced (SOUL.md, HEARTBEAT.md, ~/self-improving/) are plausible extensions of the described memory system.
Instruction Scope
SKILL.md and memory_health.py limit actions to reading memory files in the user's home (~/.openclaw/workspace/* and ~/self-improving/*) and writing a state file in ~/self-improving. This is within the stated purpose, but SKILL.md contains example cron lines with user-specific hardcoded paths (/home/jdvrommel and a linuxbrew python path) that don't match the script's use of Path.home(); users should update those before installing. The script reads all files in ~/self-improving which may include arbitrary sensitive content—this is expected for a memory-management tool but worth reviewing.
Install Mechanism
No install spec — the skill is instruction-only with one included Python script. Nothing is downloaded or executed from remote URLs, so there is no high-risk install behavior.
Credentials
No environment variables or external credentials are requested. The script accesses ~/.openclaw/workspace and ~/self-improving; that access is proportional to a local memory-management purpose, but those directories can contain sensitive data, so users should be aware the script will read them and will create a hermes-memory-state.json file in ~/self-improving.
Persistence & Privilege
The skill does not request elevated privileges, does not set always:true, and does not modify other skills or global agent settings. Cron-based periodic execution is suggested in SKILL.md but is optional and user-controlled.
Assessment
This skill appears to do what it says: a local script that inspects MEMORY.md, USER.md, and files under ~/self-improving and writes a local state JSON. Before installing/running: (1) review the script yourself (it is short and included) to confirm you accept it reading the listed directories; (2) ensure the cron example paths (python interpreter and absolute home paths) are adapted to your system—do not copy the hardcoded /home/jdvrommel path; (3) be aware the tool will read potentially sensitive files in ~/.openclaw/workspace and ~/self-improving and will write hermes-memory-state.json there; (4) there is no network activity or credential access in the code, but if you change the script or integrate it with external tooling, re-check for exfiltration. If you want extra caution, run it manually once and inspect the generated state file before scheduling it in cron.

Like a lobster shell, security has layers — review code before you run it.

latestvk97cx0vppjcd0a2ch3k4vhnxg185178d
44downloads
0stars
1versions
Updated 2d ago
v1.0.0
MIT-0

Hermes风格自驱记忆系统

模仿Hermes Agent的记忆自检机制,定期检查记忆健康度并主动整理。

核心机制

文件用途建议大小
MEMORY.mdAgent长期记忆≤2200字
USER.md用户画像≤1375字
~/self-improving/技能记忆按需

功能

  • 📊 记忆使用率监控
  • 💡 整理建议提醒
  • 🔄 自动存档旧记忆
  • ⏰ 定时自检(每天1次)

运行方式

手动自检:

python3 ~/self-improving/hermes-memory/memory_health.py

自动定时(每天收盘后17:30自检一次):

# 添加到crontab
crontab -e
# 写入:
30 17 * * 1-5 /home/linuxbrew/.linuxbrew/bin/python3 /home/jdvrommel/self-improving/hermes-memory/memory_health.py >> /home/jdvrommel/self-improving/hermes-memory/health.log 2>&1

触发整理的条件

  • MEMORY.md使用率 ≥70% → 建议精简
  • MEMORY.md使用率 ≥90% → 必须整理
  • USER.md使用率 ≥90% → 必须整理

和Hermes的区别

功能Hermes这个Skill
记忆限制固定2200/1375字建议上限
自动整理Agent自动提示+手动
记忆工具add/replace/remove文件编辑
快照机制冻结快照实时更新

Comments

Loading comments...