Forgetting Curve for Openclaw

An independent Ebbinghaus forgetting curve module providing standardized memory decay calculations and spaced repetition scheduling for AI agents.

whoisme007
v1.0.0
Mar 18, 2026
0
807
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install forgetting-curve

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install forgetting-curve using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Forgetting Curve?

The Forgetting Curve skill is a robust implementation of the Ebbinghaus forgetting curve, designed to help developers manage information retention within the Openclaw Skills ecosystem. It provides standardized calculations for memory decay and strength, allowing AI agents to simulate cognitive processes by prioritizing knowledge based on its age and relevance. By integrating this module, you can move beyond static data retrieval and create dynamic, human-like memory systems that recognize when information needs to be refreshed or phased out.

Forgetting Curve Use Cases

  • Simulating human-like memory decay in AI personal assistants to prioritize recent or important information.
  • Implementing Spaced Repetition Systems (SRS) for AI-driven language learning or educational platforms.
  • Optimizing RAG (Retrieval-Augmented Generation) pipelines by weighting retrieved documents based on their calculated memory strength.
  • Managing long-term memory in autonomous agents by identifying and pruning stale data through standardized decay models.

How Forgetting Curve Works

  1. Initialize the module with specific parameters such as half-life (defaulting to 30 days) and initial memory strength.
  2. Calculate the decay factor by comparing the current timestamp against the last interaction date (age in days).
  3. Apply the decay function (Exponential or Power Law) to the original memory strength to determine its current value.
  4. Utilize the Spaced Repetition Scheduler to determine the optimal next review interval based on current strength and historical success factors.
  5. Batch process large memory sets to update the global state of the agent's knowledge base efficiently.

Forgetting Curve Setup

To install the module as part of your local environment, use pip:

pip install -e .

Alternatively, for developers utilizing the Openclaw Skills registry via ClawHub, you can install it directly:

clawhub install forgetting-curve

Forgetting Curve Data Schema & Taxonomy

The Forgetting Curve skill manages memory metadata through a structured set of configurable parameters:

Parameter Type Default Description
half_life_days float 30.0 The time required for memory strength to reduce by 50%.
initial_strength float 1.0 The starting strength value (0.0 to 1.0) assigned to new memories.
base_interval float 1.0 The baseline interval in days for the first repetition cycle.
strength_factor float 1.5 The multiplier used to calculate increasing intervals in the SRS cycle.
minimum_strength float 0.1 The threshold below which a memory is considered forgotten.

Forgetting Curve Advanced Features

  • Support for multiple decay models including Ebbinghaus exponential decay and Power Law decay.
  • Customizable decay functions for domain-specific memory behavior (e.g., shorter half-lives for temporary task data).
  • Multi-tier memory system support, allowing separate curves for Short-Term Memory (STM) and Long-Term Memory (LTM).
  • High-performance batch processing capable of calculating 10,000 decay states in approximately 5ms.
  • Integration hooks for popular frameworks like CortexGraph and Memory Sync Enhanced.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*