An adaptive memory system for AI agents that uses Hebbian learning principles to reinforce or atrophy work patterns based on real-world usage.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install firm-hebbian-memory
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install firm-hebbian-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Firm Hebbian Memory is a sophisticated architectural layer designed to make AI agent configurations, specifically those following the Claude.md standard, self-evolving and dynamic. By utilizing Openclaw Skills, this system implements mechanisms inspired by synaptic plasticity, where frequently used patterns (co-activation) are strengthened while obsolete instructions naturally atrophy over time. It effectively bridges the gap between episodic session logs and a consolidated core knowledge base.
The system operates across a four-layer architecture, ranging from immutable core rules to episodic indexes. This ensures that the agent's behavior remains consistent with human intent while benefiting from the efficiency of automated pattern recognition. It transforms raw session data into a structured, weighted memory graph that evolves with the user's workflow.
To integrate this system into your workflow, first ensure your environment meets the requirements for Openclaw Skills. Then, configure the post-session hook:
# Create the hook directory
mkdir -p ~/.openclaw/hooks/
# Set up the post-session harvest script
cat <<EOF > ~/.openclaw/hooks/post-session.sh
#!/bin/bash
SESSION_LOG="\$(ls -t ~/.openclaw/sessions/*.jsonl | head -1)"
curl -s -X POST http://localhost:8012/mcp \\
-H "Content-Type: application/json" \\
-d "{\"method\": \"tools/call\", \"params\": {\"name\": \"openclaw_hebbian_harvest\", \"arguments\": {\"session_jsonl_path\": \"\$SESSION_LOG\"}}}"
EOF
chmod +x ~/.openclaw/hooks/post-session.sh
The memory system organizes data into four distinct layers to ensure stability and auditability:
| Layer | Name | Description |
|---|---|---|
| Layer 1 | CORE | Immutable rules modified only by humans. |
| Layer 2 | CONSOLIDATED | Auto-updated patterns based on Hebbian weights. |
| Layer 3 | EPISODIC | Vectorized session pointers and raw logs. |
| Layer 4 | META | System-level instructions for the memory engine. |
Weights are managed between 0.0 (deletion) and 0.95 (maximum strength). Any transition to Layer 1 requires a manual Git commit and human approval.
Loading
A comprehensive security auditing suite designed to harden authentication and validate credential integrity within OpenClaw gateways.

A comprehensive orchestration suite for managing, monitoring, and scaling multiple gateway instances simultaneously.

A comprehensive sector bundle for fintech startups that automates finance, legal, and engineering workflows through specialized AI agents.

A comprehensive suite of auditing tools designed to secure and optimize the operational ecosystem of AI agents.

A specialized tool for scanning locale files and detecting missing translation keys or structural inconsistencies.

A specialized sector bundle that activates a multi-agent pyramid for legal document review, regulatory tracking, and enterprise compliance.








































