🦀 ClawHub
Amygdala Memory
by @alvisdunlop
Emotional processing layer for AI agents. Persistent emotional states that influence behavior and responses. Part of the AI Brain series.
💡 Examples
1. Install
cd ~/.openclaw/workspace/skills/amygdala-memory
./install.sh --with-cron
This will:
memory/emotional-state.json with baseline valuesAMYGDALA_STATE.md (auto-injected into sessions!)2. Check current state
./scripts/get-state.sh
?? Emotional State
Valence: 0.20
Arousal: 0.30
Connection: 0.50
...
./scripts/load-emotion.sh
?? Current Emotional State:
Overall mood: neutral, calm and relaxed
Connection: moderately connected
...
3. Log emotions
./scripts/update-state.sh --emotion joy --intensity 0.8 --trigger "completed a project"
? valence: 0.20 �� 0.35 (delta: +0.15)
? arousal: 0.30 �� 0.40 (delta: +0.1)
?? Logged emotion: joy (intensity: 0.8)
4. Set up decay (optional cron)
# Every 6 hours, emotions drift toward baseline
0 */6 * * * ~/.openclaw/workspace/skills/amygdala-memory/scripts/decay-emotion.sh
TERMINAL
clawhub install alvis2-amygdala-memory