ebbinghaus-memory
Use Ebbinghaus memory sleep, recall, and decay.
- License 许可
- MIT
- 所属仓库
- zapabob/Skills
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- ebbinghaus-memory
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "memory", "ebbinghaus", "sleep", "recall", "forgetting" ], "tools": [ "ebbinghaus_memory" ], "plugin": "plugins/memory/ebbinghaus", "related_skills": [ "hermes-agent" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Use Ebbinghaus memory sleep, recall, and decay.
03 SKILL.md 正文
Ebbinghaus Memory Skill
Use this skill to operate the bundled Ebbinghaus memory plugin as an agent memory routine. It covers durable recall, rehearsal-based consolidation, and idle sleep cleanup.
This skill does not replace other memory providers. Use it when the active memory provider is ebbinghaus or when you are helping a user configure that provider.
When to Use
- Use when the user asks about agent sleep, memory consolidation, Ebbinghaus forgetting, recall, rehearsal, decay, or pruning forgotten memories.
- Use when durable user preferences or operational facts should be stored through the local
ebbinghaus_memorytool. - Use when idle memory maintenance should run through
memory.sleepand the bundledplugins/memory/ebbinghausprovider. - Do not use for unrelated knowledge-base providers such as Hindsight, Supermemory, ByteRover, OpenViking, RetainDB, or Holographic memory unless the task compares providers.
Prerequisites
- The memory provider is
ebbinghaus. - The
ebbinghaus_memorytool is available from the active memory provider. - For idle sleep,
memory.sleep.enabledis true andmemory.sleep.idle_after_secondsis greater than zero. - Persistent state is stored by the plugin under
HERMES_HOME, using the provider's configured SQLite database path.
How to Run
Use ebbinghaus_memory directly when the user asks for explicit memory work.
For manual memory writes, call:
{"action":"remember","content":"User prefers Japanese status updates.","tags":"user-preference,communication","salience":0.9}
For recall before answering from memory, call:
{"action":"recall","query":"Japanese status updates","limit":5}
For consolidation, call:
{"action":"rehearse","query":"Japanese status updates","limit":1}
For sleep maintenance, call:
{"action":"sleep","prune":true,"rehearse_threshold":0.45,"forget_threshold":0.08,"salience_keep_threshold":0.7,"limit":200}
Quick Reference
| Action | Use |
|---|---|
remember |
Store a durable fact with cue tags and salience. |
recall |
Retrieve matching memories and reinforce retrieval. |
rehearse |
Consolidate a known memory by id or query. |
decay |
Inspect low-retention traces and optionally prune. |
sleep |
Rehearse important low-retention traces and forget low-value traces. |
forget |
Delete one memory by memory_id. |
list |
Inspect stored memories. |
stats |
Inspect memory-store counts and retention summary. |
Procedure
- Check whether the task is about memory behavior, not ordinary file or session state.
- If the answer depends on existing memory, call
ebbinghaus_memorywithaction="recall"before relying on memory. - If the user gives a durable preference, fact, or operating constraint, call
action="remember"with short tags and an appropriate salience value. - If a memory is important but retention is low, call
action="rehearse"or include it in a sleep pass. - If the user asks for agent sleep or maintenance, call
action="sleep"with the configured thresholds unless they specify different values. - If the user asks to remove a memory, prefer
action="forget"for a knownmemory_id; useaction="decay"withprune=trueonly for threshold-based cleanup.
Persona / In-Joke Cue Memories
When the user explicitly asks to remember a playful phrase, nickname, running joke, or persona cue (for example a contradictory species joke or a preferred cute catchphrase), treat it as a durable user-preference memory rather than a one-off joke.
- Store a concise
rememberentry that captures how to use the cue, not just the literal phrase. - Include tags for
user-preference,persona,in-joke, language/style, and the cue text. - Use high salience when the user says to “しっかり使えるように” or otherwise asks for future reuse.
- Immediately verify with
recallusing the cue and relevant nickname/persona terms. - In the final reply, report the memory id and confirm that recall succeeded.
Multi-platform persona unification example (2026-06-11 session): User requested full memory integration. Reinforced:
- Primary address: 「ボブにゃん」 (salience 1.0, memory_id 631)
- In-joke: 「にゃ〜ん(雄犬)」 accepted and used casually/cutely in Japanese (same entry)
- Additional context: user also answers to 「とうふ」 and 「ゴリ太郎財務官」 in specific contexts. Always rehearse these immediately after remember during unification passes. Store as one compact entry with high salience so the persona layer survives sleep/decay cycles.
Pitfalls
- Do not treat
sleepas a background thread. The built-in idle path is lazy and runs before the next turn after the idle threshold. - Do not prune high-salience memories just because retention is low. Sleep should rehearse those memories instead.
- Do not assume a recalled memory is current truth. Use it as context, then verify live state when the fact can drift.
- Do not hardcode
~/.hermesin instructions or code. The plugin is profile-aware throughHERMES_HOME. - Do not use this skill when
memory.provideris set to another provider unless the user is switching toebbinghaus. - If
stats,sleep, ordecayfails withcould not convert string to float: '<ISO timestamp>', treat it as a timestamp schema drift issue: back up the SQLite DB, convert ISO-8601 timestamp strings increated_at,updated_at,last_rehearsed_at, andlast_retrieved_atto Unix epoch seconds, then harden the provider to parse both numeric and ISO values. Seereferences/iso-timestamp-repair.md.
Verification
ebbinghaus_memoryappears in the active tool list.{"action":"stats"}returns a valid JSON object.rememberfollowed byrecallreturns the stored content.- A sleep pass returns
mode: "sleep_cycle"withrehearsed,forgotten, andprunedarrays. - Idle sleep is configured under
memory.sleepif the user expects automatic agent sleep.
04 同仓库更多 Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
serving-llms-vllm
vLLM: high-throughput LLM serving, OpenAI API, quantization.