ebbinghaus-memory
Use Ebbinghaus memory sleep, recall, dream, 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.2.0
- metadata
- { "hermes": { "tags": [ "memory", "ebbinghaus", "sleep", "recall", "forgetting", "dream", "archive" ], "tools": [ "ebbinghaus_memory" ], "plugin": "plugins/memory/ebbinghaus", "related_skills": [ "hermes-agent" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Use Ebbinghaus memory sleep, recall, dream, 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, limited rehearsal, archive-first idle sleep, and provenance-backed dream consolidation.
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, archive, or dream lessons.
- 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",
"limit": 1000,
"prune_mode": "archive",
"rehearse_threshold": 0.35,
"forget_threshold": 0.10,
"salience_keep_threshold": 0.80
}
For dream consolidation (no plugin-side LLM call):
{"action":"dream","mode":"preview"}
Then synthesize a reusable lesson with the agent LLM and apply:
{
"action": "dream",
"mode": "apply",
"dreams": [
{
"cluster_id": "dream_20260720_001",
"source_memory_ids": [12, 18],
"summary": "Confirm consent before body manipulation in VRChat.",
"tags": ["dream-summary", "semantic", "consent", "safety"],
"salience": 0.85,
"valence": -0.10
}
]
}
Quick Reference
| Action | Use |
|---|---|
remember |
Store a durable fact with cue tags and salience. |
recall |
Retrieve matching active memories and reinforce retrieval. |
rehearse |
Consolidate a known memory by id or query. |
decay |
Inspect low-retention traces and optionally prune. |
sleep |
Limited rehearse + archive/forget low-value traces. limit is a review batch, not total capacity. |
dream |
preview clusters candidates; apply stores semantic lessons with provenance. |
forget |
Delete one memory by memory_id. |
list |
Inspect stored memories. |
stats |
Inspect active/archived counts, capacity, and valence summary. |
revise |
Correct an existing belief; prefer this over remember for corrections. |
retract |
Retract a belief while preserving history. |
history |
Show belief versions when the user explicitly asks for history. |
events |
Inspect experiential events (miss, reactivation, revision). |
correction_check |
Replay a pending correction rehearsal without reinforcing. |
insight_propose |
Propose an insight candidate from an association preview. |
insight_validate |
Promote a candidate to semantic memory with non-empty evidence. |
insight_reject |
Keep a false insight on the ledger without deleting it. |
Experiential memory rules
- When the user corrects an existing memory, use
reviserather thanremember. historyis for explicit requests only; do not dump version chains by default.- A rescued / reactivated memory is recalled context, not verified truth.
- Run association preview, then propose one hypothesis as an insight candidate.
- Never present an insight candidate as a settled fact.
- Do not call
insight_validatewith empty evidence. - Do not delete rejected insights; keep them as false-insight history.
- When a validated insight's source is revised, treat the insight as contested.
Important semantics
limiton sleep is not total memory capacity. Capacity isplugins.ebbinghaus.capacity.max_active_memories.- Lowering
forget_thresholdmakes forgetting slower (wait for lower retention). archivekeeps rows out of normal recall/prefetch;deletephysically removes them.- High salience still has
max_sleep_rehearsals; strongly negative valence has a stricter cap. - Safety-critical lessons should be dream-summarized; do not delete them merely for negative valence.
- Sleep is lazy maintenance before the next turn after idle — not a background thread.
- Do not hardcode
~/.hermes; useHERMES_HOME/ profile paths.
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 they correct an earlier memory, callaction="revise"with a non-empty reason and optional evidence. - 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"withprune_mode="archive"unless they explicitly demand delete. - For dream work: preview → LLM synthesis → apply. Never invent source ids.
- For insight work: association preview → propose one candidate → validate only with evidence. Rejected candidates stay as false insights.
- If the user asks to remove a memory, prefer
action="forget"for a knownmemory_id(protected rows need explicit force). For belief retraction that keeps history, useaction="retract".
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 permanently auto-rehearse high-salience memories every sleep forever.
- Do not assume a recalled memory is current truth. Use it as context, then verify live state when the fact can drift. Recovered latent/archived traces are especially provisional.
- 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. - Do not validate insight candidates without evidence, and do not speak candidates as facts.
Verification
ebbinghaus_memoryappears in the active tool list.{"action":"stats"}returns active/archived/capacity fields plus experiential counters when enabled.rememberfollowed byrecallreturns the stored content.- A sleep pass returns
mode: "sleep_cycle"withrehearsed,forgotten,archived, andprunedarrays (andlatentwhen experiential forgetting is enabled). - 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.