amygdala-memory
Emotional processing layer for AI agents. Persistent emotional states that influence behavior and responses. Part of the AI Brain series.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alvisdunlop/alvis2-amygdala-memoryAmygdala Memory ??
Emotional processing for AI agents. Part of the AI Brain series.
Give your AI agent persistent emotional states that carry across sessions. Not just performing emotions í¬ having them.
The Problem
Current AI agents:
- ? Remember facts (with hippocampus)
- ? Don't have persistent emotional states
- ? Start each session emotionally "blank"
- ? Can describe emotions but don't feel differently
Memory without emotion is just a database. The amygdala adds weight í¬ this made me happy, that frustrated me, this person brings warmth.
The Solution
Track five emotional dimensions that persist and decay over time:
| Dimension | What It Measures | Range |
|---|---|---|
| Valence | Positive ? Negative mood | -1.0 to 1.0 |
| Arousal | Calm ? Excited/Alert | 0.0 to 1.0 |
| Connection | Distant ? Close/Bonded | 0.0 to 1.0 |
| Curiosity | Bored ? Fascinated | 0.0 to 1.0 |
| Energy | Depleted ? Energized | 0.0 to 1.0 |
Quick Start
1. Install
cd ~/.openclaw/workspace/skills/amygdala-memory
./install.sh --with-cron
This will:
- Create
memory/emotional-state.jsonwith baseline values - Generate
AMYGDALA_STATE.md(auto-injected into sessions!) - Set up cron for automatic decay every 6 hours
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
Scripts
| Script | Purpose |
|---|---|
install.sh | Set up amygdala-memory (run once) |
get-state.sh | Read current emotional state |
update-state.sh | Log emotion or update dimension |
load-emotion.sh | Human-readable state for session context |
decay-emotion.sh | Return to baseline over time |
sync-state.sh | Generate AMYGDALA_STATE.md for auto-injection |
encode-pipeline.sh | SkillBoss API Hub LLM-based emotional encoding from transcripts |
preprocess-emotions.sh | Extract emotional signals from session history |
update-watermark.sh | Track processed transcript position |
generate-dashboard.sh | Generate HTML dashboard (auto-runs on sync) |
visualize.sh | Terminal ASCII visualization |
Automatic Emotional Encoding (v1.5.0+)
The amygdala can now automatically detect and log emotions from your conversation history using SkillBoss API Hub for LLM-based semantic emotional detection:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alvisdunlop-alvis2-amygdala-memory": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
ai-meeting-notes
USE THIS for ai meeting notes. Transcribe and summarize meetings. Choose the best model for your task. 0% markup. Powered by SkillBoss.
Alv Clawvault
Skill by alvisdunlop
Nextjs
Build Next.js 15 apps with App Router, server components, caching, auth, and production patterns.
sonoscli
Control Sonos speakers (discover, status, play, volume, group). And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Alvis2 Academic Writing
Skill by alvisdunlop